소스 검색

create db if not exists (#17796)

Co-authored-by: wlleiiwang <wlleiiwang@tencent.com>
tags/1.3.0
wlleiiwang 6 달 전
부모
커밋
9d20561af4
No account linked to committer's email address
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1
    0
      api/core/rag/datasource/vdb/tencent/tencent_vector.py

+ 1
- 0
api/core/rag/datasource/vdb/tencent/tencent_vector.py 파일 보기

@@ -51,6 +51,7 @@ class TencentVector(BaseVector):
self._client = RPCVectorDBClient(**self._client_config.to_tencent_params())
self._enable_hybrid_search = False
self._dimension = 1024
self._init_database()
self._load_collection()
self._bm25 = BM25Encoder.default("zh")


Loading…
취소
저장