-
Notifications
You must be signed in to change notification settings - Fork 881
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add builder pattern for MilvusVectorStore
Introduces a fluent builder API to improve configuration readability and type safety when creating MilvusVectorStore instances. This replaces the existing configuration object approach which was less intuitive and harder to maintain. The builder pattern provides better encapsulation of configuration logic and validation, while maintaining backward compatibility through a deprecated config class. This change makes the codebase more maintainable and the API more discoverable for users. Key changes: - Replace configuration object with fluent builder pattern - Move Milvus-related classes to dedicated milvus package - Deprecate MilvusVectorStoreConfig in favor of builder - Update constructor to use builder internally - Maintain backward compatibility with deprecated config - Add comprehensive builder methods with validation
- Loading branch information
1 parent
5b11501
commit 218c967
Showing
11 changed files
with
496 additions
and
139 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.