Abraxas-365 / Abraxas-365/langchain-rust
fix(pgvector): similarity_search should return embeddings ordered by distance
Aperta
- Lingua principale
- Rust
- Stelle
- 1.3k
- Fork
- 177
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
**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
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.