Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WorkFlowRunResponse ¶
type Workflow ¶
type Workflow struct { PersonalAccessToken string `json:"-"` Timeout time.Duration `json:"-"` // 必选 执行的 Workflow ID,此工作流应已发布。 WorkflowId string `json:"workflow_id"` // 工作流开始节点的输入参数及取值,你可以在指定工作流的编排页面查看参数列表。 Parameters map[string]any `json:"parameters"` // 需要关联的 Bot ID。 部分工作流执行时需要指定关联的 Bot,例如存在数据库节点、变量节点等节点的工作流。 BotID string `json:"bot_id"` // 使用启用流式返回。 Stream bool `json:"stream"` // contains filtered or unexported fields }
func NewWorkflow ¶
Click to show internal directories.
Click to hide internal directories.