Files
2026-12-04 09:44:59 +08:00

60 lines
1.5 KiB
JSON

{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning",
"Microsoft.EntityFrameworkCore": "Warning"
}
},
"AllowedHosts": "*",
"Gateway": {
"BaseUrl": "http://127.0.0.1:3456",
"ApiKey": "qazwsxedc1234"
},
"Llm": {
"Enabled": true,
"ApiKey": "",
"BaseUrl": "https://dashscope.aliyuncs.com/compatible-mode/v1",
"Model": "qwen3.8-max",
"TimeoutSeconds": 45,
"EnableSearch": false,
"SearchStrategy": "turbo",
"ForcedSearch": false
},
"RecordBot": {
"WebhookToken": "",
"AllowedUserIds": [],
"ReplyOnRecord": true,
"MediaDir": "storage/media",
"ConnectionString": "Data Source=storage/records.db",
"BackupDir": "storage/backups",
"BackupIntervalHours": 24,
"BackupKeepCount": 14,
"DefaultTextCategory": "笔记",
"DefaultImageCategory": "照片",
"TimeZoneId": "Asia/Shanghai",
"Categories": [
{
"Name": "支出",
"Keywords": [ "支出", "花费", "买了", "付款", "消费" ]
},
{
"Name": "收入",
"Keywords": [ "收入", "工资", "到账", "进账" ]
},
{
"Name": "待办",
"Keywords": [ "待办", "todo", "提醒", "记得" ]
},
{
"Name": "笔记",
"Keywords": [ "笔记", "记录", "备忘", "记一下" ]
},
{
"Name": "照片",
"Keywords": [ "照片", "图片", "截图" ]
}
]
}
}