| 123456789101112131415161718192021222324252627282930313233343536373839404142 |
- package schema
- import "time"
- // RobotConfig RobotConfig对象
- type RobotConfig struct {
- RecordID string `json:"record_id"` // 记录id
- OrgId string `json:"org_id"` // 组织机构id
- OrgName string `json:"org_name"` // 组织机构名称
- Name string `json:"name"` // 机器人名称
- Type int `json:"type"` // 机器人类型
- APPID string `json:"app_id"` // APP ID
- ClientId string `json:"client_id"` // 客户端ID
- ClientSecret string `json:"client_secret"` // 客户端密钥
- Webhook string `json:"webhook"` // 消息接收WebHook
- Datasets Datasets `json:"datasets"` // 关联知识库
- AssistantId string `json:"assistant_id"` // 助手id
- SessionId string `json:"session_id"` // 会话id
- CreatedAt time.Time `json:"created_at"` // 创建时间
- CreatorId string `json:"creator_id"` // 创建者
- CreatorName string `json:"creator_name"` // 创建者名称
- }
- // RobotConfigQueryParam 查询条件
- type RobotConfigQueryParam struct {
- Code string
- Status int
- LikeCode string
- LikeName string
- RecordIDs []string
- }
- // RobotConfigQueryOptions RobotConfig对象查询可选参数项
- type RobotConfigQueryOptions struct {
- PageParam *PaginationParam // 分页参数
- }
- // RobotConfigQueryResult RobotConfig对象查询结果
- type RobotConfigQueryResult struct {
- Data []*RobotConfig
- PageResult *PaginationResult
- }
|