format: fix ruff format
This commit is contained in:
parent
3a073ca462
commit
cccb84ce90
1 changed files with 1 additions and 5 deletions
|
|
@ -94,11 +94,7 @@ class OllamaEmbeddingEngine(EmbeddingEngine):
|
|||
"""
|
||||
Internal method to call the Ollama embeddings endpoint for a single prompt.
|
||||
"""
|
||||
payload = {
|
||||
"model": self.model,
|
||||
"prompt": prompt,
|
||||
"input": prompt
|
||||
}
|
||||
payload = {"model": self.model, "prompt": prompt, "input": prompt}
|
||||
headers = {}
|
||||
api_key = os.getenv("LLM_API_KEY")
|
||||
if api_key:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue