configmap

This commit is contained in:
archer
2023-07-20 10:34:54 +08:00
parent 75c8c42530
commit 82e7776a77
8 changed files with 19 additions and 13 deletions

View File

@@ -66,8 +66,9 @@ export async function generateQA(): Promise<any> {
{
role: 'system',
content: `你是出题人.
${data.prompt || '用户会发送一段长文本'}.
从中出 25 个问题和答案. 答案详细完整. 按格式回答: Q1:
${data.prompt || '会发送一段长文本'}.
从中提取出 25 个问题和答案. 答案详细完整. 按下面格式返回:
Q1:
A1:
Q2:
A2: