UGemini 2.0.1
A C# wrapper for the Google Gemini API.
|
Filter condition applicable to a single key. More...
Public Attributes | |
GeminiMetadataConditionOperator | Operation |
Operator applied to the given key-value pair to trigger the condition. | |
string | StringValue = null |
The string value to filter the metadata on. | |
float? | NumericValue = null |
The numeric value to filter the metadata on. | |
Filter condition applicable to a single key.
float? Uralstech.UGemini.Models.Generation.QuestionAnswering.SemanticRetriever.GeminiMetadataCondition.NumericValue = null |
The numeric value to filter the metadata on.
If this is provided, DO NOT provide StringValue.
The value type must be consistent with the value type defined in the field for the corresponding key.
If the value types are not consistent, the result will be an empty set. When the CustomMetadata has a
StringList value type, the filtering condition should use StringValue paired
with an GeminiMetadataConditionOperator.Includes/GeminiMetadataConditionOperator.Excludes
operation, otherwise the result will also be an empty set.
string Uralstech.UGemini.Models.Generation.QuestionAnswering.SemanticRetriever.GeminiMetadataCondition.StringValue = null |
The string value to filter the metadata on.
If this is provided, DO NOT provide NumericValue.
The value type must be consistent with the value type defined in the field for the corresponding key.
If the value types are not consistent, the result will be an empty set. When the CustomMetadata has a
StringList value type, the filtering condition should use StringValue paired
with an GeminiMetadataConditionOperator.Includes/GeminiMetadataConditionOperator.Excludes
operation, otherwise the result will also be an empty set.