AxForwardable
Defined in: https://github.com/ax-llm/ax/blob/686f8ba96cf652e044cf922b67c16c8f09754a70/src/ax/dsp/types.ts#L370
Extended by
Type Parameters
| Type Parameter |
|---|
IN |
OUT |
TModelKey |
Methods
forward()
forward(
ai: Readonly<AxAIService>,
values: IN,
options?: Readonly<AxProgramForwardOptions<TModelKey>>): Promise<OUT>;Defined in: https://github.com/ax-llm/ax/blob/686f8ba96cf652e044cf922b67c16c8f09754a70/src/ax/dsp/types.ts#L371
Parameters
| Parameter | Type |
|---|---|
ai | Readonly<AxAIService> |
values | IN |
options? | Readonly<AxProgramForwardOptions<TModelKey>> |
Returns
Promise<OUT>
streamingForward()
streamingForward(
ai: Readonly<AxAIService>,
values: IN,
options?: Readonly<AxProgramStreamingForwardOptions<TModelKey>>): AxGenStreamingOut<OUT>;Defined in: https://github.com/ax-llm/ax/blob/686f8ba96cf652e044cf922b67c16c8f09754a70/src/ax/dsp/types.ts#L377
Parameters
| Parameter | Type |
|---|---|
ai | Readonly<AxAIService> |
values | IN |
options? | Readonly<AxProgramStreamingForwardOptions<TModelKey>> |
Returns
AxGenStreamingOut<OUT>