Class VertexRagStore (1.52.0)

VertexRagStore(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Attributes

Name Description
rag_corpora MutableSequence[str]
Optional. Deprecated. Please use rag_resources instead.
rag_resources MutableSequence[google.cloud.aiplatform_v1beta1.types.VertexRagStore.RagResource]
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.
similarity_top_k int
Optional. Number of top k results to return from the selected corpora. This field is a member of oneof_ _similarity_top_k.
vector_distance_threshold float
Optional. Only return results with vector distance smaller than the threshold. This field is a member of oneof_ _vector_distance_threshold.

Classes

RagResource

RagResource(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The definition of the Rag resource.

Methods

VertexRagStore

VertexRagStore(mapping=None, *, ignore_unknown_fields=False, **kwargs)