-
Notifications
You must be signed in to change notification settings - Fork 255
Fixes the Lazy Import for Qdrant #364
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Fixes the Lazy Import for Qdrant #364
Conversation
Nevermind, I have to add back in duplicate packages in order for these github auto tests to pass. One moment. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you not submit other files that are just format change.
) | ||
from adalflow.core.embedder import Embedder | ||
print(f"QDRANT MODULE: {qdrant_module}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
delete print
@@ -97,7 +97,7 @@ class OptionalPackages(Enum): | |||
"Please install datasets with: pip install datasets", | |||
) | |||
QDRANT = ( | |||
"qdrant-client", | |||
"qdrant_client", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why this?, please change this back
@@ -54,6 +54,10 @@ google-generativeai = "^0.8.3" | |||
together = "^1.3.14" | |||
|
|||
|
|||
|
|||
[tool.poetry.group.test.dependencies] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we have no pytest on project level, tests is ru under poetry in adalflow
remove this change
Additional details:
qdrant_module.http.models
, whereas before it was underqdrant_module.models
/adalflow/pyproject.toml
. I resolved this by adding certain conditions on numpy and breaking out qdrant into its own group.because they already exist as optional deps above. If you need them
in test automatically, you'll install them with
poetry install --with test,<dep>
.