UGemini 2.0.1
A C# wrapper for the Google Gemini API.
Loading...
Searching...
No Matches
Uralstech.UGemini.Models.Generation.QuestionAnswering.SemanticRetriever.GeminiSemanticRetrieverConfig Class Reference

Configuration for retrieving grounding content from a Corpus or Document created using the Semantic Retriever API. More...

Public Attributes

string Source
 Name of the resource for retrieval, e.g. corpora/123 or corpora/123/documents/abc.
 
GeminiContent Query
 Query to use for similarity matching Chunks in the given resource.
 
GeminiMetadataFilter[] MetadataFilters = null
 Filters for selecting Documents and/or Chunks from the resource.
 
int MaxChunksCount = -1
 Maximum number of relevant Chunks to retrieve.
 
float MinimumRelevanceScore = -1f
 Minimum relevance score for retrieved relevant Chunks.
 

Detailed Description

Configuration for retrieving grounding content from a Corpus or Document created using the Semantic Retriever API.


The documentation for this class was generated from the following file: