From 2373adf9b7955cc17bfd1bb809f451415bc51241 Mon Sep 17 00:00:00 2001 From: ManyTheFish Date: Thu, 2 May 2024 15:36:13 +0200 Subject: [PATCH] Add ollama url in settings GET --- milli/src/vector/settings.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/milli/src/vector/settings.rs b/milli/src/vector/settings.rs index 5707f9533..db06154da 100644 --- a/milli/src/vector/settings.rs +++ b/milli/src/vector/settings.rs @@ -338,7 +338,7 @@ impl From for EmbeddingSettings { api_key: options.api_key.map(Setting::Set).unwrap_or_default(), dimensions: Setting::NotSet, document_template: Setting::Set(prompt.template), - url: Setting::NotSet, + url: options.url.map(Setting::Set).unwrap_or_default(), query: Setting::NotSet, input_field: Setting::NotSet, path_to_embeddings: Setting::NotSet,