mirror of
https://github.com/LiteyukiStudio/nonebot-plugin-marshoai.git
synced 2025-02-07 21:46:10 +08:00
1a34e9b167
* 修复了style和script标签无法去除的问题 * 添加了图片展示 & 统一了引号格式 * 添加了图片展示 & 统一了引号格式 * 统一引号格式并异步处理函数 * 新增了Introduce功能 * 新增了Introduce功能并将其从Search中分离
51 lines
964 B
JSON
51 lines
964 B
JSON
[
|
|
{
|
|
"type" : "function",
|
|
"function" : {
|
|
"name" : "marshoai-meogirl__meogirl",
|
|
"description" : "介绍Meogirl"
|
|
}
|
|
},
|
|
{
|
|
"type": "function",
|
|
"function": {
|
|
"name": "marshoai-meogirl__search",
|
|
"description": "查找/搜索 某角色/事物 (使用萌娘百科)",
|
|
"parameters": {
|
|
"type": "object",
|
|
"properties": {
|
|
"msg": {
|
|
"type": "string",
|
|
"description": "搜索关键词"
|
|
},
|
|
"num": {
|
|
"type": "integer",
|
|
"description": "数据显示条数, 默认3, 可留空"
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"msg"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type" : "function",
|
|
"function" : {
|
|
"name" : "marshoai-meogirl__introduce",
|
|
"description" : "介绍/展示 某角色/事物 (使用萌娘百科)",
|
|
"parameters" : {
|
|
"type" : "object",
|
|
"properties" : {
|
|
"msg" : {
|
|
"type": "string",
|
|
"description": "关键词"
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"msg"
|
|
]
|
|
}
|
|
}
|
|
] |