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