public static interface RagContexts.ContextOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
double |
getDistance()
The distance between the query vector and the context text vector.
|
String |
getSourceUri()
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.
|
com.google.protobuf.ByteString |
getSourceUriBytes()
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.
|
String |
getText()
The text chunk.
|
com.google.protobuf.ByteString |
getTextBytes()
The text chunk.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getSourceUri()
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.
string source_uri = 1;com.google.protobuf.ByteString getSourceUriBytes()
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.
string source_uri = 1;String getText()
The text chunk.
string text = 2;com.google.protobuf.ByteString getTextBytes()
The text chunk.
string text = 2;double getDistance()
The distance between the query vector and the context text vector.
double distance = 3;Copyright © 2024 Google LLC. All rights reserved.