1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
Hi Sohit,
Based on the error message, it seems the agent is unable to retrieve information from the knowledge base that was associated with it.
You can check below things:
- Verify that the knowledge base is deployed correctly and contains the expected data. You can use the GetKnowledgeBase API to check its status and contents.
- Verify that the knowledge base full sync is completed once.
- Confirm that the knowledge base is properly associated with the agent using the GetAgentKnowledgeBase API. Check that the association details like description are correct.
- Make sure the agent has the necessary IAM permissions to access the knowledge base. It needs permissions for actions like bedrock:Retrieve etc.
- Try re-associating the knowledge base with the agent or updating the association details using the AssociateAgentKnowledgeBase API.
- As a test, you can directly call the knowledge base APIs like “Retrieve” instead of going through the agent to narrow down if the issue is with agent-KB connection or the KB itself.
Below link details: [1] Manage agent-knowledge bases associations - Amazon Bedrock - https://docs.aws.amazon.com/bedrock/latest/userguide/agents-kb-manage.html [2] GetAgentKnowledgeBase - Amazon Bedrock - https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_GetAgentKnowledgeBase.html [3] Deploy a knowledge base - Amazon Bedrock - https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-deploy.html
répondu il y a 2 mois
Contenus pertinents
- demandé il y a 3 mois
- demandé il y a un an
- demandé il y a 2 mois
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a 5 mois
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a 5 ans