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

User provided filter to limit retrieval based on Chunk or Document level metadata values. More...

Public Attributes

string Key
 The key of the metadata to filter on.
 
GeminiMetadataCondition[] Conditions
 The Conditions for the given key that will trigger this filter. Multiple Conditions are joined by logical ORs.
 

Detailed Description

User provided filter to limit retrieval based on Chunk or Document level metadata values.

Example (genre = drama OR genre = action): key = "document.custom_metadata.genre" conditions = [{stringValue = "drama", operation = EQUAL}, {stringValue = "action", operation = EQUAL}]


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