Deprecated.google.cloud.aiplatform.v1beta1.RagContexts.Context.distance is deprecated. See
google/cloud/aiplatform/v1beta1/vertex_rag_service.proto;l=181
The distance between the query dense embedding vector and the context
text vector.
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.
For example, if the metric type is COSINE_DISTANCE, it represents the
distance between the query and the context. The larger the distance, the
less relevant the context is to the query. The range is [0, 2], while 0
means the most relevant and 2 means the least relevant.
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.
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.
Deprecated.google.cloud.aiplatform.v1beta1.RagContexts.Context.sparse_distance is
deprecated. See google/cloud/aiplatform/v1beta1/vertex_rag_service.proto;l=185
The distance between the query sparse embedding vector and the context
text vector.
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.
For example, if the metric type is COSINE_DISTANCE, it represents the
distance between the query and the context. The larger the distance, the
less relevant the context is to the query. The range is [0, 2], while 0
means the most relevant and 2 means the least relevant.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]