Package com.openai.models.vectorstores
Interface VectorStoreSearchParams.Filters.Visitor
-
- All Implemented Interfaces:
public interface VectorStoreSearchParams.Filters.Visitor<T extends Object>
-
-
Method Summary
Modifier and Type Method Description abstract TvisitComparisonFilter(ComparisonFilter comparisonFilter)A filter used to compare a specified attribute key to a given value using a defined comparison operation. abstract TvisitCompoundFilter(CompoundFilter compoundFilter)Combine multiple filters using andoror.Tunknown(JsonValue json)Maps an unknown variant of Filters to a value of type T. -
-
Method Detail
-
visitComparisonFilter
abstract T visitComparisonFilter(ComparisonFilter comparisonFilter)
A filter used to compare a specified attribute key to a given value using a defined comparison operation.
-
visitCompoundFilter
abstract T visitCompoundFilter(CompoundFilter compoundFilter)
Combine multiple filters using
andoror.
-
unknown
T unknown(JsonValue json)
Maps an unknown variant of Filters to a value of type T.
An instance of Filters can contain an unknown variant if it was deserialized from data that doesn't match any known variant. For example, if the SDK is on an older version than the API, then the API may respond with new variants that the SDK is unaware of.
-
-
-
-