Class GoogleCloudAiplatformV1beta1RagContextsContext
A context of the query.
Implements
Inherited Members
Namespace: Google.Apis.Aiplatform.v1beta1.Data
Assembly: Google.Apis.Aiplatform.v1beta1.dll
Syntax
public class GoogleCloudAiplatformV1beta1RagContextsContext : IDirectResponseSchema
Properties
Distance
The distance between the query dense embedding vector and the context text vector.
Declaration
[JsonProperty("distance")]
public virtual double? Distance { get; set; }
Property Value
Type | Description |
---|---|
double? |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
SourceUri
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.
Declaration
[JsonProperty("sourceUri")]
public virtual string SourceUri { get; set; }
Property Value
Type | Description |
---|---|
string |
SparseDistance
The distance between the query sparse embedding vector and the context text vector.
Declaration
[JsonProperty("sparseDistance")]
public virtual double? SparseDistance { get; set; }
Property Value
Type | Description |
---|---|
double? |
Text
The text chunk.
Declaration
[JsonProperty("text")]
public virtual string Text { get; set; }
Property Value
Type | Description |
---|---|
string |