mirror of
https://github.com/langbot-app/LangBot.git
synced 2025-11-25 03:15:06 +08:00
77 lines
1.8 KiB
JSON
77 lines
1.8 KiB
JSON
{
|
|
"trigger": {
|
|
"group-respond-rules": {
|
|
"at": true,
|
|
"prefix": [
|
|
"ai"
|
|
],
|
|
"regexp": [],
|
|
"random": 0.0
|
|
},
|
|
"access-control": {
|
|
"mode": "blacklist",
|
|
"blacklist": [],
|
|
"whitelist": []
|
|
},
|
|
"ignore-rules": {
|
|
"prefix": [],
|
|
"regexp": []
|
|
}
|
|
},
|
|
"safety": {
|
|
"content-filter": {
|
|
"scope": "all",
|
|
"check-sensitive-words": true
|
|
},
|
|
"rate-limit": {
|
|
"window-length": 60,
|
|
"limitation": 60,
|
|
"strategy": "drop"
|
|
}
|
|
},
|
|
"ai": {
|
|
"runner": {
|
|
"runner": "local-agent"
|
|
},
|
|
"local-agent": {
|
|
"model": "",
|
|
"max-round": 10,
|
|
"prompt": [
|
|
{
|
|
"role": "system",
|
|
"content": "You are a helpful assistant."
|
|
}
|
|
]
|
|
},
|
|
"dify-service-api": {
|
|
"base-url": "https://api.dify.ai/v1",
|
|
"app-type": "chat",
|
|
"api-key": "your-api-key",
|
|
"thinking-convert": "plain",
|
|
"timeout": 30
|
|
},
|
|
"dashscope-app-api": {
|
|
"app-type": "agent",
|
|
"api-key": "your-api-key",
|
|
"app-id": "your-app-id",
|
|
"references-quote": "参考资料来自:"
|
|
}
|
|
},
|
|
"output": {
|
|
"long-text-processing": {
|
|
"threshold": 1000,
|
|
"strategy": "forward",
|
|
"font-path": ""
|
|
},
|
|
"force-delay": {
|
|
"min": 0,
|
|
"max": 0
|
|
},
|
|
"misc": {
|
|
"hide-exception": true,
|
|
"at-sender": true,
|
|
"quote-origin": true,
|
|
"track-function-calls": false
|
|
}
|
|
}
|
|
} |