From 4b9b0e2292603aca65404befac33a32cd467f12e Mon Sep 17 00:00:00 2001 From: HowardChan Date: Wed, 11 Sep 2024 10:05:09 +0800 Subject: [PATCH] Correct the comment --- .../model_providers/ollama/text_embedding/text_embedding.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/core/model_runtime/model_providers/ollama/text_embedding/text_embedding.py b/api/core/model_runtime/model_providers/ollama/text_embedding/text_embedding.py index 22a9dbc9e114f9..127c991a103590 100644 --- a/api/core/model_runtime/model_providers/ollama/text_embedding/text_embedding.py +++ b/api/core/model_runtime/model_providers/ollama/text_embedding/text_embedding.py @@ -85,7 +85,7 @@ def _invoke( } } - # Make the request to the OpenAI API + # Make the request to the Ollama API response = requests.post( endpoint_url, headers=headers, data=json.dumps(payload), timeout=(10, 300) )