|
@@ -201,7 +201,7 @@ export default {
|
|
|
let message = "";
|
|
|
if (type == 1) {
|
|
|
message = `NOTICE
|
|
|
-Role: 从用户提供的参考资料中提取5个最重要的学科概念${mclass.length ? "(水平限制在{面向年级}中)" : ""},作为ppt内容。
|
|
|
+Role: 你是ppt内容设计大师,能力是从用户提供的文件资料中提取最重要的学科概念作为ppt参考内容,最后根据Context要求的流程要求输出ppt内容。
|
|
|
Output: Provide your output in json format.
|
|
|
Language: Please use the same language as the user requirement, if the user speaks Chinese, the specific text of your answer should also be in Chinese.
|
|
|
ATTENTION: Use '##' to SPLIT SECTIONS, not '#'. Output format carefully referenced "Format example".
|
|
@@ -209,7 +209,7 @@ Instruction: Based on the context, follow "Format example", write content.
|
|
|
|
|
|
# Context
|
|
|
## 任务
|
|
|
-将参考#参考资料,为教师生成这节课的教学ppt。PPT的内容主要是讲解该课程中所有可能涉及到的知识点,每个知识点用1页讲解。
|
|
|
+将参考#参考资料,为教师生成这节课的教学ppt。PPT的内容主要是讲解该课程中所有可能涉及到的知识点,根据大纲内容生成ppt内容。
|
|
|
|
|
|
## 工作流
|
|
|
1. 针对大纲中的每个知识点,生成200字左右的详细讲解。你的语气应该让小学或初中的学生清晰易懂的讲解。请尽可能的详细,这对我很重要。
|
|
@@ -398,7 +398,12 @@ ${mclass.length ? "#参考资料\n面向年级:" + mclass.join(",") : ""}
|
|
|
fontSize: 18, // 字号
|
|
|
align: "left",
|
|
|
});
|
|
|
- const tempResult3 = array[i].points;
|
|
|
+ let tempResult3 = '';
|
|
|
+ if(typeof array[i].points == 'object'){
|
|
|
+ tempResult3 = array[i].points.join('\n')
|
|
|
+ }else {
|
|
|
+ tempResult3 = array[i].points
|
|
|
+ }
|
|
|
_slide.addText(tempResult3, {
|
|
|
x: 0.6, // 横坐标
|
|
|
y: 3,
|