mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-18 07:15:20 +00:00
refac
This commit is contained in:
parent
120f8d7786
commit
82bd1eb155
1 changed files with 2 additions and 0 deletions
|
|
@ -254,6 +254,8 @@
|
||||||
embeddingModel = '';
|
embeddingModel = '';
|
||||||
} else if (e.target.value === 'openai') {
|
} else if (e.target.value === 'openai') {
|
||||||
embeddingModel = 'text-embedding-3-small';
|
embeddingModel = 'text-embedding-3-small';
|
||||||
|
} else if (e.target.value === '') {
|
||||||
|
embeddingModel = 'sentence-transformers/all-MiniLM-L6-v2';
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue