51 lines
969 B
YAML
51 lines
969 B
YAML
Name: plant-api
|
|
|
|
Log:
|
|
Encoding: plain
|
|
Host: 0.0.0.0
|
|
Port: 9004
|
|
|
|
Auth:
|
|
AccessSecret: 9149f2eb-d517-4a50-a03a-231dbcf0d872
|
|
AccessExpire: 604800
|
|
|
|
PlantRpc:
|
|
Etcd:
|
|
Hosts:
|
|
- 192.168.100.127:2379
|
|
Key: plant.rpc
|
|
|
|
UserRpc:
|
|
Etcd:
|
|
Hosts:
|
|
- 192.168.100.127:2379
|
|
Key: system.rpc
|
|
|
|
FileRpc:
|
|
Etcd:
|
|
Hosts:
|
|
- 192.168.100.127:2379
|
|
Key: file.rpc
|
|
|
|
DB:
|
|
DataSource: root:root@tcp(192.168.100.127:3307)/sundynix_micro_go?charset=utf8mb4&parseTime=True&loc=Local
|
|
|
|
# 百度 AI 植物识别(可选,未配置时 OCR 接口返回错误提示)
|
|
BaiduOcr:
|
|
ApiKey: hpBfjwy8ifv3qswYGYjUCNKN
|
|
SecretKey: i5aXZdM4XZVuDroBslL0f3uIuwbAyXFS
|
|
|
|
# OpenAI-compatible AI/RAG 配置。未配置 ChatApiUrl/ChatApiKey 时,AI 问答返回明确错误。
|
|
Ai:
|
|
ChatApiUrl:
|
|
ChatApiKey:
|
|
ChatModelName:
|
|
EmbeddingApiUrl:
|
|
EmbeddingApiKey:
|
|
EmbeddingModelName:
|
|
QdrantUrl:
|
|
QdrantApiKey:
|
|
QdrantCollection:
|
|
VectorDimension: 0
|
|
DailyQuota: 20
|