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

[FEATURE] Support Actual Reranker Models #3145

Open
2 tasks done
versecafe opened this issue Mar 23, 2025 · 0 comments
Open
2 tasks done

[FEATURE] Support Actual Reranker Models #3145

versecafe opened this issue Mar 23, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@versecafe
Copy link

Problem Statement

Support for dedicated rerank models that return numerical thresholds such as cohere rerank 3.5 and voyage rerank 2 as they tend to be more reliable compared to using traditional llms and vector search.

Proposed Solution

A wrapper over rerank models given that the vercel AI SDK does not provide one, they share a relatively standard interface so wrapping them isn't very difficult.

Component

RAG

Alternatives Considered

Just creating a custom rerank() for my own projects and matching the return type signature.

Example Use Case

Same usage as the current rerank system just changing the function params of rerank()

Additional Context

No response

Verification

  • I have searched the existing issues to make sure this is not a duplicate
  • I have provided sufficient context for the team to understand the request
@versecafe versecafe added the enhancement New feature or request label Mar 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants