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>
Docs site
The documentation for this project is built using Docusaurus, a modern static website generator.
Installation
$ npm i
Local Development
$ npm run start
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
Build
$ npm run build
This command generates static content into the build directory and can be served using any static contents hosting service.
Deployment
Using SSH:
$ USE_SSH=true npm run deploy
Not using SSH:
$ GIT_USER=<Your GitHub username> npm run deploy
If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.
Continuous Integration
Some common defaults for linting/formatting have been set for you. If you integrate your project with an open source Continuous Integration system (e.g. Travis CI, CircleCI), you may check for issues using the following command.
$ npm run ci