Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

GoogleCloudAiplatformV1VertexRagStore

import type { GoogleCloudAiplatformV1VertexRagStore } from "https://googleapis.deno.dev/v1/aiplatform:v1.ts";

Retrieve from Vertex RAG Store for grounding.

interface GoogleCloudAiplatformV1VertexRagStore {
similarityTopK?: number;
vectorDistanceThreshold?: number;
}

§Properties

§

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.

§

Optional. The retrieval config for the Rag query.

§
similarityTopK?: number
[src]

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

§
vectorDistanceThreshold?: number
[src]

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