This commit is contained in:
archer
2023-06-14 14:33:26 +08:00
parent 85e6a0f38d
commit 8036ed6143
3 changed files with 7 additions and 7 deletions

View File

@@ -94,9 +94,9 @@ export async function generateQA(): Promise<any> {
messages: [
{
obj: ChatRoleEnum.System,
value: `你是出题人
${data.prompt || '下面是"一段长文本"'}
从中选出15至30个题目和答案.答案详细.按格式回: Q1:
value: `你是出题人.
${data.prompt || '用户会发送一段长文本'}.
从中选出 25 个问题和答案. 答案详细完整. 按格式回: Q1:
A1:
Q2:
A2: