mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-12 00:36:03 +00:00
- Add invoke_rerank action handler in plugin handler - Validate rerank model access via run session - Cap documents at 64 for API limit - Return sorted results by relevance score
67 lines
1.5 KiB
JSON
67 lines
1.5 KiB
JSON
{
|
|
"trigger": {
|
|
"group-respond-rules": {
|
|
"at": true,
|
|
"prefix": [
|
|
"ai"
|
|
],
|
|
"regexp": [],
|
|
"random": 0.0
|
|
},
|
|
"access-control": {
|
|
"mode": "blacklist",
|
|
"blacklist": [],
|
|
"whitelist": []
|
|
},
|
|
"ignore-rules": {
|
|
"prefix": [],
|
|
"regexp": []
|
|
},
|
|
"message-aggregation": {
|
|
"enabled": false,
|
|
"delay": 1.5
|
|
},
|
|
"misc": {
|
|
"combine-quote-message": true
|
|
}
|
|
},
|
|
"safety": {
|
|
"content-filter": {
|
|
"scope": "all",
|
|
"check-sensitive-words": true
|
|
},
|
|
"rate-limit": {
|
|
"window-length": 60,
|
|
"limitation": 60,
|
|
"strategy": "drop"
|
|
}
|
|
},
|
|
"ai": {
|
|
"runner": {
|
|
"id": "plugin:langbot/local-agent/default",
|
|
"expire-time": 0
|
|
},
|
|
"runner_config": {
|
|
"plugin:langbot/local-agent/default": {}
|
|
}
|
|
},
|
|
"output": {
|
|
"long-text-processing": {
|
|
"threshold": 1000,
|
|
"strategy": "none",
|
|
"font-path": ""
|
|
},
|
|
"force-delay": {
|
|
"min": 0,
|
|
"max": 0
|
|
},
|
|
"misc": {
|
|
"exception-handling": "show-hint",
|
|
"failure-hint": "Request failed.",
|
|
"at-sender": true,
|
|
"quote-origin": true,
|
|
"track-function-calls": false,
|
|
"remove-think": false
|
|
}
|
|
}
|
|
} |