RetrieveAndGenerate - Amazon Bedrock

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.