langchain_dart
langchain_dart copied to clipboard
Feat/sqlite vec vector store
Feature #516
Description
This pull request refactors and enhances the SQLite vector store implementation, transitioning from SQLiteVSS to SQLiteVec. The changes improve compatibility with Langchain 0.3 and introduce various optimizations and structural improvements.
Dependencies
- Updated
pubspec.yamlto reflect new dependencies and omissions. - Added a tool to download SQLite3 binaries, improving cross-platform compatibility.
Changes
- Refactored
SQLiteVSStoSQLiteVec, including file renames and code adjustments. - Updated database connection handling for native, web, and unsupported platforms.
- Improved error handling and debugging utilities.
- Restructured the vector store implementation for better maintainability and performance.
Testing
- Updated and renamed test files to reflect the transition from
SQLiteVSStoSQLiteVec. - Ensured test coverage for the refactored implementation.
Code Quality
- Applied Dart formatting to ensure consistent code style.
- Implemented Dart fixes to address potential issues and improve code quality.
Additional Notes
- This PR includes changes across multiple commits, focusing on refactoring, compatibility updates, and structural improvements.
- The transition to
SQLiteVecaims to provide a more robust and efficient vector store implementation within the Langchain community package.
I started with the review 🙂
I need to familiarize a bit with sqlite3 and drift first.
I started with the review 🙂 I need to familiarize a bit with
sqlite3anddriftfirst.
No issues, let me know if you want to do a google meet up if you want me to take you through it.
I've been sort of mental capacity the last few days. I'll resume the review tomorrow. I'll let you know if we need to jump in on a call, but thanks for the offer.
I've been sort of mental capacity the last few days. I'll resume the review tomorrow. I'll let you know if we need to jump in on a call, but thanks for the offer.
anytime