mirror of
https://github.com/LiteyukiStudio/nonebot-plugin-marshoai.git
synced 2026-04-27 00:35:38 +00:00
新增 Introduce 功能, 将其从 Search 分离 (#25)
* 修复了style和script标签无法去除的问题 * 添加了图片展示 & 统一了引号格式 * 添加了图片展示 & 统一了引号格式 * 统一引号格式并异步处理函数 * 新增了Introduce功能 * 新增了Introduce功能并将其从Search中分离
This commit is contained in:
@@ -6,21 +6,40 @@
|
||||
"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__search",
|
||||
"description" : "在萌娘百科中搜索(仅用户指定在萌娘百科中搜索才调用此函数)",
|
||||
"name" : "marshoai-meogirl__introduce",
|
||||
"description" : "介绍/展示 某角色/事物 (使用萌娘百科)",
|
||||
"parameters" : {
|
||||
"type" : "object",
|
||||
"properties" : {
|
||||
"msg" : {
|
||||
"type": "string",
|
||||
"description": "搜索关键词"
|
||||
},
|
||||
"num" : {
|
||||
"type": "integer",
|
||||
"description": "数据显示条数, 默认3, 可留空"
|
||||
"description": "关键词"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user