AxStreamingFieldProcessorProcess
type AxStreamingFieldProcessorProcess = (value: string, context?: Readonly<{
done?: boolean;
sessionId?: string;
values?: AxGenOut;
}>) => unknown | Promise<unknown>;
Defined in: https://github.com/ax-llm/ax/blob/b50783a160295ce34ac10dcaf3bd8fff4a01d535/src/ax/dsp/fieldProcessor.ts#L16
Parameters
| Parameter | Type |
|---|---|
value | string |
context? | Readonly<{ done?: boolean; sessionId?: string; values?: AxGenOut; }> |
Returns
unknown | Promise<unknown>