Expand description
Payload trait and PayloadNode for integrating external work units.
The Payload trait is the boundary between the graph orchestrator and
external execution logic (e.g., LLM calls from llm-pipeline).
The graph runtime never implements payload logic — it only orchestrates execution.
Structs§
- Payload
Context - Context passed to payloads during execution.
- Payload
Node - A node that wraps a
Payloadfor execution within the graph. - Payload
Output - Output from a payload execution.
Traits§
- Payload
- A unit of work that can be executed by the graph runtime.
Type Aliases§
- Input
Selector - Function that extracts payload input from graph state.
- Output
Mapper - Function that maps payload output back into graph state.
- Payload
Error - Error type for payload invocations.
- Token
Callback - Token callback type for streaming.