31 lines
660 B
Go
31 lines
660 B
Go
package entitys
|
|
|
|
import (
|
|
"ai_scheduler/internal/data/model"
|
|
|
|
"github.com/ollama/ollama/api"
|
|
"github.com/open-dingtalk/dingtalk-stream-sdk-go/chatbot"
|
|
)
|
|
|
|
type RequireDataDingTalkBot struct {
|
|
Session string
|
|
Key string
|
|
Sys model.AiSy
|
|
Histories []model.AiChatHi
|
|
SessionInfo model.AiSession
|
|
Tasks []model.AiTask
|
|
Match *Match
|
|
Req *chatbot.BotCallbackDataModel
|
|
Auth string
|
|
Ch chan Response
|
|
KnowledgeConf KnowledgeBaseRequest
|
|
ImgByte []api.ImageData
|
|
ImgUrls []string
|
|
}
|
|
|
|
type DingTalkBot struct {
|
|
BotIndex string
|
|
ClientId string
|
|
ClientSecret string
|
|
}
|