feat(collections): show how a search finds passages

The collections list now reports search_mode: semantic for the chromem
engine and hybrid for the postgres engine, which also matches words.
The Knowledge page shows it in plain words, so a person knows whether
an exact code or name can be found.

Assisted-by: Claude:claude-sonnet-5-5
This commit is contained in:
Ettore Di Giacinto committed 2026-11-05 09:03:52 +00:00
1 parent eceb57e1a2
commit ace0dfcae8
19 files changed
+149 -5

No files matched your search

+4
View File
@@ -36,6 +36,10 @@ and names the model; an administrator gets a button that opens the Models
page with a search for it. `GET /api/collections` reports the same in
`embedding_model` and `embedding_model_installed`.
The Knowledge page also shows how a search finds passages, for example
*Search: semantic*. `GET /api/collections` reports it in `search_mode`: `semantic`
for the `chromem` engine, and `hybrid` for the `postgres` engine.
## Who sees a collection
- With authentication off, there is one set of collections.