Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support bedrock rerank API #298

Open
wuodar opened this issue Dec 4, 2024 · 1 comment
Open

Support bedrock rerank API #298

wuodar opened this issue Dec 4, 2024 · 1 comment

Comments

@wuodar
Copy link

wuodar commented Dec 4, 2024

As AWS Bedrock supports now rerank API, I wanted to ask whether there are any plans to integrate it into langchain-aws, either into bedrock retriever or as a standalone module, like Document Compressor? Here is boto3 documentation

@3coins 3coins added enhancement New feature or request Needs Discussion labels Dec 4, 2024
@3coins
Copy link
Collaborator

3coins commented Dec 4, 2024

@wuodar
Thanks for sharing info about the rerank API. It seems like it would be flexible to create this as a separate runnable, so it could be used with other retrievers, and not just Bedrock KnowlegeBases. On the other hand, there are some benefits in abstracting it inside the KnowledgeBases retriever, that reduces onus on users to plug this into their application pipeline.

Do you have a specific use case that can help with this decision? Are there other APIs like this that are available from other providers, and how have they implemented this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants