lsc 9 miesięcy temu
rodzic
commit
de55ef7e9e

+ 1 - 1
dist/index.html

@@ -32,7 +32,7 @@
       width: 100%;
       background: #e6eaf0;
       font-family: '黑体';
-    }</style><link href=./static/css/app.7245b54bdae71a25fdcde8c2aaa07731.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.10370ac530e01e13f2d0.js></script></body></html><script>function stopSafari() {
+    }</style><link href=./static/css/app.20570fc7cd8f61d125228fb6aef9db13.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.1257986c05621dc37023.js></script></body></html><script>function stopSafari() {
     //阻止safari浏览器双击放大功能
     let lastTouchEnd = 0  //更新手指弹起的时间
     document.documentElement.addEventListener("touchstart", function (event) {

Plik diff jest za duży
+ 0 - 0
dist/static/css/app.20570fc7cd8f61d125228fb6aef9db13.css


Plik diff jest za duży
+ 0 - 0
dist/static/css/app.20570fc7cd8f61d125228fb6aef9db13.css.map


Plik diff jest za duży
+ 0 - 0
dist/static/js/app.1257986c05621dc37023.js


Plik diff jest za duży
+ 0 - 0
dist/static/js/app.1257986c05621dc37023.js.map


Plik diff jest za duży
+ 0 - 0
dist/static/js/manifest.571c38d63f24b1ae9e16.js.map


+ 16 - 71
src/components/pages/aiAddCourse/addCourse.vue

@@ -13132,81 +13132,23 @@ Instruction: Based on the context, follow "Format example", write content.
 
 # Context
 ## 要求
-${msg} 以及#教学任务教案 输出格式和内容要求参考##格式与要求
+${msg} 以及#教学任务教案 内容要求参考#格式要求, 然后根据Format example的要求返回要以数组的格式
 
 ## 教学任务教案
 ${_text}
 
-## 格式与要求
+${this.templateid == "4480d65a-1e48-11ef-bee5-005056b86db5" ? '#目标层\n'+this.cpote.cpote3.replaceAll('#','').replaceAll('*','').replaceAll('-','').replaceAll('\n','')+'\n\n#任务簇\n'+this.cpote.cpote4.replaceAll('#','').replaceAll('*','').replaceAll('-','').replaceAll('\n','') : ''}
+
+## 格式要求
 任务名:
 任务描述:该描述是教师给与学生的指示(用于指导学生如何进行每个教学活动),对应到学生活动,你应该用友好,但是又清晰明确的口吻来撰写。
 评价标准:至少3条评价标准,这个评价是教师用来评价学生表现的,需要包含评价维度,以及该维度中教师期待学生的表现,句式为学生应该能....
 平台工具:
-工具名:**从工具列表**中选择0~2个工具用于学生阶段性成果提交:工具列表:[电子白板,文档,思维导图,表格,作业提交]
+工具名:**从工具列表**中选择0~2个工具用于学生阶段性成果提交:工具列表:电子白板,文档,思维导图,表格,作业提交,只在这几个工具里选
 工具指引:以友好,明确的口吻告诉学生该如何使用该工具
 
-## 示例
-[
-  {
-    "detail": "面向学生的任务描述",
-    "elist":[
-      {"value":"评价名字1","detail":"评价维度1", "score": 5},
-      {"value":"评价名字2","detail":"评价维度2", "score": 5},
-      {"value":"评价名字3","detail":"评价维度3", "score": 5}
-    ],
-    "toolChoose": [
-      {
-        "tool":"电子白板", 
-        "detail": "工具描述"
-      },
-      {
-        "tool":"思维大图", 
-        "detail": "工具描述"
-      }
-    ]
-  },
-  {
-    "detail": "面向学生的任务描述",
-    "elist":[
-      {"value":"评价名字1","detail":"评价维度1", "score": 5},
-      {"value":"评价名字2","detail":"评价维度2", "score": 5},
-      {"value":"评价名字3","detail":"评价维度3", "score": 5}
-    ],
-    "toolChoose": []
-  },
-  {
-    "detail": "面向学生的任务描述",
-    "elist":[
-      {"value":"评价名字1","detail":"评价维度1", "score": 5},
-      {"value":"评价名字2","detail":"评价维度2", "score": 5},
-      {"value":"评价名字3","detail":"评价维度3", "score": 5}
-    ],
-    "toolChoose": [
-      {
-        "tool":"文档", 
-        "detail": "工具描述"
-      }
-    ]
-  }
-]
-
 # Format example
-[
-  {
-    "detail": "该描述是教师给与学生的指示(用于指导学生如何进行每个教学活动),对应到学生活动,你应该用友好,但是又清晰明确的口吻来撰写。",
-    "elist":[
-      {"value":"评价名字1","detail":"评价维度1","score":5},
-      {"value":"评价名字2","detail":"评价维度2","score":5},
-      {"value":"评价名字3","detail":"评价维度3","score":5}
-    ],//至少3条评价标准,这个评价是教师用来评价学生表现的,需要包含评价维度,以及该维度中教师期待学生的表现,句式为学生应该能....
-    "toolChoose": [
-      {
-        "tool": "工具", //电子白板,文档,思维导图,表格,作业提交中选择其中一个工具
-        "detail": "工具描述"
-      }
-    ] //可0~2个工具
-  }
-]`
+[{"detail":"面向学生的任务描述","elist":[{"value":"评价名字1","detail":"评价维度1","score":5},{"value":"评价名字2","detail":"评价维度2","score":5},{"value":"评价名字3","detail":"评价维度3","score":5}],"toolChoose":[{"tool":"电子白板","detail":"工具描述"},{"tool":"思维大图","detail":"工具描述"}]},{"detail":"面向学生的任务描述","elist":[{"value":"评价名字1","detail":"评价维度1","score":5},{"value":"评价名字2","detail":"评价维度2","score":5},{"value":"评价名字3","detail":"评价维度3","score":5}],"toolChoose":[]},{"detail":"面向学生的任务描述","elist":[{"value":"评价名字1","detail":"评价维度1","score":5},{"value":"评价名字2","detail":"评价维度2","score":5},{"value":"评价名字3","detail":"评价维度3","score":5}],"toolChoose":[{"tool":"文档","detail":"工具描述"}]}]`
         this.loading = true
         this.aiGet3(message, this.aiCallBack)
       } else if (this.aitype == "aiDetail1") {
@@ -13234,18 +13176,21 @@ ${_text}
         for (var i = 0; i < this.dArray.length; i++) {
           _text += `任务名称:${this.dArray[i].task} 任务描述:${this.dArray[i].detail} \n`
         }//${this.infoData.length ? '使用文件检索的方式完整的去分析文件内容,并请完全按照要求输出。' : ''}
-        let message = `
+        let message = ` NOTICE
+Role: 作为学生的学习指导Agent,你熟悉熟悉PBL(基于问题的学习)和5EX教学模型,能够根据学生的学情数据(当前的学习任务设计、学习表现数据、作业数据等)生成自适应的学习任务和对应的5道考核题目。
+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".
+Instruction: Based on the context, follow "Format example", write content.
 
---------
+# Context
 ## 要求
-${msg} 以及##任务大纲, 然后根据Format example的要求返回要以数组的格式
+${msg} 以及${this.templateid != "4480d65a-1e48-11ef-bee5-005056b86db5" ? '##任务大纲' : '##目标层,##任务簇'}, 然后根据Format example的要求返回要以数组的格式
+
+${this.templateid != "4480d65a-1e48-11ef-bee5-005056b86db5" ? '## 任务大纲\n'+_text : ''}
+
+${this.templateid == "4480d65a-1e48-11ef-bee5-005056b86db5" ? '## 目标层\n'+this.cpote.cpote3.replaceAll('#','').replaceAll('*','').replaceAll('-','').replaceAll('\n','')+'\n\n## 任务簇\n'+this.cpote.cpote4.replaceAll('#','').replaceAll('*','').replaceAll('-','').replaceAll('\n','') : ''}
 
---------
-## 任务大纲
-${_text}
 
---------
 ## Format example
 [
   {

Niektóre pliki nie zostały wyświetlone z powodu dużej ilości zmienionych plików