mirror of
https://github.com/vxcontrol/langchaingo.git
synced 2026-07-19 13:45:47 -04:00
334f4c3689
* vectorstores/milvus: complete migration to new SDK v2 client (#1397) Complete the migration from the archived milvus-sdk-go/v2 to the new github.com/milvus-io/milvus/client/v2 SDK as tracked in issue #1397. **New Implementation**: - Add complete vectorstores/milvus/v2/ package with new SDK client - Implement all core vectorstore operations (Add, Search, Delete, etc.) - Add comprehensive test suite with unit and integration tests - Include migration example and documentation **Key Changes**: - New milvus.go with updated client initialization and operations - Updated options.go with v2 SDK configuration patterns - Added example_migration.go demonstrating upgrade path - Comprehensive README.md with migration guide - Updated go.mod/go.sum with new SDK dependencies **Documentation**: - Add docs/package-lock.json for documentation build dependencies - Provide clear migration path from v1 to v2 implementation - Maintain backward compatibility where possible This completes the migration work started in earlier commits and provides a full replacement for the deprecated SDK while maintaining the same vectorstore interface. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> * style: apply gofmt formatting to v2 package files * fix: remove unused async field from v2 Store struct --------- Co-authored-by: Claude <noreply@anthropic.com>