| Package | Description |
|---|---|
| com.google.cloud.aiplatform.v1beta1 |
| Modifier and Type | Method and Description |
|---|---|
RagContexts.Context.Builder |
RagContexts.Builder.addContextsBuilder()
All its contexts.
|
RagContexts.Context.Builder |
RagContexts.Builder.addContextsBuilder(int index)
All its contexts.
|
RagContexts.Context.Builder |
RagContexts.Context.Builder.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RagContexts.Context.Builder |
RagContexts.Context.Builder.clear() |
RagContexts.Context.Builder |
RagContexts.Context.Builder.clearDistance()
Deprecated.
google.cloud.aiplatform.v1beta1.RagContexts.Context.distance is deprecated. See
google/cloud/aiplatform/v1beta1/vertex_rag_service.proto;l=181
|
RagContexts.Context.Builder |
RagContexts.Context.Builder.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RagContexts.Context.Builder |
RagContexts.Context.Builder.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RagContexts.Context.Builder |
RagContexts.Context.Builder.clearScore()
According to the underlying Vector DB and the selected metric type, the
score can be either the distance or the similarity between the query and
the context and its range depends on the metric type.
|
RagContexts.Context.Builder |
RagContexts.Context.Builder.clearSourceDisplayName()
The file display name.
|
RagContexts.Context.Builder |
RagContexts.Context.Builder.clearSourceUri()
If the file is imported from Cloud Storage or Google Drive, source_uri
will be original file URI in Cloud Storage or Google Drive; if file is
uploaded, source_uri will be file display name.
|
RagContexts.Context.Builder |
RagContexts.Context.Builder.clearSparseDistance()
Deprecated.
google.cloud.aiplatform.v1beta1.RagContexts.Context.sparse_distance is
deprecated. See google/cloud/aiplatform/v1beta1/vertex_rag_service.proto;l=185
|
RagContexts.Context.Builder |
RagContexts.Context.Builder.clearText()
The text chunk.
|
RagContexts.Context.Builder |
RagContexts.Context.Builder.clone() |
RagContexts.Context.Builder |
RagContexts.Builder.getContextsBuilder(int index)
All its contexts.
|
RagContexts.Context.Builder |
RagContexts.Context.Builder.mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RagContexts.Context.Builder |
RagContexts.Context.Builder.mergeFrom(com.google.protobuf.Message other) |
RagContexts.Context.Builder |
RagContexts.Context.Builder.mergeFrom(RagContexts.Context other) |
RagContexts.Context.Builder |
RagContexts.Context.Builder.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
static RagContexts.Context.Builder |
RagContexts.Context.newBuilder() |
static RagContexts.Context.Builder |
RagContexts.Context.newBuilder(RagContexts.Context prototype) |
RagContexts.Context.Builder |
RagContexts.Context.newBuilderForType() |
protected RagContexts.Context.Builder |
RagContexts.Context.newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
RagContexts.Context.Builder |
RagContexts.Context.Builder.setDistance(double value)
Deprecated.
google.cloud.aiplatform.v1beta1.RagContexts.Context.distance is deprecated. See
google/cloud/aiplatform/v1beta1/vertex_rag_service.proto;l=181
|
RagContexts.Context.Builder |
RagContexts.Context.Builder.setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RagContexts.Context.Builder |
RagContexts.Context.Builder.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RagContexts.Context.Builder |
RagContexts.Context.Builder.setScore(double value)
According to the underlying Vector DB and the selected metric type, the
score can be either the distance or the similarity between the query and
the context and its range depends on the metric type.
|
RagContexts.Context.Builder |
RagContexts.Context.Builder.setSourceDisplayName(String value)
The file display name.
|
RagContexts.Context.Builder |
RagContexts.Context.Builder.setSourceDisplayNameBytes(com.google.protobuf.ByteString value)
The file display name.
|
RagContexts.Context.Builder |
RagContexts.Context.Builder.setSourceUri(String value)
If the file is imported from Cloud Storage or Google Drive, source_uri
will be original file URI in Cloud Storage or Google Drive; if file is
uploaded, source_uri will be file display name.
|
RagContexts.Context.Builder |
RagContexts.Context.Builder.setSourceUriBytes(com.google.protobuf.ByteString value)
If the file is imported from Cloud Storage or Google Drive, source_uri
will be original file URI in Cloud Storage or Google Drive; if file is
uploaded, source_uri will be file display name.
|
RagContexts.Context.Builder |
RagContexts.Context.Builder.setSparseDistance(double value)
Deprecated.
google.cloud.aiplatform.v1beta1.RagContexts.Context.sparse_distance is
deprecated. See google/cloud/aiplatform/v1beta1/vertex_rag_service.proto;l=185
|
RagContexts.Context.Builder |
RagContexts.Context.Builder.setText(String value)
The text chunk.
|
RagContexts.Context.Builder |
RagContexts.Context.Builder.setTextBytes(com.google.protobuf.ByteString value)
The text chunk.
|
RagContexts.Context.Builder |
RagContexts.Context.Builder.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RagContexts.Context.Builder |
RagContexts.Context.toBuilder() |
| Modifier and Type | Method and Description |
|---|---|
List<RagContexts.Context.Builder> |
RagContexts.Builder.getContextsBuilderList()
All its contexts.
|
| Modifier and Type | Method and Description |
|---|---|
RagContexts.Builder |
RagContexts.Builder.addContexts(int index,
RagContexts.Context.Builder builderForValue)
All its contexts.
|
RagContexts.Builder |
RagContexts.Builder.addContexts(RagContexts.Context.Builder builderForValue)
All its contexts.
|
RagContexts.Builder |
RagContexts.Builder.setContexts(int index,
RagContexts.Context.Builder builderForValue)
All its contexts.
|
Copyright © 2025 Google LLC. All rights reserved.