feature@创建hf应用
This commit is contained in:
parent
2a7b7b1911
commit
57f12d9a21
2
app.py
2
app.py
|
@ -8,7 +8,7 @@ from clc.langchain_application import LangChainApplication
|
||||||
# 修改成自己的配置!!!
|
# 修改成自己的配置!!!
|
||||||
class LangChainCFG:
|
class LangChainCFG:
|
||||||
llm_model_name = 'THUDM/chatglm-6b-int4-qe' # 本地模型文件 or huggingface远程仓库
|
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'
|
vector_store_path = './cache'
|
||||||
docs_path = './docs'
|
docs_path = './docs'
|
||||||
kg_vector_stores = {
|
kg_vector_stores = {
|
||||||
|
|
Loading…
Reference in New Issue