浏览代码

create db if not exists (#17796)

Co-authored-by: wlleiiwang <wlleiiwang@tencent.com>
tags/1.3.0
wlleiiwang 6 个月前
父节点
当前提交
9d20561af4
没有帐户链接到提交者的电子邮件
共有 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")


正在加载...
取消
保存