-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.env.example
More file actions
38 lines (32 loc) · 937 Bytes
/
Copy path.env.example
File metadata and controls
38 lines (32 loc) · 937 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# 数据库配置
DB_HOST=localhost
DB_PORT=3306
DB_USER=root
DB_PASSWORD=your_password_here
DB_NAME=link_go
# Neo4j图数据库配置
NEO4J_URI=bolt://localhost:7687
NEO4J_USERNAME=neo4j
NEO4J_PASSWORD=your_neo4j_password_here
NEO4J_MAX_POOL_SIZE=50
# JWT配置
JWT_SECRET=your-secret-key-change-this-in-production
JWT_ACCESS_TOKEN_EXPIRE=86400
JWT_REFRESH_TOKEN_EXPIRE=604800
# 聊天配置
CHAT_SOURCE=remote
CHAT_BASE_URL=https://api.openai.com/v1
CHAT_MODEL_NAME=gpt-3.5-turbo
CHAT_API_KEY=your-openai-api-key-here
CHAT_PROVIDER=openai
# 搜索配置(Metaso API)
METASO_API_KEY=your-metaso-api-key-here
SEARCH_API_ENDPOINT=https://metaso.cn/api/v1/search
# Embedding 配置(阿里云 DashScope)
EMBEDDING_PROVIDER=dashscope
EMBEDDING_API_KEY=your-dashscope-api-key-here
EMBEDDING_MODEL=qwen-max
EMBEDDING_BASE_URL=https://dashscope.aliyuncs.com/compatible-mode/v1
# Milvus配置(可选)
MILVUS_HOST=
MILVUS_TOKEN=