Abraxas-365 / Abraxas-365/langchain-rust
fix(pgvector): similarity_search should return embeddings ordered by distance
未关闭
- 主要语言
- Rust
- 星标
- 1.3k
- 派生
- 177
- PR 合并指标
- 30 天内没有已合并 PR
描述
**Describe the bug**
The similarity search does not return the correct results, rather it returns DESC which don't make sense.
This PR seems to be the culprit, I reverted and am now getting the correct answers.
https://github.com/Abraxas-365/langchain-rust/pull/224
**To Reproduce**
Steps to reproduce the behavior:
1. Run one of the postgres examples you wont get the most relevant or closest response
贡献指南
评估
这个 Issue 还没有评估数据。