1 Answer
- Newest
- Most votes
- Most comments
2
Hi THere
To query a knowledge base and only return relevant text from data sources, send a Retrieve request (see link for request and response formats and field details) with an Agents for Amazon Bedrock runtime endpoint.
So for example, to do a retrieval, the endpoint in us-east-1 is bedrock-agent-runtime.us-east-1.amazonaws.com
You would issue a POST
to /knowledgebases/{Your KB ID}/retrieve
See an example here: https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Retrieve.html#API_agent-runtime_Retrieve_Examples
Thank you very much. My bad. I had an eyphen between knowledge-bases. It works now. Thanks again.
Relevant content
- asked a year ago
- Accepted Answerasked a month ago
- asked 10 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 3 years ago
Thank you very much. My bad. I had an eyphen between knowledge-bases. It works now. Thanks again.