bedrockagentruntime_retrieve_and_generate function

Queries a knowledge base and generates responses based on the retrieved results and using the specified foundation model or inference profile