public static interface RagRetrievalConfig.FilterOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getMetadataFilter()
Optional.
|
com.google.protobuf.ByteString |
getMetadataFilterBytes()
Optional.
|
RagRetrievalConfig.Filter.VectorDbThresholdCase |
getVectorDbThresholdCase() |
double |
getVectorDistanceThreshold()
Optional.
|
double |
getVectorSimilarityThreshold()
Optional.
|
boolean |
hasVectorDistanceThreshold()
Optional.
|
boolean |
hasVectorSimilarityThreshold()
Optional.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasVectorDistanceThreshold()
Optional. Only returns contexts with vector distance smaller than the threshold.
double vector_distance_threshold = 3 [(.google.api.field_behavior) = OPTIONAL];double getVectorDistanceThreshold()
Optional. Only returns contexts with vector distance smaller than the threshold.
double vector_distance_threshold = 3 [(.google.api.field_behavior) = OPTIONAL];boolean hasVectorSimilarityThreshold()
Optional. Only returns contexts with vector similarity larger than the threshold.
double vector_similarity_threshold = 4 [(.google.api.field_behavior) = OPTIONAL];
double getVectorSimilarityThreshold()
Optional. Only returns contexts with vector similarity larger than the threshold.
double vector_similarity_threshold = 4 [(.google.api.field_behavior) = OPTIONAL];
String getMetadataFilter()
Optional. String for metadata filtering.
string metadata_filter = 2 [(.google.api.field_behavior) = OPTIONAL];com.google.protobuf.ByteString getMetadataFilterBytes()
Optional. String for metadata filtering.
string metadata_filter = 2 [(.google.api.field_behavior) = OPTIONAL];RagRetrievalConfig.Filter.VectorDbThresholdCase getVectorDbThresholdCase()
Copyright © 2025 Google LLC. All rights reserved.