1 Answer
- Newest
- Most votes
- Most comments
0
Hello.
It seems that metadata can be obtained using the invoke_agent() API, but as mentioned in the GitHub issue, it seems that there is a bug or something that prevents the metadata from being obtained.
https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/bedrock-agent-runtime/client/invoke_agent.html
It seems likely that it will be possible to obtain it in the response of the invoke_agent() API in the future.
https://github.com/aws/aws-sdk/issues/746
Therefore, currently I think the only way to retrieve it is to execute the retrieve_and_generate() API directly on the knowledge base.
https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/bedrock-agent-runtime/client/retrieve_and_generate.html
Relevant content
- asked a year ago
- AWS OFFICIALUpdated 4 months ago
