GoogleCloudAiplatformV1VertexRagStore
import type { GoogleCloudAiplatformV1VertexRagStore } from "https://googleapis.deno.dev/v1/aiplatform:v1.ts";
Retrieve from Vertex RAG Store for grounding.
interface GoogleCloudAiplatformV1VertexRagStore {
ragResources?: GoogleCloudAiplatformV1VertexRagStoreRagResource[];
ragRetrievalConfig?: GoogleCloudAiplatformV1RagRetrievalConfig;
similarityTopK?: number;
vectorDistanceThreshold?: number;
}§Properties
§
ragResources?: GoogleCloudAiplatformV1VertexRagStoreRagResource[]
[src]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?: GoogleCloudAiplatformV1RagRetrievalConfig
[src]Optional. The retrieval config for the Rag query.