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

feat (reranking) : Support for reranking models #3764

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

patelvivekdev
Copy link

This PR adds support for re-ranking models in the Vercel AI SDK provider. Currently, the SDK supports embedding models from providers like Cohere and Mixedbread AI for building Retrieval-Augmented Generation (RAG) systems. By integrating re-ranking models, developers can enhance these systems by improving the relevance of the retrieved results without additional manual setup or using another SDK.

#3584

@patelvivekdev patelvivekdev marked this pull request as ready for review November 19, 2024 08:11
@patelvivekdev patelvivekdev marked this pull request as draft November 19, 2024 08:11
@patelvivekdev patelvivekdev changed the title feat (reranking) : Added reranking model in provider feat (reranking) : Support for reranking models Nov 19, 2024
@patelvivekdev patelvivekdev marked this pull request as ready for review November 20, 2024 07:58
@patelvivekdev
Copy link
Author

@lgrammel, Could you please take a look at this PR when you have a chance?

I would appreciate your feedback and guidance on this implementation.

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

Successfully merging this pull request may close these issues.

1 participant