feat: 迁移plant
This commit is contained in:
@@ -1,6 +1,3 @@
|
||||
// Code scaffolded by goctl. Safe to edit.
|
||||
// goctl 1.10.1
|
||||
|
||||
package config
|
||||
|
||||
import (
|
||||
@@ -17,4 +14,25 @@ type Config struct {
|
||||
PlantRpc zrpc.RpcClientConf
|
||||
UserRpc zrpc.RpcClientConf
|
||||
FileRpc zrpc.RpcClientConf
|
||||
DB struct {
|
||||
DataSource string
|
||||
}
|
||||
// 百度 OCR 植物识别
|
||||
BaiduOcr struct {
|
||||
ApiKey string
|
||||
SecretKey string
|
||||
} `json:",optional"`
|
||||
Ai struct {
|
||||
ChatApiUrl string `json:",optional"`
|
||||
ChatApiKey string `json:",optional"`
|
||||
ChatModelName string `json:",optional"`
|
||||
EmbeddingApiUrl string `json:",optional"`
|
||||
EmbeddingApiKey string `json:",optional"`
|
||||
EmbeddingModelName string `json:",optional"`
|
||||
QdrantUrl string `json:",optional"`
|
||||
QdrantApiKey string `json:",optional"`
|
||||
QdrantCollection string `json:",optional"`
|
||||
VectorDimension int `json:",optional"`
|
||||
DailyQuota int64 `json:",optional"`
|
||||
} `json:",optional"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user