Class GoogleCloudAiplatformV1beta1Fact
The fact used in grounding.
Implements
Inherited Members
Namespace: Google.Apis.Aiplatform.v1beta1.Data
Assembly: Google.Apis.Aiplatform.v1beta1.dll
Syntax
public class GoogleCloudAiplatformV1beta1Fact : IDirectResponseSchemaProperties
Chunk
If present, chunk properties.
Declaration
[JsonProperty("chunk")]
public virtual GoogleCloudAiplatformV1beta1RagChunk Chunk { get; set; }Property Value
| Type | Description | 
|---|---|
| GoogleCloudAiplatformV1beta1RagChunk | 
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }Property Value
| Type | Description | 
|---|---|
| string | 
Query
Query that is used to retrieve this fact.
Declaration
[JsonProperty("query")]
public virtual string Query { get; set; }Property Value
| Type | Description | 
|---|---|
| string | 
Score
If present, 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 fact 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 fact. The larger the distance, the less relevant the fact is to the query. The range is [0, 2], while 0 means the most relevant and 2 means the least relevant.
Declaration
[JsonProperty("score")]
public virtual double? Score { get; set; }Property Value
| Type | Description | 
|---|---|
| double? | 
Summary
If present, the summary/snippet of the fact.
Declaration
[JsonProperty("summary")]
public virtual string Summary { get; set; }Property Value
| Type | Description | 
|---|---|
| string | 
Title
If present, it refers to the title of this fact.
Declaration
[JsonProperty("title")]
public virtual string Title { get; set; }Property Value
| Type | Description | 
|---|---|
| string | 
Uri
If present, this uri links to the source of the fact.
Declaration
[JsonProperty("uri")]
public virtual string Uri { get; set; }Property Value
| Type | Description | 
|---|---|
| string | 
VectorDistance
If present, the distance between the query vector and this fact vector.
Declaration
[JsonProperty("vectorDistance")]
public virtual double? VectorDistance { get; set; }Property Value
| Type | Description | 
|---|---|
| double? |