-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: extend default settings in AsyncVectorStore (#2602)
* feat: extend default settings in AsyncVectorStore This commit introduces a new parameter, custom_settings, to the AsyncVectorStore class. This allows users to provide their own settings that will extend the default settings. This increases the flexibility of the class and allows it to be tailored to specific use cases. The custom settings are applied in the _create_index_if_not_exists method. * Update vectorstore.py * Update vectorstore.py apply changes in vectorstore * Update vectorstore.py format the py file * Update test_vectorstore.py add test_custom_index_settings in test_vectorstore * Update test_vectorstore.py * Update vectorstore.py fix file format * Update test_vectorstore.py fix format * Update vectorstore.py add error tips in vectorstore when confilicting the settings * Update vectorstore.py * Update vectorstore.py modify the comments of the param custom_index_settings * Update vectorstore.py * add settings conflict test * reformat --------- Co-authored-by: Quentin Pradet <[email protected]> Co-authored-by: Miguel Grinberg <[email protected]>
- Loading branch information
1 parent
058abd3
commit beb03de
Showing
3 changed files
with
119 additions
and
0 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