Interface VertexRagStore (1.9.0)

Package

@google-cloud/vertexai

Properties

ragResources

ragResources?: RagResource[];

Optional. List of corpora for retrieval. Currently only support one corpus or multiple files from one corpus. In the future we may open up multiple corpora support.

similarityTopK

similarityTopK?: number;

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

vectorDistanceThreshold

vectorDistanceThreshold?: number;

Optional. If set this field, results with vector distance smaller than this threshold will be returned.