vector-io
vector-io copied to clipboard
Sweep: Qdrant import / collection not working
Description
This pull request addresses an issue with the Qdrant import functionality, specifically related to the handling of collections. The changes streamline the process by removing unnecessary retrieval of the on_disk parameter from the namespace metadata, which is not required for the import process.
Summary
- Removed the extraction of the
on_diskparameter from the namespace metadata inqdrant_import.py. This parameter was not utilized in the subsequent logic and its extraction was unnecessary. - Simplified the
get_nested_configfunction calls by eliminating the redundant retrieval of theon_diskconfiguration, making the code cleaner and more efficient. - Adjusted the
VectorParamsinitialization to exclude theon_diskparameter, aligning with the removal of its extraction and ensuring consistency in parameter usage.
These changes are confined to the src/vdf_io/import_vdf/qdrant_import.py file, specifically impacting how configuration parameters are handled during the import process to Qdrant collections.
Fixes #93.
🎉 Latest improvements to Sweep:
- New dashboard launched for real-time tracking of Sweep issues, covering all stages from search to coding.
- Integration of OpenAI's latest Assistant API for more efficient and reliable code planning and editing, improving speed by 3x.
- Use the GitHub issues extension for creating Sweep issues directly from your editor.
💡 To get Sweep to edit this pull request, you can:
- Comment below, and Sweep can edit the entire PR
- Comment on a file, Sweep will only modify the commented file
- Edit the original issue to get Sweep to recreate the PR from scratch
This is an automated message generated by Sweep AI.
Rollback Files For Sweep
- [ ] Rollback changes to src/vdf_io/import_vdf/qdrant_import.py
This is an automated message generated by Sweep AI.