-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
fix: get relevance scores with milvus #5062
base: master
Are you sure you want to change the base?
Conversation
@liunux4odoo PTAL |
你这个很奇怪啊 |
|
是的,我看到归一化处理了_select_relevance_score_fn的 1 - l2_distance / 4.0,,应该没有问题。
langchain-chatchat 0.3.1 /home/admin123/LLM4/chatchat |
@ZamboLin 你的 langchain 版本比较低了,我的
|
感觉提高,虽然更新了,但是,,据公式反算l_distance 也是600.。 根据vector store 子类,确实找到具体计算了。 |
找出问题了。。,milvus用col.search 计算的时候 无论是query的embedding还是库里的向量,都不会做归一化的,。。除非自己做。。。😑 |
To fix: #5061