feature@创建hf应用

This commit is contained in:
yanqiangmiffy 2023-04-19 23:03:07 +08:00
parent 2a7b7b1911
commit 57f12d9a21
1 changed files with 1 additions and 1 deletions

2
app.py
View File

@ -8,7 +8,7 @@ from clc.langchain_application import LangChainApplication
# 修改成自己的配置!!!
class LangChainCFG:
llm_model_name = 'THUDM/chatglm-6b-int4-qe' # 本地模型文件 or huggingface远程仓库
embedding_model_name = 'GanymedeNil/text2vec-large-chinese' # 检索模型文件 or huggingface远程仓库
embedding_model_name = 'GanymedeNil/text2vec-base-chinese' # 检索模型文件 or huggingface远程仓库
vector_store_path = './cache'
docs_path = './docs'
kg_vector_stores = {