Associate a knowledge base with an Amazon Bedrock agent
If you haven't yet created a knowledge base, see Knowledge bases for Amazon Bedrock to learn about knowledge bases and create one. You can associate a knowledge base during agent creation or after an agent has been created. To associate a knowledge base to an existing agent, select the tab corresponding to your method of choice and follow the steps.
You can modify the query configurations of a knowledge base attached to your agent by using the sessionState
field in the InvokeAgent request when you invoke your agent. For more information, see Control session context.