AxFlowStepFunction
type AxFlowStepFunction = (state: AxFlowState, context: Readonly<{
mainAi: AxAIService;
mainOptions?: AxProgramForwardOptions<string>;
}>) =>
| Promise<AxFlowState>
| AxFlowState;
Defined in: https://github.com/ax-llm/ax/blob/d2df625e2c2fd70a090d6321c042579c2819f0d1/src/ax/flow/types.ts#L20
Parameters
| Parameter | Type |
|---|---|
state | AxFlowState |
context | Readonly<{ mainAi: AxAIService; mainOptions?: AxProgramForwardOptions<string>; }> |
Returns
| Promise<AxFlowState>
| AxFlowState