* perf: md format

* add systemConfig schema (#2)

* fix: markdown

* fix: root

* fix: root

---------

Co-authored-by: heheer <71265218+newfish-cmyk@users.noreply.github.com>
This commit is contained in:
Archer
2023-12-08 16:33:15 +08:00
committed by GitHub
parent b58249fc3a
commit 84cf6b5658
8 changed files with 70 additions and 21 deletions

View File

@@ -1,8 +1,10 @@
export const Prompt_AgentQA = {
description: `我会给你一段文本,学习它们,并整理学习成果,要求为:
1. 提出问题并给出每个问题的答案。
2. 每个答案都要详细完整,给出相关原文描述,答案可以包含普通文字、链接、代码、表格、公示、媒体链接等 markdown 元素。
3. 最多提出 30 个问题
description: `<context></context> 标记中是一段文本,学习它们,并整理学习成果
学习要求:
- 提出问题并给出每个问题的答案
- 答案需详细完整,给出相关原文描述。答案可以包含普通文字、链接、代码、表格、公示、媒体链接等 markdown 元素。
- 最多提出 30 个问题。
`,
fixedText: `最后,你需要按下面的格式返回多个问题和答案:
Q1: 问题。
@@ -11,7 +13,10 @@ Q2:
A2:
……
我的文本:"""{{text}}"""`
<context>
{{text}}
<context/>
`
};
export const Prompt_ExtractJson = `你可以从 "对话记录" 中提取指定信息,并返回一个 JSON 对象JSON 对象要求: