mirror of
https://github.com/mudler/LocalAI.git
synced 2026-11-06 04:23:15 -05:00
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:
19 files changed
+149
-5
No files matched your search
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user