test: add unit tests for vector stores of Milvus, Qdrant and Weaviate (#3688)
This commit is contained in:
parent
8ca5aa1190
commit
9cec8c1750
15 changed files with 211 additions and 6 deletions
|
|
@ -250,7 +250,7 @@ class MilvusVector(BaseVector):
|
|||
|
||||
# Create the collection
|
||||
collection_name = self._collection_name
|
||||
self._client.create_collection(collection_name=collection_name,
|
||||
self._client.create_collection_with_schema(collection_name=collection_name,
|
||||
schema=schema, index_param=index_params,
|
||||
consistency_level=self._consistency_level)
|
||||
redis_client.set(collection_exist_cache_key, 1, ex=3600)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue