retrieveAndGenerate
abstract suspend fun retrieveAndGenerate(input: RetrieveAndGenerateRequest): RetrieveAndGenerateResponse
Queries a knowledge base and generates responses based on the retrieved results and using the specified foundation model or inference profile. The response only cites sources that are relevant to the query.