We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
有人知道结果排序不准确怎么处理吗,有些问答匹配结果甚至跑到第七八条了,我看源码里rerank相关代码都注释掉了。 用的xinference:v1.1.0+chatchat0.3.1.3,Qwen2.5-14B-Instruct,bge-large-zh-v1.5,bge-reranker-larger。 score从0.1到2.0都试了个遍。
The text was updated successfully, but these errors were encountered:
在 Langchain-Chatchat 版本 0.3.1.3 中,确实存在一个已知问题,即无法通过配置启用 reranking 功能,因为相关代码在源码中被注释掉了(特别是在 chatchat/server/chat/kb_chat.py 文件中)[1]。要启用 reranking 功能,您需要手动修改源码,取消注释 reranker 的实现。
chatchat/server/chat/kb_chat.py
此外,您可以参考一个类似的开放问题,其中建议使用 rerank.py 中已经实现的功能,而不需要编写新的 LangchainReranker 类或 compress_documents 方法[2]。
rerank.py
LangchainReranker
compress_documents
To continue talking to Dosu, mention @dosu.
Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other
Sorry, something went wrong.
No branches or pull requests
有人知道结果排序不准确怎么处理吗,有些问答匹配结果甚至跑到第七八条了,我看源码里rerank相关代码都注释掉了。
用的xinference:v1.1.0+chatchat0.3.1.3,Qwen2.5-14B-Instruct,bge-large-zh-v1.5,bge-reranker-larger。
score从0.1到2.0都试了个遍。
The text was updated successfully, but these errors were encountered: