Interface VertexRagStore

Retrieve from Vertex RAG Store for grounding.

interface VertexRagStore {
    ragCorpora?: string[];
    ragResources?: VertexRagStoreRagResource[];
    similarityTopK?: number;
    vectorDistanceThreshold?: number;
}

Properties

ragCorpora?: string[]

Optional. Deprecated. Please use rag_resources instead.

ragResources?: VertexRagStoreRagResource[]

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.

similarityTopK?: number

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

vectorDistanceThreshold?: number

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

MMNEPVFCICPMFPCPTTAAATR