zhangqun 11 months ago
parent 1f34f4479e
commit 508fc88571
  1. 6
      pages/index/detail.vue

@ -397,6 +397,10 @@ console.log({
// "streaming": true, // "streaming": true,
// "history": [] // "history": []
}) })
let sectionType = "2"
if(this.params.sectionType != 'null') {
sectionType = this.params.sectionType
}
const [err, res] = await uni.request({ const [err, res] = await uni.request({
// url: 'http://10.16.3.159:8777/api/local_doc_qa/local_doc_chat', // url: 'http://10.16.3.159:8777/api/local_doc_qa/local_doc_chat',
url: $.chatUrl + "/chat", url: $.chatUrl + "/chat",
@ -420,7 +424,7 @@ console.log({
taskId: this.params.taskId, taskId: this.params.taskId,
sectionId: this.params.sectionId, sectionId: this.params.sectionId,
sectionType: this.params.sectionType || "2", sectionType: sectionType,
// "user_id": "zzp", // "user_id": "zzp",
// "kb_ids": ["KBa80ea15e786241eca70a20f136f4e34c"], // "kb_ids": ["KBa80ea15e786241eca70a20f136f4e34c"],
// "question": "", // "question": "",

Loading…
Cancel
Save