| 
					
				 | 
			
			
				@@ -12470,41 +12470,41 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.detailYou(msg) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } else if (this.aitype == "aiOutline") { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.loading = true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        let message = ` 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        let message = `NOTICE 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+Role: 作为学生的学习指导Agent,你熟悉熟悉PBL(基于问题的学习)和5EX教学模型,能够根据学生的学情数据(当前的学习任务设计、学习表现数据、作业数据等)生成自适应的学习任务和对应的5道考核题目。 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 ATTENTION: Use '##' to SPLIT SECTIONS, not '#'. Output format carefully referenced "Format example". 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+Instruction: Based on the context, follow "Format example", write content. 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+提示:返回的内容必须参照# Format example里面的数组格式,不能有其他的没用的信息,同时返回的格式必须是可以通过javascript的JSON.parse函数由字符串转化成数组。 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				--------- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+# Context 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 ## 要求  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 ${msg} **你需要使用C-POTE教学活动设计框架,其定义参考#补充参考资料 中的C-POTE**。以及##补充参考资料和##参考资料, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 然后根据Format example的要求返回要以数组的格式 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				--------- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-## Format example 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-[ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          "task": "任务名称1", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          "detail": "任务设计和评价标准" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          "task": "任务名称2", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          "detail": "任务设计和评价标准" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				--------- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 ## 参考资料 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 课程名字:${this.courseName} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 课程简要描述:${this.courseText ? this.courseText : '暂无'} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 学科:${sub.length ? sub.join(",") : "无"} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 班级:${this.getListClassC(this.checkboxList2)} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				--------- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 ## 补充参考资料 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-- C-POTE定义: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+C-POTE定义: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 C-POTE模型是一种针对跨学科主题学习的教学设计模型,它是在新课标导向下提出的,旨在帮助教师更好地开展跨学科主题学习活动。C-POTE模型的核心是以大概念为基础,以核心素养为导向,通过合理部署内容组织、问题设计、目标制定、任务设计、教学评价等环节,促进学生的深度学习和创新能力的发展。C-POTE模型的名称来源于其五个核心组成部分,分别是:概念群(Concept Group):作为模型的基础,概念群负责将不同学科的知识点进行整合,形成有意义的认知网络。教师需要遴选重要的大概念,使之形成更大的跨学科概念群,为后续的教学活动奠定基础。问题链(Problem Chain):围绕大概念设计一系列有逻辑结构的问题,从具体到抽象,形成问题链。问题链的目的是引导学生通过问题解决的过程深化对大概念的理解。目标层(Objective Layer):明确教学目标,将核心素养具体化,分为“双基—学科思维—高阶素养”三个层次。教师需要根据学科课程标准中的核心素养,将其转化为具体的教学目标。任务簇(Task Cluster):设计一系列指向核心素养的表现性任务,将大任务拆解为若干个活动序列,确保学生能够通过实践活动实现学习目标。证据集(Evidence Set):评价学生学习成果的依据,通过收集学生在跨学科实践过程中的表现证据,进行综合性评价,以促进学生核心素养的发展。 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 补充资料:${url.join(",")} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 补充描述:${this.courseText2} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-` 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+# Format example 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+[ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          "task": "任务名称1", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          "detail": "任务设计和评价标准" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          "task": "任务名称2", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          "detail": "任务设计和评价标准" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+]` 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.aiGet2(message, () => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           this.loading = false 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -12709,22 +12709,37 @@ ${message} 以及##补充参考资料和##参考资料 以文本格式输出项 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     aiGet(messages) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       let _this = this 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       let _uuid = uuidv4(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // let params = JSON.stringify({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   // "model": "Chat", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   model: 'gpt-3.5-turbo', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   temperature: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   max_tokens: 4096, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   top_p: 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   frequency_penalty: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   presence_penalty: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   messages: [{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //     content: messages, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //     role: 'user' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   }], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   uid: _uuid, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   mind_map_question: "", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       let params = JSON.stringify({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        // "model": "Chat", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        model: 'gpt-3.5-turbo', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        temperature: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        max_tokens: 4096, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        top_p: 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        frequency_penalty: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        presence_penalty: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        messages: [{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          content: messages, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          role: 'user' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        }], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        uid: _uuid, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        mind_map_question: "", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      _this.ajax.post('https://gpt4.cocorobo.cn/chat', params).then(function (response) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          message: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              anthropic_version: "bedrock-2023-05-31", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              max_tokens: 4096, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              temperature: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              top_p: 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              messages:  [{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  "role": "user", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  "content": messages 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              }] ,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          uid: _uuid, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          model: "Claude 3 Sonnet" // Claude 3 Sonnet或者Claude 3 Haiku 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // _this.ajax.post('https://gpt4.cocorobo.cn/chat', params).then(function (response) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      _this.ajax.post('https://claude3.cocorobo.cn/chat', params).then(function (response) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         console.log(response); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         // let data = response.data.FunctionResponse 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         // if (data.choices && data.choices.length && data.choices[0].message) { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -12743,7 +12758,8 @@ ${message} 以及##补充参考资料和##参考资料 以文本格式输出项 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       _this.aiGetgetAiContent(_uuid) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     aiGetgetAiContent(_uid) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      let _source = new EventSource(`https://gpt4.cocorobo.cn/stream/${_uid}`); //http://gpt4.cocorobo.cn:8011/stream/     https://gpt4.cocorobo.cn/stream/ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // let _source = new EventSource(`https://gpt4.cocorobo.cn/stream/${_uid}`); //http://gpt4.cocorobo.cn:8011/stream/     https://gpt4.cocorobo.cn/stream/ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      let _source = new EventSource(`https://claude3.cocorobo.cn/streamChat/${_uid}`); //http://gpt4.cocorobo.cn:8011/stream/     https://gpt4.cocorobo.cn/stream/ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       let _allText = ""; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       let _mdText = ""; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       _source.onmessage = _e => { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -12777,28 +12793,79 @@ ${message} 以及##补充参考资料和##参考资料 以文本格式输出项 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     aiGet2(messages, callback) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       let _this = this 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // let params = JSON.stringify({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   // "model": "Chat", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   model: 'gpt-3.5-turbo', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   temperature: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   max_tokens: 4096, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   top_p: 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   frequency_penalty: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   presence_penalty: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   messages: [{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //     content: messages, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //     role: 'user' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   }], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   stream: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   uid: this.userid, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   mind_map_question: "", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       let params = JSON.stringify({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        // "model": "Chat", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        model: 'gpt-3.5-turbo', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        temperature: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        max_tokens: 4096, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        top_p: 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        frequency_penalty: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        presence_penalty: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        messages: [{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          content: messages, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          role: 'user' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        }], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        stream: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        uid: this.userid, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        mind_map_question: "", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      _this.ajax.post('https://gpt4.cocorobo.cn/chat', params).then(function (response) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          message: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              anthropic_version: "bedrock-2023-05-31", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              max_tokens: 4096, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              temperature: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              top_p: 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              messages: [{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                content: messages, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                role: 'user' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              }], //  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          model: "Claude 3 Sonnet" // Claude 3 Sonnet或者Claude 3 Haiku 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // _this.ajax.post('https://gpt4.cocorobo.cn/chat', params).then(function (response) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      _this.ajax.post('https://claude3.cocorobo.cn/claude3Chat', params).then(function (response) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         console.log(response); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         let data = response.data.FunctionResponse 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        if (data.choices && data.choices.length && data.choices[0].message) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          console.log(data.choices[0].message.content); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          let dArray = JSON.parse(data.choices[0].message.content) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        // if (data.choices && data.choices.length && data.choices[0].message) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //   console.log(data.choices[0].message.content); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //   let dArray = JSON.parse(data.choices[0].message.content) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //   _this.dArray = dArray 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //   _this.unitJson[0].chapterInfo[0].taskJson = [] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //   for (var i = 0; i < dArray.length; i++) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //     let _task = dArray[i] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //     _this.unitJson[0].chapterInfo[0].taskJson.push({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //       task: _task.task, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //       taskDetail: "", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //       taskDetail2: _task.detail, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //       taskDetail3: "", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //       chapterData: [], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //       toolText: "", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //       toolChoose: [ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //           tool: [], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //           toolDetail: "", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //           toolType: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //           askCount: 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //           askTitle: "", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //           askJson: [{ askstitle: "", askItem: 1, checkList: [] }], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //       ], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //       isShowTools: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //       askCount: 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //       isFold: 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //       askTitle: "", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //       askJson: [{ askstitle: "", askItem: 1, checkList: [] }], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //       checkJson: [{ checkCount: [], checkPerent: [] }], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //       homeworkList: [], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //     }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //   } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //   _this.unitJson2 = JSON.parse(JSON.stringify(_this.unitJson)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //   _this.$forceUpdate(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        // } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (data.result) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          console.log(data.result); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          let dArray = JSON.parse(data.result) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           _this.dArray = dArray 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           _this.unitJson[0].chapterInfo[0].taskJson = [] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -12841,28 +12908,88 @@ ${message} 以及##补充参考资料和##参考资料 以文本格式输出项 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     aiGet3(messages, callback) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       let _this = this 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // let params = JSON.stringify({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   // "model": "Chat", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   model: 'gpt-3.5-turbo', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   temperature: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   max_tokens: 4096, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   top_p: 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   frequency_penalty: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   presence_penalty: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   messages: [{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //     content: messages, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //     role: 'user' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   }], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   stream: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   uid: this.userid, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   mind_map_question: "", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       let params = JSON.stringify({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        // "model": "Chat", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        model: 'gpt-3.5-turbo', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        temperature: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        max_tokens: 4096, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        top_p: 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        frequency_penalty: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        presence_penalty: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        messages: [{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          content: messages, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          role: 'user' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        }], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        stream: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        uid: this.userid, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        mind_map_question: "", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      _this.ajax.post('https://gpt4.cocorobo.cn/chat', params).then(function (response) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          message: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              anthropic_version: "bedrock-2023-05-31", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              max_tokens: 4096, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              temperature: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              top_p: 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              messages: [{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                content: messages, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                role: 'user' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              }], //  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          model: "Claude 3 Sonnet" // Claude 3 Sonnet或者Claude 3 Haiku 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // _this.ajax.post('https://gpt4.cocorobo.cn/chat', params).then(function (response) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      _this.ajax.post('https://claude3.cocorobo.cn/claude3Chat', params).then(function (response) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         console.log(response); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         let data = response.data.FunctionResponse 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        if (data.choices && data.choices.length && data.choices[0].message) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          console.log(data.choices[0].message.content); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          let tArray = JSON.parse(data.choices[0].message.content) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        // if (data.choices && data.choices.length && data.choices[0].message) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //   console.log(data.choices[0].message.content); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //   let tArray = JSON.parse(data.choices[0].message.content) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //   // _this.unitJson[0].chapterInfo[0].task = [] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //   let toolsJson = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //     "电子白板": { tool: 1, type: 1 }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //     "文档": { tool: 52, type: 1 }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //     "思维导图": { tool: 3, type: 1 }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //     "表格": { tool: 48, type: 1 }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //     "作业提交": { tool: 16, type: 2 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //   } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //   for (var i = 0; i < tArray.length; i++) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //     let _task = tArray[i] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //     _this.unitJson[0].chapterInfo[0].taskJson[i].taskDetail = _task.detail 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //     _this.unitJson[0].chapterInfo[0].taskJson[i].eList = _task.elist 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //     _this.unitJson[0].chapterInfo[0].taskJson[i].toolChoose = [] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //     if (_task.toolChoose.length) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //       for (var j = 0; j < _task.toolChoose.length; j++) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         _this.unitJson[0].chapterInfo[0].taskJson[i].toolChoose.push( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //           { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             tool: toolsJson[_task.toolChoose[j].tool] ? [toolsJson[_task.toolChoose[j].tool].tool] : [], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             toolDetail: _task.toolChoose[j].detail, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             toolType: toolsJson[_task.toolChoose[j].tool] ? toolsJson[_task.toolChoose[j].tool].type : 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             askCount: 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             askTitle: "", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //             askJson: [{ askstitle: "", askItem: 1, checkList: [] }], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //           }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         ) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //     } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //       _this.unitJson[0].chapterInfo[0].taskJson[i].toolChoose.push( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //           tool: [], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //           toolDetail: "", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //           toolType: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //           askCount: 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //           askTitle: "", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //           askJson: [{ askstitle: "", askItem: 1, checkList: [] }], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //         }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //       ) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //   } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //   _this.unitJson2 = JSON.parse(JSON.stringify(_this.unitJson)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //   _this.$forceUpdate(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        // } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (data.result) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          console.log(data.result); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          let tArray = JSON.parse(data.result) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           // _this.unitJson[0].chapterInfo[0].task = [] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           let toolsJson = { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -12914,29 +13041,55 @@ ${message} 以及##补充参考资料和##参考资料 以文本格式输出项 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     aiGet4(messages, callback, clickType) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       let _this = this 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // let params = JSON.stringify({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   // "model": "Chat", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   model: 'gpt-3.5-turbo', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   temperature: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   max_tokens: 4096, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   top_p: 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   frequency_penalty: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   presence_penalty: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   messages: [{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //     content: messages, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //     role: 'user' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   }], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   stream: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   uid: this.userid, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   mind_map_question: "", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       let params = JSON.stringify({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        // "model": "Chat", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        model: 'gpt-3.5-turbo', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        temperature: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        max_tokens: 4096, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        top_p: 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        frequency_penalty: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        presence_penalty: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        messages: [{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          content: messages, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          role: 'user' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        }], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        stream: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        uid: this.userid, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        mind_map_question: "", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      _this.ajax.post('https://gpt4.cocorobo.cn/chat', params).then(function (response) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          message: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              anthropic_version: "bedrock-2023-05-31", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              max_tokens: 4096, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              temperature: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              top_p: 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              messages: [{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                content: messages, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                role: 'user' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              }], //  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          model: "Claude 3 Sonnet" // Claude 3 Sonnet或者Claude 3 Haiku 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // _this.ajax.post('https://gpt4.cocorobo.cn/chat', params).then(function (response) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      _this.ajax.post('https://claude3.cocorobo.cn/claude3Chat', params).then(function (response) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         console.log(response); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         let data = response.data.FunctionResponse 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        if (data.choices && data.choices.length && data.choices[0].message) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          console.log(data.choices[0].message.content); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          let dArray = JSON.parse(data.choices[0].message.content) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          _this.teacherText =  JSON.parse(data.choices[0].message.content) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        // if (data.choices && data.choices.length && data.choices[0].message) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //   console.log(data.choices[0].message.content); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //   let dArray = JSON.parse(data.choices[0].message.content) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //   _this.teacherText =  JSON.parse(data.choices[0].message.content) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //   for (var i = 0; i < dArray.length; i++) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //     let _task = dArray[i] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //     _this.unitJson[0].chapterInfo[0].taskJson[i].taskDetail3 = _task.detail 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //   } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //   _this.unitJson2 = JSON.parse(JSON.stringify(_this.unitJson)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //   _this.$forceUpdate(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        // } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (data.result) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          console.log(data.result); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          let dArray = JSON.parse(data.result) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          _this.teacherText =  JSON.parse(data.result) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           for (var i = 0; i < dArray.length; i++) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             let _task = dArray[i] 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -12981,22 +13134,37 @@ ${_this.aiCallback} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       _this.taskDetailLoading.push(_tindex) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       _this.ttaskDetailLoading.push(_tindex) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       let _uuid = uuidv4(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // let params = JSON.stringify({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   // "model": "Chat", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   model: 'gpt-3.5-turbo', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   temperature: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   max_tokens: 4096, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   top_p: 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   frequency_penalty: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   presence_penalty: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   messages: [{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //     content: messages, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //     role: 'user' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   }], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   uid: _uuid, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   mind_map_question: "", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       let params = JSON.stringify({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        // "model": "Chat", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        model: 'gpt-3.5-turbo', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        temperature: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        max_tokens: 4096, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        top_p: 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        frequency_penalty: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        presence_penalty: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        messages: [{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          content: messages, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          role: 'user' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        }], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        uid: _uuid, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        mind_map_question: "", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      _this.ajax.post('https://gpt4.cocorobo.cn/chat', params).then(function (response) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          message: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              anthropic_version: "bedrock-2023-05-31", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              max_tokens: 4096, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              temperature: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              top_p: 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              messages:  [{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  "role": "user", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  "content": messages 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              }] ,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          uid: _uuid, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          model: "Claude 3 Sonnet" // Claude 3 Sonnet或者Claude 3 Haiku 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // _this.ajax.post('https://gpt4.cocorobo.cn/chat', params).then(function (response) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      _this.ajax.post('https://claude3.cocorobo.cn/chat', params).then(function (response) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         console.log(response); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         // let data = response.data.FunctionResponse 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         // if (data.choices && data.choices.length && data.choices[0].message) { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -13019,7 +13187,8 @@ ${_this.aiCallback} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       _this.aiDetailgetAiContent(_uuid, _tindex, _tindex2) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     aiDetailgetAiContent(_uid, loading, _tindex2) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      let _source = new EventSource(`https://gpt4.cocorobo.cn/stream/${_uid}`); //http://gpt4.cocorobo.cn:8011/stream/     https://gpt4.cocorobo.cn/stream/ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // let _source = new EventSource(`https://gpt4.cocorobo.cn/stream/${_uid}`); //http://gpt4.cocorobo.cn:8011/stream/     https://gpt4.cocorobo.cn/stream/ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      let _source = new EventSource(`https://claude3.cocorobo.cn/streamChat/${_uid}`); //http://gpt4.cocorobo.cn:8011/stream/     https://gpt4.cocorobo.cn/stream/ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       let _allText = ""; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       let _mdText = ""; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       _source.onmessage = _e => { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -13073,22 +13242,37 @@ ${msg} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       _this.taskDetailLoading2.push(_tindex) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       _this.ttaskDetailLoading2.push(_tindex) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       let _uuid = uuidv4(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // let params = JSON.stringify({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   // "model": "Chat", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   model: 'gpt-3.5-turbo', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   temperature: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   max_tokens: 4096, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   top_p: 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   frequency_penalty: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   presence_penalty: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   messages: [{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //     content: messages, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //     role: 'user' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   }], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   uid: _uuid, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   mind_map_question: "", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       let params = JSON.stringify({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        // "model": "Chat", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        model: 'gpt-3.5-turbo', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        temperature: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        max_tokens: 4096, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        top_p: 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        frequency_penalty: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        presence_penalty: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        messages: [{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          content: messages, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          role: 'user' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        }], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        uid: _uuid, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        mind_map_question: "", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      _this.ajax.post('https://gpt4.cocorobo.cn/chat', params).then(function (response) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          message: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              anthropic_version: "bedrock-2023-05-31", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              max_tokens: 4096, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              temperature: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              top_p: 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              messages:  [{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  "role": "user", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  "content": messages 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              }] ,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          uid: _uuid, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          model: "Claude 3 Sonnet" // Claude 3 Sonnet或者Claude 3 Haiku 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // _this.ajax.post('https://gpt4.cocorobo.cn/chat', params).then(function (response) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      _this.ajax.post('https://claude3.cocorobo.cn/chat', params).then(function (response) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         console.log(response); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         // let data = response.data.FunctionResponse 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         // if (data.choices && data.choices.length && data.choices[0].message) { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -13109,7 +13293,8 @@ ${msg} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       _this.aiDetail2getAiContent(_uuid, _tindex, _tindex2) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     aiDetail2getAiContent(_uid, loading, _tindex2) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      let _source = new EventSource(`https://gpt4.cocorobo.cn/stream/${_uid}`); //http://gpt4.cocorobo.cn:8011/stream/     https://gpt4.cocorobo.cn/stream/ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // let _source = new EventSource(`https://gpt4.cocorobo.cn/stream/${_uid}`); //http://gpt4.cocorobo.cn:8011/stream/     https://gpt4.cocorobo.cn/stream/ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      let _source = new EventSource(`https://claude3.cocorobo.cn/streamChat/${_uid}`); //http://gpt4.cocorobo.cn:8011/stream/     https://gpt4.cocorobo.cn/stream/ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       let _allText = ""; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       let _mdText = ""; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       _source.onmessage = _e => { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -13166,22 +13351,37 @@ ${msg} 输出格式和内容要求参考#格式与要求 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       _this.taskDetailLoading3.push(_tindex) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       _this.ttaskDetailLoading3.push(_tindex) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       let _uuid = uuidv4(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // let params = JSON.stringify({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   // "model": "Chat", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   model: 'gpt-3.5-turbo', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   temperature: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   max_tokens: 4096, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   top_p: 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   frequency_penalty: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   presence_penalty: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   messages: [{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //     content: messages, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //     role: 'user' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   }], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   uid: _uuid, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   mind_map_question: "", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       let params = JSON.stringify({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        // "model": "Chat", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        model: 'gpt-3.5-turbo', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        temperature: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        max_tokens: 4096, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        top_p: 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        frequency_penalty: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        presence_penalty: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        messages: [{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          content: messages, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          role: 'user' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        }], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        uid: _uuid, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        mind_map_question: "", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      _this.ajax.post('https://gpt4.cocorobo.cn/chat', params).then(function (response) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          message: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              anthropic_version: "bedrock-2023-05-31", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              max_tokens: 4096, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              temperature: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              top_p: 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              messages:  [{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  "role": "user", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  "content": messages 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              }] ,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          uid: _uuid, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          model: "Claude 3 Sonnet" // Claude 3 Sonnet或者Claude 3 Haiku 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // _this.ajax.post('https://gpt4.cocorobo.cn/chat', params).then(function (response) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      _this.ajax.post('https://claude3.cocorobo.cn/chat', params).then(function (response) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         console.log(response); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         let data = response.data.FunctionResponse 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         // if (data.choices && data.choices.length && data.choices[0].message) { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -13202,7 +13402,8 @@ ${msg} 输出格式和内容要求参考#格式与要求 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       _this.aiDetail3getAiContent(_uuid, _tindex, _tindex2, _tindex3) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     aiDetail3getAiContent(_uid, loading, _tindex2, _tindex3) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      let _source = new EventSource(`https://gpt4.cocorobo.cn/stream/${_uid}`); //http://gpt4.cocorobo.cn:8011/stream/     https://gpt4.cocorobo.cn/stream/ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // let _source = new EventSource(`https://gpt4.cocorobo.cn/stream/${_uid}`); //http://gpt4.cocorobo.cn:8011/stream/     https://gpt4.cocorobo.cn/stream/ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      let _source = new EventSource(`https://claude3.cocorobo.cn/streamChat/${_uid}`); //http://gpt4.cocorobo.cn:8011/stream/     https://gpt4.cocorobo.cn/stream/ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       let _allText = ""; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       let _mdText = ""; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       _source.onmessage = _e => { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -13272,28 +13473,47 @@ ${msg} 输出格式和内容要求参考# 格式与要求 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   {"value":"评价维度3","detail":"维度描述3","score":5} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 ]` 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       _this.taskDetailLoading4.push(_tindex) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // let params = JSON.stringify({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   // "model": "Chat", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   model: 'gpt-3.5-turbo', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   temperature: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   max_tokens: 4096, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   top_p: 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   frequency_penalty: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   presence_penalty: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   messages: [{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //     content: messages, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //     role: 'user' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   }], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   stream: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   uid: this.userid, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   mind_map_question: "", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       let params = JSON.stringify({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        // "model": "Chat", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        model: 'gpt-3.5-turbo', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        temperature: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        max_tokens: 4096, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        top_p: 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        frequency_penalty: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        presence_penalty: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        messages: [{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          content: messages, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          role: 'user' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        }], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        stream: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        uid: this.userid, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        mind_map_question: "", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      _this.ajax.post('https://gpt4.cocorobo.cn/chat', params).then(function (response) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          message: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              anthropic_version: "bedrock-2023-05-31", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              max_tokens: 4096, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              temperature: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              top_p: 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              messages: [{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                content: messages, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                role: 'user' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              }], //  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          model: "Claude 3 Sonnet" // Claude 3 Sonnet或者Claude 3 Haiku 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // _this.ajax.post('https://gpt4.cocorobo.cn/chat', params).then(function (response) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      _this.ajax.post('https://claude3.cocorobo.cn/claude3Chat', params).then(function (response) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         console.log(response); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         let data = response.data.FunctionResponse 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        if (data.choices && data.choices.length && data.choices[0].message) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          console.log(data.choices[0].message.content); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          _this.unitJson[0].chapterInfo[0].taskJson[_tindex2].eList = JSON.parse(data.choices[0].message.content) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        // if (data.choices && data.choices.length && data.choices[0].message) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //   console.log(data.choices[0].message.content); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //   _this.unitJson[0].chapterInfo[0].taskJson[_tindex2].eList = JSON.parse(data.choices[0].message.content) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //   _this.$forceUpdate() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        // } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (data.result) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          console.log(data.result); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          _this.unitJson[0].chapterInfo[0].taskJson[_tindex2].eList = JSON.parse(data.result) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           _this.$forceUpdate() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         _this.taskDetailLoading4.splice(_this.taskDetailLoading.indexOf(_tindex), 1) 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -13329,22 +13549,37 @@ ${_this.aiCallBack} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       _this.taskDetailLoading5.push(_tindex) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       _this.ttaskDetailLoading5.push(_tindex) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       let _uuid = uuidv4(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // let params = JSON.stringify({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   // "model": "Chat", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   model: 'gpt-3.5-turbo', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   temperature: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   max_tokens: 4096, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   top_p: 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   frequency_penalty: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   presence_penalty: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   messages: [{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //     content: messages, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //     role: 'user' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   }], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   uid: _uuid, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   mind_map_question: "", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       let params = JSON.stringify({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        // "model": "Chat", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        model: 'gpt-3.5-turbo', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        temperature: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        max_tokens: 4096, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        top_p: 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        frequency_penalty: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        presence_penalty: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        messages: [{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          content: messages, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          role: 'user' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        }], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        uid: _uuid, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        mind_map_question: "", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      _this.ajax.post('https://gpt4.cocorobo.cn/chat', params).then(function (response) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          message: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              anthropic_version: "bedrock-2023-05-31", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              max_tokens: 4096, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              temperature: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              top_p: 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              messages:  [{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  "role": "user", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  "content": messages 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              }] ,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          uid: _uuid, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          model: "Claude 3 Sonnet" // Claude 3 Sonnet或者Claude 3 Haiku 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // _this.ajax.post('https://gpt4.cocorobo.cn/chat', params).then(function (response) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      _this.ajax.post('https://claude3.cocorobo.cn/chat', params).then(function (response) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         console.log(response); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         // let data = response.data.FunctionResponse 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         // if (data.choices && data.choices.length && data.choices[0].message) { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -13365,7 +13600,8 @@ ${_this.aiCallBack} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       _this.aiDetail5getAiContent(_uuid, _tindex, _tindex2) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     aiDetail5getAiContent(_uid, loading, _tindex2) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      let _source = new EventSource(`https://gpt4.cocorobo.cn/stream/${_uid}`); //http://gpt4.cocorobo.cn:8011/stream/     https://gpt4.cocorobo.cn/stream/ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // let _source = new EventSource(`https://gpt4.cocorobo.cn/stream/${_uid}`); //http://gpt4.cocorobo.cn:8011/stream/     https://gpt4.cocorobo.cn/stream/ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      let _source = new EventSource(`https://claude3.cocorobo.cn/streamChat/${_uid}`); //http://gpt4.cocorobo.cn:8011/stream/     https://gpt4.cocorobo.cn/stream/ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       let _allText = ""; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       let _mdText = ""; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       _source.onmessage = _e => { 
			 |