AxBalancerRoutingContext
type AxBalancerRoutingContext<TModelKey> = Readonly<{
model: TModelKey | undefined;
options: | Readonly<AxAIServiceOptions>
| undefined;
}>;Defined in: https://github.com/ax-llm/ax/blob/f60ce12a5a7a0de6d7bf420400ca77934ea61504/src/ax/ai/balance_adaptive.ts#L74
Public, prompt-free context supplied to adaptive routing callbacks.
Type Parameters
| Type Parameter | Default type |
|---|---|
TModelKey | string |