Retrieval
@Serializable
Defines a retrieval tool that model can call to access external knowledge. This data type is not supported in Gemini API.
Constructors
Link copied to clipboard
constructor(disableAttribution: Boolean? = null, externalApi: ExternalApi? = null, vertexAiSearch: VertexAISearch? = null, vertexRagStore: VertexRagStore? = null)
Properties
Link copied to clipboard
Optional. Deprecated. This option is no longer supported.
Link copied to clipboard
Use data source powered by external API for grounding.
Link copied to clipboard
Set to use data source powered by Vertex AI Search.
Link copied to clipboard
Set to use data source powered by Vertex RAG store. User data is uploaded via the VertexRagDataService.