Class SemanticRetrieverChunk
- Namespace
- GenerativeAI.Types
- Assembly
- GenerativeAI.dll
Identifier for a Chunk retrieved via Semantic Retriever specified in the GenerateAnswerRequest using SemanticRetrieverConfig.
public class SemanticRetrieverChunk
- Inheritance
-
SemanticRetrieverChunk
- Inherited Members
- Extension Methods
Properties
Chunk
Output only. Name of the Chunk containing the attributed text.
Example: corpora/123/documents/abc/chunks/xyz
[JsonPropertyName("chunk")]
public string? Chunk { get; set; }
Property Value
Source
Output only. Name of the source matching the request's SemanticRetrieverConfig.source.
Example: corpora/123 or corpora/123/documents/abc
[JsonPropertyName("source")]
public string? Source { get; set; }