request.go 621 B

1234567891011121314151617181920
  1. package llm_http
  2. type LLMQuestionReq struct {
  3. Question string `description:"提问"`
  4. KnowledgeBase string `description:"知识库"`
  5. SessionId string `description:"会话ID"`
  6. }
  7. type UserChatReq struct {
  8. ChatId int `json:"ChatId"`
  9. ChatTitle string `json:"ChatTitle" description:"会话名称"`
  10. }
  11. type UserChatRecordReq struct {
  12. Id int `json:"Id"`
  13. ChatId int `json:"ChatId"`
  14. Content string `json:"Content" description:"会话名称"`
  15. ChatUserType string `json:"ChatUserType" description:"用户类型"`
  16. SendTime string `json:"SendTime" description:"发送时间"`
  17. }