lsc 9 月之前
父节点
当前提交
1adae73b57

+ 1 - 1
dist/index.html

@@ -32,7 +32,7 @@
       width: 100%;
       background: #e6eaf0;
       font-family: '黑体';
-    }</style><link href=./static/css/app.5e5245ce3a3a19a51ba3e3f9c7e6fd82.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.571c38d63f24b1ae9e16.js></script><script type=text/javascript src=./static/js/vendor.85f22e7b4ab99591785c.js></script><script type=text/javascript src=./static/js/app.d8fbf023e6945d7b6ff6.js></script></body></html><script>function stopSafari() {
+    }</style><link href=./static/css/app.6c23ad25a48059bb508ee8f0812bc15a.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.571c38d63f24b1ae9e16.js></script><script type=text/javascript src=./static/js/vendor.85f22e7b4ab99591785c.js></script><script type=text/javascript src=./static/js/app.52913876d0680d53aa81.js></script></body></html><script>function stopSafari() {
     //阻止safari浏览器双击放大功能
     let lastTouchEnd = 0  //更新手指弹起的时间
     document.documentElement.addEventListener("touchstart", function (event) {

文件差异内容过多而无法显示
+ 0 - 0
dist/static/css/app.6c23ad25a48059bb508ee8f0812bc15a.css


文件差异内容过多而无法显示
+ 0 - 0
dist/static/css/app.6c23ad25a48059bb508ee8f0812bc15a.css.map


文件差异内容过多而无法显示
+ 0 - 0
dist/static/js/app.52913876d0680d53aa81.js


文件差异内容过多而无法显示
+ 0 - 0
dist/static/js/app.52913876d0680d53aa81.js.map


文件差异内容过多而无法显示
+ 0 - 0
dist/static/js/manifest.571c38d63f24b1ae9e16.js.map


+ 8 - 3
src/components/pages/aiAddCourse/aiCreateDialog.vue

@@ -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,

部分文件因为文件数量过多而无法显示