Browse Source

Merge remote-tracking branch 'origin/rag/3.0.1' into debug

Roc 1 tháng trước cách đây
mục cha
commit
3750d8b4e5
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      controllers/llm/question.go

+ 2 - 0
controllers/llm/question.go

@@ -343,6 +343,8 @@ func (c *QuestionController) Edit() {
 		br.ErrMsg = "修改失败,Err:" + err.Error()
 		return
 	}
+	// 新增/编辑ES数据
+	go services.AddOrEditEsRagQuestion(item.QuestionId)
 
 	br.Ret = 200
 	br.Success = true