Skip to content
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

feat: Migrate qdrant destination to V2 #178

Merged
merged 28 commits into from
Nov 8, 2024
Merged

Conversation

guilherme-uns
Copy link
Contributor

@guilherme-uns guilherme-uns commented Oct 16, 2024

Migrates qdrant destination connector to V2 and introduces an integration test for it.

Notable changes to V1:

  • utilizes asynchronous SDK
  • deprecates --num-processes

@rbiseck3 rbiseck3 added needs edits This PR has been reviewed and needs edits to be complete v2 migration labels Oct 16, 2024
guilherme-uns and others added 14 commits November 8, 2024 10:37
Refactor qdrant destination to use asynchronous SDK.
Deprecate --num-processes due to switch to async.
Update E2E test expectation to match V2 pipeline run.
Introduce docker based integration test.
Remove Optional from fields which do not take None values.
Fix referencing the moved collection_name parameter.
Test QdrantLocal in addition to Qdrant with docker server.
Test for embedding by querying single point for similarity.
Copy link
Contributor

@potter-potter potter-potter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@rbiseck3 rbiseck3 merged commit 608eeb3 into main Nov 8, 2024
26 checks passed
@rbiseck3 rbiseck3 deleted the DS-93-qdrant-destination-to-v2 branch November 8, 2024 18:07
jaisir-shadai pushed a commit to shadai-group/shadai-rag-unstructured-ingest that referenced this pull request Nov 10, 2024
* qdrant v1, changed t. typing import way

* stager part not finihed yer

* remove migrated function

* conn not ready yet

* fix Roman PR comments

* make tidy

* taking optional out from access config

* make tidy

* add secret to access config

* taking api key to connection config

* fix collection name. back api key to access config

* version-secret

* docslistt to element lict

* printing writedict params

* .

* changing variablename.

* Refactor to async

Refactor qdrant destination to use asynchronous SDK.
Deprecate --num-processes due to switch to async.
Update E2E test expectation to match V2 pipeline run.
Introduce docker based integration test.

* Condense doc-string lines

* Update parameter descriptions

* Fix run_async signature

* Remove E2E test in favor of integration.

* Capitalize description

* Fix collection_name calls and remove some incorrect Optionals

Remove Optional from fields which do not take None values.
Fix referencing the moved collection_name parameter.

* Test QdrantLocal, test embedding

Test QdrantLocal in addition to Qdrant with docker server.
Test for embedding by querying single point for similarity.

* Conform to 100 line limit

* Fix test name

* expand into different qdrant connectors per auth type

* add server integration test

---------

Co-authored-by: Filip Knefel <[email protected]>
Co-authored-by: Roman Isecke <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready for review This PR is complete and ready for a review v2 migration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

migrate qdrant connector to v2
4 participants