Class Condition
- Namespace
- GenerativeAI.Types
- Assembly
- GenerativeAI.dll
Filter condition applicable to a single key.
public class Condition
- Inheritance
-
Condition
- Inherited Members
- Extension Methods
Properties
NumericValue
The numeric value to filter the metadata on.
[JsonPropertyName("numericValue")]
public double? NumericValue { get; set; }
Property Value
Operation
Required. Operator applied to the given key-value pair to trigger the condition.
[JsonPropertyName("operation")]
public Operator Operation { get; set; }
Property Value
StringValue
The string value to filter the metadata on.
[JsonPropertyName("stringValue")]
public string? StringValue { get; set; }