vector-io icon indicating copy to clipboard operation
vector-io copied to clipboard

Sweep: Qdrant import / collection not working

Open sweep-ai-deprecated[bot] opened this issue 1 year ago • 1 comments

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_disk parameter from the namespace metadata in qdrant_import.py. This parameter was not utilized in the subsequent logic and its extraction was unnecessary.
  • Simplified the get_nested_config function calls by eliminating the redundant retrieval of the on_disk configuration, making the code cleaner and more efficient.
  • Adjusted the VectorParams initialization to exclude the on_disk parameter, 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.