Ver Fonte

Merge branch 'feature/deepseek_rag_1.0' of http://8.136.199.33:3000/eta_server/eta_api into feature/deepseek_rag_1.0

kobe6258 há 1 dia atrás
pai
commit
64036faad7
2 ficheiros alterados com 0 adições e 33 exclusões
  1. 0 20
      controllers/rag/llm_http/request.go
  2. 0 13
      controllers/rag/llm_http/response.go

+ 0 - 20
controllers/rag/llm_http/request.go

@@ -1,20 +0,0 @@
-package llm_http
-
-type LLMQuestionReq struct {
-	Question      string `description:"提问"`
-	KnowledgeBase string `description:"知识库"`
-	SessionId     string `description:"会话ID"`
-}
-
-type UserChatReq struct {
-	ChatId    int    `json:"ChatId"`
-	ChatTitle string `json:"ChatTitle" description:"会话名称"`
-}
-
-type UserChatRecordReq struct {
-	Id           int    `json:"Id"`
-	ChatId       int    `json:"ChatId"`
-	Content      string `json:"Content" description:"会话名称"`
-	ChatUserType string `json:"ChatUserType" description:"用户类型"`
-	SendTime     string `json:"SendTime" description:"发送时间"`
-}

+ 0 - 13
controllers/rag/llm_http/response.go

@@ -1,13 +0,0 @@
-package llm_http
-
-import "eta/eta_api/models/llm"
-
-type UserChatListResp struct {
-	TodayList     []llm.UserLlmChatListViewItem
-	YesterdayList []llm.UserLlmChatListViewItem
-	WeekList      []llm.UserLlmChatListViewItem
-}
-type UserChatResp struct {
-	ChatId    int
-	ChatTitle string
-}