| 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()
The distance between the query dense embedding vector and the context
text vector.
|
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.clearSourceUri()
For vertex RagStore, 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()
The distance between the query sparse embedding vector and the context
text vector.
|
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)
The distance between the query dense embedding vector and the context
text vector.
|
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.setSourceUri(String value)
For vertex RagStore, 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)
For vertex RagStore, 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)
The distance between the query sparse embedding vector and the context
text vector.
|
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 © 2024 Google LLC. All rights reserved.