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.
|
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:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue