GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1VertexRagStore (google_api_ai_platform v0.27.0)
View SourceRetrieve from Vertex RAG Store for grounding.
Attributes
-
ragResources
(type:list(GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1VertexRagStoreRagResource.t)
, default:nil
) - 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. -
ragRetrievalConfig
(type:GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1RagRetrievalConfig.t
, default:nil
) - Optional. The retrieval config for the Rag query. -
similarityTopK
(type:integer()
, default:nil
) - Optional. Number of top k results to return from the selected corpora. -
vectorDistanceThreshold
(type:float()
, default:nil
) - Optional. Only return results with vector distance smaller than the threshold.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1VertexRagStore{ ragResources: [ GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1VertexRagStoreRagResource.t() ] | nil, ragRetrievalConfig: GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1RagRetrievalConfig.t() | nil, similarityTopK: integer() | nil, vectorDistanceThreshold: float() | nil }