This commit is contained in:
Timothy Jaeryang Baek
2024-11-21 22:03:51 -08:00
parent 12c8257c92
commit 2e7af7bdbf
2 changed files with 2 additions and 3 deletions

View File

@@ -483,7 +483,6 @@ def generate_ollama_batch_embeddings(
r.raise_for_status()
data = r.json()
print(data)
if "embeddings" in data:
return data["embeddings"]
else: