Fix formatiing

This commit is contained in:
Andrej Milicevic 2025-09-17 10:45:36 +02:00
parent 30df102656
commit 293a0e0053
3 changed files with 19 additions and 23 deletions

View file

@ -94,11 +94,7 @@ class OllamaEmbeddingEngine(EmbeddingEngine):
""" """
Internal method to call the Ollama embeddings endpoint for a single prompt. Internal method to call the Ollama embeddings endpoint for a single prompt.
""" """
payload = { payload = {"model": self.model, "prompt": prompt, "input": prompt}
"model": self.model,
"prompt": prompt,
"input": prompt
}
headers = {} headers = {}
api_key = os.getenv("LLM_API_KEY") api_key = os.getenv("LLM_API_KEY")
if api_key: if api_key: