generated from template/vite-react-template
temp
This commit is contained in:
36
template/workspace/prompts/html示例.md
Normal file
36
template/workspace/prompts/html示例.md
Normal 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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
```
|
||||
6
template/workspace/prompts/命令列表.md
Normal file
6
template/workspace/prompts/命令列表.md
Normal file
@@ -0,0 +1,6 @@
|
||||
我有一个命令列表,我需要通过查询去获取相应的列表的内容,我提供你查询的方式。我需要你把我文本的内容转为查询的参数的格式。
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
7
template/workspace/prompts/提取指令.md
Normal file
7
template/workspace/prompts/提取指令.md
Normal file
@@ -0,0 +1,7 @@
|
||||
我有一些命令匹配的文本,格式是: !command text-content 他是很多类同的命令结合一起的,其中text-content可能为空,其中命令和内容都可能是乱拼的,只要符合 !command ,你就要把内容返回给我。其中如果!单独存在,或者!之前面有内容,都不属于命令,都属于上一个命令的文本,你需要排出这些错误情况。你需要把命令和文本的内容返回给我一个json数据。返回的格式是[{command,content],你只需要把你对应的内容返回给我,不要返回其他内容。
|
||||
|
||||
我给你的命令文本是
|
||||
|
||||
!a 显示内容 !b 但是会计法 !c 飒短发 !fdsaf s !d d!!的身份 ! 是的! !ene
|
||||
|
||||
PROMPT_TEXT
|
||||
Reference in New Issue
Block a user