This commit is contained in:
2025-03-12 00:50:44 +08:00
parent 4a04a432ca
commit cbef0943de
30 changed files with 815 additions and 549 deletions

View File

@@ -0,0 +1,36 @@
把当前我的数据中所有的title和description和path和key列出来生成一个好看的卡片式的列表。只给我返回html的内容其他的东西不返回给我。
```json
[
{
"command": "logout",
"route": {
"path": "user",
"key": "logout",
"description": "退出登录",
"metadata": {
"command": "logout"
},
"validator": {}
}
},
{
"command": "command-list",
"route": {
"path": "command",
"key": "list",
"description": "命令列表",
"metadata": {
"command": "command-list",
"prompt": "把当前我的数据中,所有命令列表返回"
},
"validator": {
"commands": {
"type": "any",
"required": false
}
}
}
}
]
```

View File

@@ -0,0 +1,6 @@
我有一个命令列表,我需要通过查询去获取相应的列表的内容,我提供你查询的方式。我需要你把我文本的内容转为查询的参数的格式。

View File

@@ -0,0 +1,7 @@
我有一些命令匹配的文本,格式是: !command text-content 他是很多类同的命令结合一起的其中text-content可能为空其中命令和内容都可能是乱拼的只要符合 !command ,你就要把内容返回给我。其中如果!单独存在,或者!之前面有内容,都不属于命令都属于上一个命令的文本你需要排出这些错误情况。你需要把命令和文本的内容返回给我一个json数据。返回的格式是[{command,content],你只需要把你对应的内容返回给我,不要返回其他内容。
我给你的命令文本是
!a 显示内容 !b 但是会计法 !c 飒短发 !fdsaf s !d d!!的身份 ! 是的! !ene
PROMPT_TEXT