View information about an agent-knowledge base association
To learn how to view information about a knowledge base, choose the tab for your preferred method, and then follow the steps:
- Console
-
To view information about a knowledge base that's associated with an agent
-
Sign in to the AWS Management Console using an IAM role with Amazon Bedrock permissions, and open the Amazon Bedrock console at https://console.aws.amazon.com/bedrock/
. -
Select Agents from the left navigation pane. Then, choose an agent in the Agents section.
-
Choose Edit in Agent builder
-
In the Knowledge bases section, select the knowledge base for which you want to view information.
-
- API
-
To get information about a knowledge base associated with an agent, send a GetAgentKnowledgeBase request with an Agents for Amazon Bedrock build-time endpoint. Specify the following fields:
To list information about the knowledge bases associated with an agent, send a ListAgentKnowledgeBases request with an Agents for Amazon Bedrock build-time endpoint. Specify the
agentId
andagentVersion
for which you want to see associated knowledge bases.Field Short description maxResults The maximum number of results to return in a response. nextToken If there are more results than the number you specified in the maxResults
field, the response returns anextToken
value. To see the next batch of results, send thenextToken
value in another request.