Package com.google.cloud.aiplatform.v1
Interface RetrieveContextsRequest.VertexRagStoreOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RetrieveContextsRequest.VertexRagStore,RetrieveContextsRequest.VertexRagStore.Builder
- Enclosing class:
- RetrieveContextsRequest
public static interface RetrieveContextsRequest.VertexRagStoreOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetRagResources(int index) Optional.intOptional.Optional.getRagResourcesOrBuilder(int index) Optional.Optional.doubleDeprecated.google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.vector_distance_threshold is deprecated.booleanDeprecated.google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.vector_distance_threshold is deprecated.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getRagResourcesList
List<RetrieveContextsRequest.VertexRagStore.RagResource> getRagResourcesList()Optional. The representation of the rag source. It can be used to specify corpus only or ragfiles. Currently only support one corpus or multiple files from one corpus. In the future we may open up multiple corpora support.
repeated .google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.RagResource rag_resources = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getRagResources
Optional. The representation of the rag source. It can be used to specify corpus only or ragfiles. Currently only support one corpus or multiple files from one corpus. In the future we may open up multiple corpora support.
repeated .google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.RagResource rag_resources = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getRagResourcesCount
int getRagResourcesCount()Optional. The representation of the rag source. It can be used to specify corpus only or ragfiles. Currently only support one corpus or multiple files from one corpus. In the future we may open up multiple corpora support.
repeated .google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.RagResource rag_resources = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getRagResourcesOrBuilderList
List<? extends RetrieveContextsRequest.VertexRagStore.RagResourceOrBuilder> getRagResourcesOrBuilderList()Optional. The representation of the rag source. It can be used to specify corpus only or ragfiles. Currently only support one corpus or multiple files from one corpus. In the future we may open up multiple corpora support.
repeated .google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.RagResource rag_resources = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getRagResourcesOrBuilder
Optional. The representation of the rag source. It can be used to specify corpus only or ragfiles. Currently only support one corpus or multiple files from one corpus. In the future we may open up multiple corpora support.
repeated .google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.RagResource rag_resources = 3 [(.google.api.field_behavior) = OPTIONAL]; -
hasVectorDistanceThreshold
Deprecated.google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.vector_distance_threshold is deprecated. See google/cloud/aiplatform/v1/vertex_rag_service.proto;l=143Optional. Only return contexts with vector distance smaller than the threshold.
optional double vector_distance_threshold = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the vectorDistanceThreshold field is set.
-
getVectorDistanceThreshold
Deprecated.google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.vector_distance_threshold is deprecated. See google/cloud/aiplatform/v1/vertex_rag_service.proto;l=143Optional. Only return contexts with vector distance smaller than the threshold.
optional double vector_distance_threshold = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];- Returns:
- The vectorDistanceThreshold.
-