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/e4219a44b7581a55a40d9dd62d2c281062ff078d/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>>