Cloud AI Platform v1 API - Class VertexRagStore (3.13.0)

public sealed class VertexRagStore : IMessage<VertexRagStore>, IEquatable<VertexRagStore>, IDeepCloneable<VertexRagStore>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud AI Platform v1 API class VertexRagStore.

Retrieve from Vertex RAG Store for grounding.

Inheritance

object > VertexRagStore

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

VertexRagStore()

public VertexRagStore()

VertexRagStore(VertexRagStore)

public VertexRagStore(VertexRagStore other)
Parameter
Name Description
other VertexRagStore

Properties

HasSimilarityTopK

[Obsolete]
public bool HasSimilarityTopK { get; }

Gets whether the "similarity_top_k" field is set

Property Value
Type Description
bool

HasVectorDistanceThreshold

[Obsolete]
public bool HasVectorDistanceThreshold { get; }

Gets whether the "vector_distance_threshold" field is set

Property Value
Type Description
bool

RagResources

public RepeatedField<VertexRagStore.Types.RagResource> RagResources { get; }

Optional. The representation of the rag source. It can be used to specify corpus only or ragfiles. Currently only support one corpus or multiple files from one corpus. In the future we may open up multiple corpora support.

Property Value
Type Description
RepeatedFieldVertexRagStoreTypesRagResource

RagRetrievalConfig

public RagRetrievalConfig RagRetrievalConfig { get; set; }

Optional. The retrieval config for the Rag query.

Property Value
Type Description
RagRetrievalConfig

SimilarityTopK

[Obsolete]
public int SimilarityTopK { get; set; }

Optional. Number of top k results to return from the selected corpora.

Property Value
Type Description
int

VectorDistanceThreshold

[Obsolete]
public double VectorDistanceThreshold { get; set; }

Optional. Only return results with vector distance smaller than the threshold.

Property Value
Type Description
double