|
@@ -8017,7 +8017,10 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
knowFileids(newVal, oldVal) {
|
|
|
- window.course_fileids = this.knowFileids
|
|
|
+ window.course_fileids = [...this.knowFileids, ...this.knowFileids2]
|
|
|
+ },
|
|
|
+ knowFileids2(newVal, oldVal) {
|
|
|
+ window.course_fileids = [...this.knowFileids, ...this.knowFileids2]
|
|
|
},
|
|
|
},
|
|
|
methods: {
|
|
@@ -17480,7 +17483,7 @@ let target = this.targetCourseText2 ? this.targetCourseText2 : this.targetcourse
|
|
|
// ${this.templatePan.includes(this.templateid) ? '课程节数:'+this.courseJie+'节' : ''}
|
|
|
// ${this.templatePan.includes(this.templateid) ? '课程时长:'+this.courseTime+'min' : ''}
|
|
|
let message = `NOTICE
|
|
|
-Role: 你是创建课程的老师,可以利用file_search的方式完整的去分析文件内容(注:如果文件内容里面不包含需要检索的内容,就不引用文件内容),并生成需要的JSON数据。
|
|
|
+Role: 你是创建课程的老师,可以参考知识库的内容去分析文件内容(注:如果文件内容里面不包含需要检索的内容,就不引用文件内容),并生成需要的JSON数据。
|
|
|
Output: Provide your output in json format.
|
|
|
Language: ${this.getLang()}
|
|
|
ATTENTION: Use '##' to SPLIT SECTIONS, not '#'. Output format carefully referenced "Format example".
|
|
@@ -17516,7 +17519,7 @@ Instruction: Based on the context, follow "Format example", write content.`.repl
|
|
|
// ${this.templatePan.includes(this.templateid) ? '课程节数:'+this.courseJie+'节' : ''}
|
|
|
// ${this.templatePan.includes(this.templateid) ? '课程时长:'+this.courseTime+'min' : ''}
|
|
|
let message = `NOTICE
|
|
|
-Role: 你是创建课程的老师,可以利用file_search的方式完整的去分析文件内容(注:如果文件内容里面不包含需要检索的内容,就不引用文件内容),并生成需要的JSON数据。
|
|
|
+Role: 你是创建课程的老师,可以参考知识库的内容去分析文件内容(注:如果文件内容里面不包含需要检索的内容,就不引用文件内容),并生成需要的JSON数据。
|
|
|
Language: ${this.getLang()}
|
|
|
ATTENTION: Use '##' to SPLIT SECTIONS, not '#'. Output format carefully referenced "Format example".
|
|
|
Instruction: Based on the context, follow "Format example", write content.
|
|
@@ -17547,7 +17550,7 @@ ${target ? '课程目标:' + target.replaceAll('#','').replaceAll('*','').repl
|
|
|
_text += `任务名称:${this.unitJson[0].chapterInfo[0].taskJson[i].task} 任务描述:${this.unitJson[0].chapterInfo[0].taskJson[i].taskDetail3.replaceAll('#','').replaceAll('*','').replaceAll('-','').replaceAll('\n','')} \n`
|
|
|
}
|
|
|
let message = `NOTICE
|
|
|
-Role: 你是创建课程的老师,可以利用file_search的方式完整的去分析文件内容(注:如果文件内容里面不包含需要检索的内容,就不引用文件内容),并生成需要的JSON数组的数据。
|
|
|
+Role: 你是创建课程的老师,可以参考知识库的内容去分析文件内容(注:如果文件内容里面不包含需要检索的内容,就不引用文件内容),并生成需要的JSON数组的数据。
|
|
|
Language: ${this.getLang()}
|
|
|
ATTENTION: Use '##' to SPLIT SECTIONS, not '#'. Output format carefully referenced "Format example".
|
|
|
Instruction: Based on the context, follow "Format example", write content.
|
|
@@ -17579,7 +17582,7 @@ ${(this.templateid == "4480d65a-1e48-11ef-bee5-005056b86db5" || this.templateid
|
|
|
for(var _task = 0; _task < this.unitJson[0].chapterInfo[0].taskJson.length; _task++){
|
|
|
var _text = `任务名称:${this.unitJson[0].chapterInfo[0].taskJson[_task].task} 任务描述:${this.unitJson[0].chapterInfo[0].taskJson[_task].taskDetail3.replaceAll('#','').replaceAll('*','').replaceAll('-','').replaceAll('\n','')} \n`
|
|
|
let message = `NOTICE
|
|
|
-Role: 你是创建课程的老师,可以利用file_search的方式完整的去分析文件内容(注:如果文件内容里面不包含需要检索的内容,就不引用文件内容),并生成需要的JSON数组的数据。
|
|
|
+Role: 你是创建课程的老师,可以参考知识库的内容去分析文件内容(注:如果文件内容里面不包含需要检索的内容,就不引用文件内容),并生成需要的JSON数组的数据。
|
|
|
Language: ${this.getLang()}
|
|
|
ATTENTION: Use '##' to SPLIT SECTIONS, not '#'. Output format carefully referenced "Format example".
|
|
|
Instruction: Based on the context, follow "Format example", write content.
|
|
@@ -17608,7 +17611,7 @@ ${(this.templateid == "4480d65a-1e48-11ef-bee5-005056b86db5" || this.templateid
|
|
|
}else{
|
|
|
var _text = `任务名称:${this.unitJson[0].chapterInfo[0].taskJson[this.aiCallBack[0]].task} 任务描述:${this.unitJson[0].chapterInfo[0].taskJson[this.aiCallBack[0]].taskDetail3.replaceAll('#','').replaceAll('*','').replaceAll('-','').replaceAll('\n','')} \n`
|
|
|
let message = `NOTICE
|
|
|
-Role: 你是创建课程的老师,可以利用file_search的方式完整的去分析文件内容(注:如果文件内容里面不包含需要检索的内容,就不引用文件内容),并生成需要的JSON数组的数据。
|
|
|
+Role: 你是创建课程的老师,可以参考知识库的内容去分析文件内容(注:如果文件内容里面不包含需要检索的内容,就不引用文件内容),并生成需要的JSON数组的数据。
|
|
|
Language: ${this.getLang()}
|
|
|
ATTENTION: Use '##' to SPLIT SECTIONS, not '#'. Output format carefully referenced "Format example".
|
|
|
Instruction: Based on the context, follow "Format example", write content.
|
|
@@ -17893,7 +17896,7 @@ ${msg3}
|
|
|
}//${this.infoData.length ? '使用文件检索的方式完整的去分析文件内容,并请完全按照要求输出。' : ''}
|
|
|
let target = this.targetCourseText2 ? this.targetCourseText2 : this.targetcoursetext
|
|
|
let message = ` NOTICE
|
|
|
-Role: 你是创建课程的老师,可以利用file_search的方式完整的去分析文件内容(注:如果文件内容里面不包含需要检索的内容,就不引用文件内容),并生成需要的JSON数据。
|
|
|
+Role: 你是创建课程的老师,可以参考知识库的内容去分析文件内容(注:如果文件内容里面不包含需要检索的内容,就不引用文件内容),并生成需要的JSON数据。
|
|
|
Language: ${this.getLang()}
|
|
|
ATTENTION: Use '##' to SPLIT SECTIONS, not '#'. Output format carefully referenced "Format example".
|
|
|
Instruction: Based on the context, follow "Format example", write content.
|
|
@@ -17952,7 +17955,7 @@ ${(this.templateid != "4480d65a-1e48-11ef-bee5-005056b86db5") ? '## 参考上下
|
|
|
} else if (this.aitype == "aiTeacher3"){
|
|
|
this.loading = true
|
|
|
let message = `NOTICE
|
|
|
-Role: 你是创建课程的老师,可以利用file_search的方式完整的去分析文件内容(注:如果文件内容里面不包含需要检索的内容,就不引用文件内容),并生成需要的JSON数据。
|
|
|
+Role: 你是创建课程的老师,可以参考知识库的内容去分析文件内容(注:如果文件内容里面不包含需要检索的内容,就不引用文件内容),并生成需要的JSON数据。
|
|
|
Language: ${this.getLang()}
|
|
|
ATTENTION: Use '##' to SPLIT SECTIONS, not '#'. Output format carefully referenced "Format example".
|
|
|
Instruction: Based on the context, follow "Format example", write content.
|
|
@@ -17981,7 +17984,7 @@ ${msg} 以及##参考资料
|
|
|
this.aitargetTextDetail3(msg)
|
|
|
} else if (this.aitype == 'aiSearchFile'){
|
|
|
let messages = `NOTICE
|
|
|
-Role: 你是创建课程的老师,可以利用file_search的方式完整的去分析文件内容(注:如果文件内容里面不包含需要检索的内容,就不引用文件内容),并生成需要的JSON数据。
|
|
|
+Role: 你是创建课程的老师,可以参考知识库的内容去分析文件内容(注:如果文件内容里面不包含需要检索的内容,就不引用文件内容),并生成需要的JSON数据。
|
|
|
Language: ${this.getLang()}
|
|
|
ATTENTION: Use '##' to SPLIT SECTIONS, not '#'. Output format carefully referenced "Format example".
|
|
|
Instruction: Based on the context, follow "Format example", write content.
|
|
@@ -20215,7 +20218,7 @@ ${this.courseText && this.aiCallBack[0] == 2 ? '注意,优化原有的<参考
|
|
|
let messages = ""
|
|
|
if(type == 15){
|
|
|
messages = `NOTICE
|
|
|
-Role: 你是创建课程的老师,可以利用file_search的方式完整的去分析文件内容(注:如果文件内容里面不包含需要检索的内容,就不引用文件内容),并生成需要的JSON数据。
|
|
|
+Role: 你是创建课程的老师,可以参考知识库的内容去分析文件内容(注:如果文件内容里面不包含需要检索的内容,就不引用文件内容),并生成需要的JSON数据。
|
|
|
Language: ${this.getLang()}
|
|
|
ATTENTION: Use '##' to SPLIT SECTIONS, not '#'. Output format carefully referenced "Format example".
|
|
|
Instruction: Based on the context, follow "Format example", write content.
|
|
@@ -20242,7 +20245,7 @@ ${_this.unitJson[0].chapterInfo[0].taskJson[task].taskDetail3.replaceAll('#','')
|
|
|
`
|
|
|
}else if(type == 45){
|
|
|
messages = `NOTICE
|
|
|
-Role: 你是创建课程的老师,可以利用file_search的方式完整的去分析文件内容(注:如果文件内容里面不包含需要检索的内容,就不引用文件内容),并生成需要的JSON数据。
|
|
|
+Role: 你是创建课程的老师,可以参考知识库的内容去分析文件内容(注:如果文件内容里面不包含需要检索的内容,就不引用文件内容),并生成需要的JSON数据。
|
|
|
Language: ${this.getLang()}
|
|
|
ATTENTION: Use '##' to SPLIT SECTIONS, not '#'. Output format carefully referenced "Format example".
|
|
|
Instruction: Based on the context, follow "Format example", write content.
|
|
@@ -20396,7 +20399,7 @@ ${_this.unitJson[0].chapterInfo[0].taskJson[task].taskDetail3.replaceAll('#','')
|
|
|
let messages = ""
|
|
|
if(type == 15){
|
|
|
messages = `NOTICE
|
|
|
-Role: 你是创建课程的老师,可以利用file_search的方式完整的去分析文件内容(注:如果文件内容里面不包含需要检索的内容,就不引用文件内容),并生成需要的JSON数据。
|
|
|
+Role: 你是创建课程的老师,可以参考知识库的内容去分析文件内容(注:如果文件内容里面不包含需要检索的内容,就不引用文件内容),并生成需要的JSON数据。
|
|
|
Language: ${this.getLang()}
|
|
|
ATTENTION: Use '##' to SPLIT SECTIONS, not '#'. Output format carefully referenced "Format example".
|
|
|
Instruction: Based on the context, follow "Format example", write content.
|
|
@@ -20424,7 +20427,7 @@ ${_this.unitJson[0].chapterInfo[0].taskJson[_this.taskCount].taskDetail3.replace
|
|
|
`
|
|
|
}else if(type == 45){
|
|
|
messages = `NOTICE
|
|
|
-Role: 你是创建课程的老师,可以利用file_search的方式完整的去分析文件内容(注:如果文件内容里面不包含需要检索的内容,就不引用文件内容),并生成需要的JSON数据。
|
|
|
+Role: 你是创建课程的老师,可以参考知识库的内容去分析文件内容(注:如果文件内容里面不包含需要检索的内容,就不引用文件内容),并生成需要的JSON数据。
|
|
|
Language: ${this.getLang()}
|
|
|
ATTENTION: Use '##' to SPLIT SECTIONS, not '#'. Output format carefully referenced "Format example".
|
|
|
Instruction: Based on the context, follow "Format example", write content.
|
|
@@ -22176,7 +22179,7 @@ ${_text2}`
|
|
|
}
|
|
|
}
|
|
|
let messages = `NOTICE
|
|
|
-Role: 你是创建课程的老师,可以利用file_search的方式完整的去分析文件内容(注:如果文件内容里面不包含需要检索的内容,就不引用文件内容)
|
|
|
+Role: 你是创建课程的老师,可以参考知识库的内容去分析文件内容(注:如果文件内容里面不包含需要检索的内容,就不引用文件内容)
|
|
|
Language: ${this.getLang()}
|
|
|
ATTENTION: follow "Language"
|
|
|
|
|
@@ -22487,7 +22490,7 @@ ${(_this.templateid == "4480d65a-1e48-11ef-bee5-005056b86db5" || _this.templatei
|
|
|
let courseText = this.courseText ? this.courseText : this.teacherCourseText
|
|
|
let target = this.targetCourseText2 ? this.targetCourseText2 : this.targetcoursetext
|
|
|
let messages = `NOTICE
|
|
|
-Role: 你是创建课程的老师,可以利用file_search的方式完整的去分析文件内容(注:如果文件内容里面不包含需要检索的内容,就不引用文件内容)
|
|
|
+Role: 你是创建课程的老师,可以参考知识库的内容去分析文件内容(注:如果文件内容里面不包含需要检索的内容,就不引用文件内容)
|
|
|
Language: ${this.getLang()}
|
|
|
ATTENTION: follow "Language"
|
|
|
|
|
@@ -28836,15 +28839,17 @@ ol {
|
|
|
}
|
|
|
|
|
|
.resizer {
|
|
|
- width: 5px;
|
|
|
- height: 35px;
|
|
|
- background: #ccc;
|
|
|
+ width: 12.8px;
|
|
|
+ height: 28.8px;
|
|
|
+ /* background: #ccc; */
|
|
|
position: absolute;
|
|
|
top: 50%;
|
|
|
left: 0;
|
|
|
cursor: ew-resize;
|
|
|
transform: translateY(-50%);
|
|
|
- border-radius: 43px;
|
|
|
+ /* border-radius: 43px; */
|
|
|
+ background-image: url(../../../assets/icon/course/course_slide.png);
|
|
|
+ background-size: 100% 100%;
|
|
|
}
|
|
|
|
|
|
.pptBox{
|