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