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