ai_scheduler/internal/entitys/recognize.go

32 lines
667 B
Go

package entitys
import (
"ai_scheduler/internal/data/constants"
)
type Recognize struct {
SystemPrompt string
UserContent *RecognizeUserContent
ChatHis ChatHis
Tasks []RegistrationTask
Ch chan Response
}
type RegistrationTask struct {
}
type RecognizeUserContent struct {
Text string
File *RecognizeFile
ActionCardUrl string
Tag string
}
type FileData []byte
type RecognizeFile struct {
File []FileData // 文件数据(二进制格式)
FileUrl string // 文件下载链接
FileType constants.Caller // 文件类型(文件类型,能填最好填,可以跳过一层判断)
}