AxMultiMetricFn
type AxMultiMetricFn = <T>(arg0: Readonly<{
example: AxExample;
prediction: T;
}>) =>
| Record<string, number>
| Promise<Record<string, number>>;
Defined in: https://github.com/ax-llm/ax/blob/d2df625e2c2fd70a090d6321c042579c2819f0d1/src/ax/dsp/common_types.ts#L17
Type Parameters
| Type Parameter | Default type |
|---|---|
T | any |
Parameters
| Parameter | Type |
|---|---|
arg0 | Readonly<{ example: AxExample; prediction: T; }> |
Returns
| Record<string, number>
| Promise<Record<string, number>>