AxAITypesafeArgs
type AxAITypesafeArgs<TModelKey> = object;Defined in: https://github.com/ax-llm/ax/blob/686f8ba96cf652e044cf922b67c16c8f09754a70/src/ax/ai/typesafe/api.ts#L35
Typesafe evaluates typed questions; it does not generate freeform text.
Type Parameters
| Type Parameter | Default type |
|---|---|
TModelKey | string |
Properties
apiKey?
optional apiKey: string;Defined in: https://github.com/ax-llm/ax/blob/686f8ba96cf652e044cf922b67c16c8f09754a70/src/ax/ai/typesafe/api.ts#L37
apiURL?
optional apiURL: string;Defined in: https://github.com/ax-llm/ax/blob/686f8ba96cf652e044cf922b67c16c8f09754a70/src/ax/ai/typesafe/api.ts#L39
config?
optional config: object;Defined in: https://github.com/ax-llm/ax/blob/686f8ba96cf652e044cf922b67c16c8f09754a70/src/ax/ai/typesafe/api.ts#L40
model?
optional model: string;credentialProvider?
optional credentialProvider: AxAICredentialProvider;Defined in: https://github.com/ax-llm/ax/blob/686f8ba96cf652e044cf922b67c16c8f09754a70/src/ax/ai/typesafe/api.ts#L38
modelInfo?
optional modelInfo: AxModelInfo[];Defined in: https://github.com/ax-llm/ax/blob/686f8ba96cf652e044cf922b67c16c8f09754a70/src/ax/ai/typesafe/api.ts#L43
models?
optional models: AxAIInputModelList<string, never, TModelKey>;Defined in: https://github.com/ax-llm/ax/blob/686f8ba96cf652e044cf922b67c16c8f09754a70/src/ax/ai/typesafe/api.ts#L42
name
name: "typesafe";Defined in: https://github.com/ax-llm/ax/blob/686f8ba96cf652e044cf922b67c16c8f09754a70/src/ax/ai/typesafe/api.ts#L36
options?
optional options: Readonly<AxAIServiceOptions>;Defined in: https://github.com/ax-llm/ax/blob/686f8ba96cf652e044cf922b67c16c8f09754a70/src/ax/ai/typesafe/api.ts#L41
trueThreshold?
optional trueThreshold: number;Defined in: https://github.com/ax-llm/ax/blob/686f8ba96cf652e044cf922b67c16c8f09754a70/src/ax/ai/typesafe/api.ts#L45
Convert a Noul probability to true at or above this value. Default: 0.5.