CmdID / aws / aws bedrock-agent-runtime
aws bedrock-agent-runtime retrieve-and-generate
Queries a knowledge base and generates responses based on the retrieved results and using the specified foundation model or inference profile. AWS CLI reference
5 options Its page in the AWS CLI reference
Options
--inputContains the query to be made to the knowledge base.--retrieve-and-generate-configurationContains configurations for the knowledge base query and retrieval process.--session-configurationContains details about the session with the knowledge base.--session-idThe unique identifier of the session.--user-contextContains information about the user making the request.