mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-13 13:10:29 +00:00
fix:storage add collection bug (#2615)
Close #2595 # Description fix hybrid memory milvus create collection bug # How Has This Been Tested? switch milvus for hybrid storage type. # Snapshots: Include snapshots for easier review. # Checklist: - [ ] My code follows the style guidelines of this project - [ ] I have already rebased the commits and make the commit message conform to the project standard. - [ ] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have made corresponding changes to the documentation - [ ] Any dependent changes have been merged and published in downstream modules
This commit is contained in:
@@ -201,3 +201,7 @@ class VectorStoreBase(IndexStoreBase, ABC):
|
||||
def truncate(self) -> List[str]:
|
||||
"""Truncate the collection."""
|
||||
raise NotImplementedError
|
||||
|
||||
def create_collection(self, collection_name: str, **kwargs) -> Any:
|
||||
"""Create the collection."""
|
||||
raise NotImplementedError
|
||||
|
Reference in New Issue
Block a user