Add support for Simple ReRanker or similar locally hosted version #9102
Replies: 4 comments 8 replies
-
|
Thanks @kalaspuffar we were thinking of adding something like to the RAG API, feel free to make a PR there: |
Beta Was this translation helpful? Give feedback.
-
|
@danny-avila I've now pushed 3 PRs with changes in rag_api, agents, and Librechat danny-avila/rag_api#190 Also had to do a strange change to get my respository to work Might be something that is solved later. Realized that I run everything in Node 22 so I'll look into switching to Node 20. |
Beta Was this translation helpful? Give feedback.
-
|
@kalaspuffar thank you very much for your work! I would be very happy if the feature were merged, as we ourselves are interested in hosting as much as possible ourselves and are now at the same stage with regard to web search, where only the reranker is still missing. Is assistance required here? For example, testing of the PRs for this? |
Beta Was this translation helpful? Give feedback.
-
|
+1 AnswerDotAI's rerankers library which provides: 1.)Unified API for multiple backends 2.)Lightweight dependencies and easy installation 3.)Community maintained with active development |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I've been playing around with locally hosting a version of LibreChat, and to get it really useful, a web search feature was a requirement. I've hosted SearXNG and FireCrawl locally. Also ran Jina to do the reranking. But I could not find a locally hosted open source solution for reranking. So I set out to create one.
I found this repository:
https://github.com/AnswerDotAI/rerankers
And created a small wrapper Docker image api for it:
https://github.com/kalaspuffar/simple-reranker
It should pretty much be a slot-in solution alongside Jina and Cohere.
This was the code I tried with and never got to work:
I'm willing to help out in the development process and share any of my work with the community. What you have done so far is great, and I'm looking forward to working with you.
Best regards
Daniel
Beta Was this translation helpful? Give feedback.
All reactions