Merge branch 'main' into dev
This commit is contained in:
commit
2ed92d21fc
1 changed files with 1 additions and 0 deletions
|
|
@ -95,6 +95,7 @@ class OllamaEmbeddingEngine(EmbeddingEngine):
|
|||
Internal method to call the Ollama embeddings endpoint for a single 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