edit model_config.py.example

This commit is contained in:
唐国梁 2023-09-14 12:38:37 +08:00
parent 6ad8aee88c
commit 4c5fc6ab01
2 changed files with 12 additions and 2 deletions

5
.gitignore vendored
View File

@ -6,4 +6,7 @@ __pycache__/
/knowledge_base/
/configs/*.py
.vscode/
.pytest_cache/
.pytest_cache
.DS_Store

View File

@ -123,7 +123,14 @@ kbs_config = {
},
"pg": {
"connection_uri": "postgresql://postgres:postgres@127.0.0.1:5432/langchain_chatchat",
}
},
"es": {
"host": "127.0.0.1",
"port": "9200",
"index_name": "test_index",
"user": "",
"password": ""
}
}
# 默认向量库类型。可选faiss, milvus, pg.