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/94681b903c12282732479dc5960189bbcfc2cc6f/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>>