From 534e7fb22c6b8b5a69ed58ad856d02f8557fe27a Mon Sep 17 00:00:00 2001 From: Boris Date: Mon, 7 Apr 2025 18:13:39 +0200 Subject: [PATCH] fix: ollama test embedding endpoint (#708) ## Description ## DCO Affirmation I affirm that all code in every commit of this pull request conforms to the terms of the Topoteretes Developer Certificate of Origin. --- .github/workflows/test_ollama.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test_ollama.yml b/.github/workflows/test_ollama.yml index 030d6e3e1..6f0fc21e3 100644 --- a/.github/workflows/test_ollama.yml +++ b/.github/workflows/test_ollama.yml @@ -110,7 +110,7 @@ jobs: LLM_MODEL: "phi4" EMBEDDING_PROVIDER: "ollama" EMBEDDING_MODEL: "avr/sfr-embedding-mistral:latest" - EMBEDDING_ENDPOINT: "http://localhost:11434/v1/" + EMBEDDING_ENDPOINT: "http://localhost:11434/api/embeddings" EMBEDDING_DIMENSIONS: "4096" HUGGINGFACE_TOKENIZER: "Salesforce/SFR-Embedding-Mistral" run: poetry run python ./examples/python/simple_example.py