20 lines
940 B
Plaintext
20 lines
940 B
Plaintext
# LLM API配置(支持 OpenAI SDK 格式的任意 LLM API)
|
||
# 推荐使用阿里百炼平台qwen-plus模型:https://bailian.console.aliyun.com/
|
||
# 注意消耗较大,可先进行小于40轮的模拟尝试
|
||
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/
|
||
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
|
||
|
||
# ===== 前端 API 地址配置(远程/VPS 部署时需要) =====
|
||
# 默认前端请求 http://localhost:5001;部署到远程服务器时需设置后端 API 的实际地址
|
||
# VITE_API_BASE_URL=http://your-server-ip:5001 |