Skip to content

Commit

Permalink
test patch- documents embedding wasn't working as expected
Browse files Browse the repository at this point in the history
  • Loading branch information
jmdevita committed Feb 14, 2024
1 parent e1df049 commit 912fca5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integrations/ollama/tests/test_document_embedder.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,5 @@ def test_run(self):
reply = embedder.run(list_of_docs)

assert isinstance(reply, dict)
assert all(isinstance(element, float) for element in reply["embedding"])
assert all(isinstance(element, float) for element in reply["documents"][0].embedding)
assert reply["meta"]["model"] == "orca-mini"

0 comments on commit 912fca5

Please sign in to comment.