mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 20:07:09 +02:00
Display set API key for Ollama embedder
This commit is contained in:
parent
aa0bbbb246
commit
9b76501875
1 changed files with 1 additions and 1 deletions
|
@ -335,7 +335,7 @@ impl From<EmbeddingConfig> for EmbeddingSettings {
|
|||
source: Setting::Set(EmbedderSource::Ollama),
|
||||
model: Setting::Set(options.embedding_model.to_owned()),
|
||||
revision: Setting::NotSet,
|
||||
api_key: Setting::NotSet,
|
||||
api_key: options.api_key.map(Setting::Set).unwrap_or_default(),
|
||||
dimensions: Setting::NotSet,
|
||||
document_template: Setting::Set(prompt.template),
|
||||
url: Setting::NotSet,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue