Kaynağa Gözat

change recreate_collection function to create_collection (#16212)

tags/1.1.1
Jyong 7 ay önce
ebeveyn
işleme
c3c957bb80
No account linked to committer's email address

+ 1
- 1
api/core/rag/datasource/vdb/qdrant/qdrant_vector.py Dosyayı Görüntüle

@@ -119,7 +119,7 @@ class QdrantVector(BaseVector):
max_indexing_threads=0,
on_disk=False,
)
self._client.recreate_collection(
self._client.create_collection(
collection_name=collection_name,
vectors_config=vectors_config,
hnsw_config=hnsw_config,

+ 1
- 1
api/core/rag/datasource/vdb/tidb_on_qdrant/tidb_on_qdrant_vector.py Dosyayı Görüntüle

@@ -129,7 +129,7 @@ class TidbOnQdrantVector(BaseVector):
max_indexing_threads=0,
on_disk=False,
)
self._client.recreate_collection(
self._client.create_collection(
collection_name=collection_name,
vectors_config=vectors_config,
hnsw_config=hnsw_config,

Loading…
İptal
Kaydet