Interface Retrieval (1.8.0)

Defines a retrieval tool that model can call to access external knowledge.

Package

@google-cloud/vertexai

Properties

disableAttribution

disableAttribution?: boolean;

Optional. Disable using the result from this tool in detecting grounding attribution. This does not affect how the result is given to the model for generation.

vertexAiSearch

vertexAiSearch?: VertexAISearch;

Optional. Set to use data source powered by Vertex AI Search. VertexAISearch.

vertexRagStore

vertexRagStore?: VertexRagStore;

Optional. Set to use data source powered by Vertex RAG store.