public sealed class VertexRagStore : IMessage<VertexRagStore>, IEquatable<VertexRagStore>, IDeepCloneable<VertexRagStore>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud AI Platform v1beta1 API class VertexRagStore.
Retrieve from Vertex RAG Store for grounding.
Implements
IMessageVertexRagStore, IEquatableVertexRagStore, IDeepCloneableVertexRagStore, IBufferMessage, IMessageNamespace
Google.Cloud.AIPlatform.V1Beta1Assembly
Google.Cloud.AIPlatform.V1Beta1.dll
Constructors
VertexRagStore()
public VertexRagStore()
VertexRagStore(VertexRagStore)
public VertexRagStore(VertexRagStore other)
Parameter | |
---|---|
Name | Description |
other |
VertexRagStore |
Properties
HasSimilarityTopK
public bool HasSimilarityTopK { get; }
Gets whether the "similarity_top_k" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasVectorDistanceThreshold
public bool HasVectorDistanceThreshold { get; }
Gets whether the "vector_distance_threshold" field is set
Property Value | |
---|---|
Type | Description |
bool |
RagCorpora
[Obsolete]
public RepeatedField<string> RagCorpora { get; }
Optional. Deprecated. Please use rag_resources instead.
Property Value | |
---|---|
Type | Description |
RepeatedFieldstring |
RagCorporaAsRagCorpusNames
[Obsolete]
public ResourceNameList<RagCorpusName> RagCorporaAsRagCorpusNames { get; }
RagCorpusName-typed view over the RagCorpora resource name property.
Property Value | |
---|---|
Type | Description |
ResourceNameListRagCorpusName |
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 |
SimilarityTopK
public int SimilarityTopK { get; set; }
Optional. Number of top k results to return from the selected corpora.
Property Value | |
---|---|
Type | Description |
int |
VectorDistanceThreshold
public double VectorDistanceThreshold { get; set; }
Optional. Only return results with vector distance smaller than the threshold.
Property Value | |
---|---|
Type | Description |
double |