Ver código fonte

change recreate_collection function to create_collection (#16212)

tags/1.1.1
Jyong 7 meses atrás
pai
commit
c3c957bb80
Nenhuma conta vinculada ao e-mail do autor do commit

+ 1
- 1
api/core/rag/datasource/vdb/qdrant/qdrant_vector.py Ver arquivo

max_indexing_threads=0, max_indexing_threads=0,
on_disk=False, on_disk=False,
) )
self._client.recreate_collection(
self._client.create_collection(
collection_name=collection_name, collection_name=collection_name,
vectors_config=vectors_config, vectors_config=vectors_config,
hnsw_config=hnsw_config, hnsw_config=hnsw_config,

+ 1
- 1
api/core/rag/datasource/vdb/tidb_on_qdrant/tidb_on_qdrant_vector.py Ver arquivo

max_indexing_threads=0, max_indexing_threads=0,
on_disk=False, on_disk=False,
) )
self._client.recreate_collection(
self._client.create_collection(
collection_name=collection_name, collection_name=collection_name,
vectors_config=vectors_config, vectors_config=vectors_config,
hnsw_config=hnsw_config, hnsw_config=hnsw_config,

Carregando…
Cancelar
Salvar