# Retrieval

data class Retrieval(val vertexAiSearch: VertexAISearch? = null)

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

## Constructors

Retrieval
Link copied to clipboard
constructor(vertexAiSearch: VertexAISearch? = null)

## Properties

vertexAiSearch
Link copied to clipboard
val vertexAiSearch: VertexAISearch? = null

Set to use data source powered by Vertex AI Search.