mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
pref: imporve Prompt
This commit is contained in:
parent
5c0dfa8c96
commit
bda02137e5
|
|
@ -773,7 +773,6 @@ const submit = async (formEl: FormInstance | undefined) => {
|
|||
if (!formEl) return
|
||||
await formEl.validate((valid, fields) => {
|
||||
if (valid) {
|
||||
console.log(applicationForm.value)
|
||||
loadSharedApi({ type: 'application', systemType: apiType.value })
|
||||
.putApplication(id, applicationForm.value, loading)
|
||||
.then(() => {
|
||||
|
|
|
|||
|
|
@ -130,6 +130,10 @@ const promptTemplates = {
|
|||
|
||||
请按以下格式生成:
|
||||
|
||||
必须严格遵循以下规则:
|
||||
1. **严格禁止输出解释、前言、额外说明**,只输出最终结果。
|
||||
2. **严格使用以下格式**,不能缺少标题、不能多出其他段落。
|
||||
|
||||
# 角色:
|
||||
|
||||
|
||||
|
|
@ -157,6 +161,8 @@ const promptTemplates = {
|
|||
- 不得提供任何与角色设定无关的回答。
|
||||
2. 描述角色在互动过程中需要遵循的限制条件2
|
||||
3. 描述角色在互动过程中需要遵循的限制条件3
|
||||
|
||||
输出时不得包含任何解释或附加说明,只能返回符合以上格式的内容。
|
||||
`,
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue