mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-06 08:16:43 +00:00
parent
01a108cf82
commit
833bf1da22
1 changed files with 1 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ async def ollama_aembeddings(
|
|||
|
||||
response = await litellm.module_level_aclient.post(url=url, json=data)
|
||||
|
||||
response_json = await response.json()
|
||||
response_json = response.json()
|
||||
|
||||
embeddings: List[List[float]] = response_json["embeddings"]
|
||||
for idx, emb in enumerate(embeddings):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue