diff --git a/.gitignore b/.gitignore index f5bd3e4..5475aab 100644 --- a/.gitignore +++ b/.gitignore @@ -6,4 +6,7 @@ __pycache__/ /knowledge_base/ /configs/*.py .vscode/ -.pytest_cache/ +.pytest_cache +.DS_Store + + diff --git a/configs/model_config.py.example b/configs/model_config.py.example index 39c51ca..e59d0af 100644 --- a/configs/model_config.py.example +++ b/configs/model_config.py.example @@ -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.