Add API-accessible reranker feature using HuggingFaceCrossEncoder #30840
practicustalhasahin
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Checked
Feature request
I’d like to propose adding a feature to expose the HuggingFace-based reranker (HuggingFaceCrossEncoder) class via an API-accessible interface, similar to how embedding models or LLMs can be called through LangChain APIs.
Motivation
This would enable:
Proposal (If applicable)
Proposed change: Expose the scoring function of HuggingFaceCrossEncoder via a FastAPI or LangServe-compatible route.
Reference Class:
Suggested additions:
Use cases:
Beta Was this translation helpful? Give feedback.
All reactions