1 Answer
- Newest
- Most votes
- Most comments
0
Hello, You can use the following re-ranking models using Amazon Bedrock:
- Amazon Rerank 1.0
- Cohere Rerank 3.5
You can use these models directly through the Amazon Bedrock API or with Amazon Bedrock Knowledge Bases. You can find here some updated examples: https://github.com/aws-samples/amazon-bedrock-samples/blob/main/rag/knowledge-bases/features-examples/03-optimizing-accuracy-retrieved-results/re_ranking_using_kb.ipynb
However, you can use LLamaIndex in combination with Amazon Bedrock. Here are some examples on how to combine both tools (they do not cover re-ranking but other features of LlamaIndex) https://aws.amazon.com/blogs/machine-learning/build-powerful-rag-pipelines-with-llamaindex-and-amazon-bedrock/
Hopefully this helps
answered 2 months ago
Relevant content
- asked 9 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 9 months ago