Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,20 @@ LLM_API_KEY=your_api_key_here
LLM_BASE_URL=https://dashscope.aliyuncs.com/compatible-mode/v1
LLM_MODEL_NAME=qwen-plus

# ===== ZEP记忆图谱配置 =====
# 每月免费额度即可支撑简单使用:https://app.getzep.com/
# ===== 图数据库配置 =====
# 默认使用本地 Neo4j 替代 Zep Cloud
GRAPH_BACKEND=neo4j
NEO4J_URI=bolt://localhost:7687
NEO4J_USERNAME=neo4j
NEO4J_PASSWORD=password
NEO4J_DATABASE=neo4j

# ===== ZEP记忆图谱配置(可选旧后端) =====
# 若设置 GRAPH_BACKEND=zep,则需要配置此项
ZEP_API_KEY=your_zep_api_key_here

# ===== 加速 LLM 配置(可选)=====
# 注意如果不使用加速配置,env文件中就不要出现下面的配置项
LLM_BOOST_API_KEY=your_api_key_here
LLM_BOOST_BASE_URL=your_base_url_here
LLM_BOOST_MODEL_NAME=your_model_name_here
LLM_BOOST_MODEL_NAME=your_model_name_here
8 changes: 8 additions & 0 deletions .env.neo4j.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Neo4j 连接配置
NEO4J_URI=bolt://localhost:7687
NEO4J_USERNAME=neo4j
NEO4J_PASSWORD=password
NEO4J_DATABASE=neo4j

# 图数据库后端选择: 'zep' 或 'neo4j'
GRAPH_BACKEND=neo4j
13 changes: 12 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
npm_cache/
frontend/npm_cache/

# IDE
.vscode/
Expand All @@ -52,9 +54,18 @@ mytest/
# 日志文件
backend/logs/
*.log
log/

# 上传文件
backend/uploads/

# 本地依赖缓存
pip_cache/
backend/pip_cache/

# 本地环境配置
.env.dev
.env.neo4j

# Docker 数据
data/
data/
Loading