You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, we use embedding models from providers like Cohere and Mixedbread AI to build RAG. There are also re-rank models that can further enhance these systems.
However, to add a re-rank model while using the Vercel AI SDK, we have to manually set up API calls or use another SDK. To make this easier, support re-rank models directly in the Vercel AI SDK. This will allow developers to seamlessly integrate re-rank models and improve their language systems without extra hassle.
As I did not find it in the docs, I am making a request. If an option is available and we can build it within this code base, I would appreciate it if someone could give me an example. So I can add it to the SDK.
The text was updated successfully, but these errors were encountered:
Feature Description
Currently, we use embedding models from providers like
Cohere
andMixedbread
AI to build RAG. There are also re-rank models that can further enhance these systems.However, to add a re-rank model while using the Vercel AI SDK, we have to manually set up API calls or use another SDK. To make this easier, support re-rank models directly in the Vercel AI SDK. This will allow developers to seamlessly integrate re-rank models and improve their language systems without extra hassle.
Use Case
https://www.mixedbread.ai/docs/reranking/overview
https://cohere.com/rerank
Additional context
As I did not find it in the docs, I am making a request. If an option is available and we can build it within this code base, I would appreciate it if someone could give me an example. So I can add it to the SDK.
The text was updated successfully, but these errors were encountered: