mirror of
https://github.com/perstarkse/minne.git
synced 2026-11-28 08:52:31 +01:00
feat: configure FastEmbed model in config and admin, with restart to apply
Expose fastembed_model in config and a model dropdown on Admin → Models. Persist dimension from the chosen model, require restart to load it, and align legacy OpenAI default settings so fresh local-embedding installs start cleanly.
This commit is contained in:
1 parent
15c9f18f6e
commit
4e20da538d
10 files changed
+735
-82
No files matched your search
@@ -0,0 +1,8 @@
|
||||
-- Align persisted embedding settings when FastEmbed is the recorded backend but the model
|
||||
-- name is still the OpenAI migration default (invalid for FastEmbed `from_str`).
|
||||
|
||||
UPDATE system_settings:current SET
|
||||
embedding_model = 'Xenova/bge-small-en-v1.5',
|
||||
embedding_dimensions = 384
|
||||
WHERE embedding_backend = 'fastembed'
|
||||
AND embedding_model = 'text-embedding-3-small';
|
||||
Reference in new issue
Block a user