Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
habedi committed Mar 1, 2025
1 parent cc4a6a3 commit 745f4ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ repository = "https://github.com/habedi/easy-letters"
python = "^3.10"
openai = "^1.16.1"
qdrant-client = "^1.8.2"
numpy = "^2.2.3"

[tool.poetry.group.dev.dependencies]
poetry-dynamic-versioning = "^1.4.0"
Expand Down
1 change: 1 addition & 0 deletions tests/test_connectors.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ def test_find_similar():
response = ranker.find_similar(embedding_to_search, collection_name, 2)

# Assert
print(type(response))
assert response[1].id == search_response[1]["id"]
assert np.isclose(response[1].score, search_response[1]["score"], atol=1e-4)
assert response[1].payload == search_response[1]["payload"]

0 comments on commit 745f4ec

Please sign in to comment.