Skip to content

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Unobtainiumrock
Copy link
Contributor

@Unobtainiumrock Unobtainiumrock commented Feb 7, 2025

Additional details:

  • Qdrant updated, so that models is now under qdrant_module.http.models, whereas before it was under qdrant_module.models
  • There were dependency resolution issues under /adalflow/pyproject.toml. I resolved this by adding certain conditions on numpy and breaking out qdrant into its own group.
  • Additional dependency cleanup:
    • Note: I removed openai, groq, faiss-cpu, torch, etc. from here
      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>.

@Unobtainiumrock
Copy link
Contributor Author

Nevermind, I have to add back in duplicate packages in order for these github auto tests to pass. One moment.

Copy link
Member

@liyin2015 liyin2015 left a 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}")
Copy link
Member

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",
Copy link
Member

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]
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants