Documentation
¶
Index ¶
- func EndNode(node *workflow.Node) (*endNode, error)
- func ExclGateway(node *wf.Node, outgoing ...*wf.Edge) (*exclGateway, error)
- func ExprNode(n *workflow.Node) *exprNode
- func ForkGateway(node *wf.Node, outgoing ...*wf.Edge) (*forkGateway, error)
- func LLMNode(n *workflow.Node) *llmNode
- func StartNode(n *workflow.Node) *startNode
- func ToolNode(node *workflow.Node) (*toolNode, error)
- type ExecRequest
- type ExecResponse
- type Identifier
- type Node
- type Nodes
- type VDBNode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExclGateway ¶
ExclGateway fn initializes exclusive gateway func ExclGateway(pp ...*GatewayCondition) (*exclGateway, error) {
func ForkGateway ¶
ForkGateway fn initializes fork gateway
Types ¶
type ExecRequest ¶
type ExecResponse ¶
type ExecResponse any
func ForkGatewayActivity ¶
func ForkGatewayActivity(ctx context.Context, n *forkGateway, r *ExecRequest) (ExecResponse, error)
ForkGatewayActivity TODO
func GatewayActivity ¶
func GatewayActivity(ctx context.Context, n *exclGateway, r *ExecRequest) (ExecResponse, error)
GatewayActivity TODO
type Identifier ¶
type Identifier struct {
// contains filtered or unexported fields
}
Identifier TODO
type Node ¶
type Node interface {
ID() string
SetID(string)
Execute(context.Context, *ExecRequest) (ExecResponse, error)
}
Node TODO
type VDBNode ¶
type VDBNode struct {
}
VDBNode ...
func (*VDBNode) Execute ¶
func (n *VDBNode) Execute(ctx context.Context, r *ExecRequest) (ExecResponse, error)
Execute 执行VDBNode
Click to show internal directories.
Click to hide internal directories.