mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-11 03:38:02 +00:00
With Weaviate as the vector database, a chunk identical to the query (distance 0) was treated as having no distance and got a relevance score of 0. Perfect matches could land at the bottom of the results or fall below the relevance threshold. They now score 1 as expected. Fixes #31527 |
||
|---|---|---|
| .. | ||
| dbs | ||
| async_client.py | ||
| factory.py | ||
| main.py | ||
| type.py | ||
| utils.py | ||