feat: 数据集导出

This commit is contained in:
archer
2023-04-03 00:18:21 +08:00
parent 05b2e9e99c
commit 16a31de1c7
9 changed files with 35 additions and 17 deletions

View File

@@ -118,7 +118,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
prompts.unshift({
obj: 'SYSTEM',
value: `${model.systemPrompt} 我的知识库: "${systemPrompt}"`
value: `${model.systemPrompt} 知识库内容: "${systemPrompt}"`
});
// 控制在 tokens 数量,防止超出