59 lines
939 B
YAML
59 lines
939 B
YAML
server:
|
|
http:
|
|
addr: 0.0.0.0:8302
|
|
timeout: 30s
|
|
grpc:
|
|
addr: 0.0.0.0:9302
|
|
timeout: 30s
|
|
|
|
data:
|
|
database:
|
|
driver: sqlite3
|
|
source: ./data/customer_service.db
|
|
redis:
|
|
addr: 127.0.0.1:6380
|
|
password: ""
|
|
db: 0
|
|
read_timeout: 5s
|
|
write_timeout: 5s
|
|
dial_timeout: 5s
|
|
pool_size: 10
|
|
|
|
# AI 服务配置
|
|
ai:
|
|
ollama:
|
|
endpoint: http://127.0.0.1:11434
|
|
models:
|
|
- deepseek-v3.1:671b-cloud
|
|
- qwen3:8b
|
|
timeout: 60s
|
|
eino:
|
|
log_level: info
|
|
enable_trace: true
|
|
|
|
# 向量数据库配置
|
|
vector:
|
|
chromadb:
|
|
endpoint: http://127.0.0.1:8000
|
|
collection: customer_knowledge
|
|
timeout: 30s
|
|
|
|
# 监控配置
|
|
monitoring:
|
|
coze_loop:
|
|
endpoint: https://loop.coze.cn
|
|
enable: true
|
|
metrics_interval: 30s
|
|
|
|
# 日志配置
|
|
log:
|
|
level: info
|
|
format: json
|
|
output: stdout
|
|
|
|
# 应用配置
|
|
app:
|
|
name: eino-customer-service
|
|
version: 1.0.0
|
|
environment: development
|