AxAITypesafeResponse Generated TypeScript API reference. typescript api api/reference build/apidocs/TypeAlias.AxAITypesafeResponse.md type AxAITypesafeResponse

AxAITypesafeResponse

TypeScript
type AxAITypesafeResponse<Q> = object;

Defined in: https://github.com/ax-llm/ax/blob/e690b4823b8309e258594064abe941d4cff6ef89/src/ax/ai/typesafe/types.ts#L84

Type Parameters

Type ParameterDefault type
Q extends AxAITypesafeQuestionsAxAITypesafeQuestions

Properties

answers

TypeScript
readonly answers: { readonly [K in keyof Q]: AxAITypesafeAnswer<Q[K]> };

Defined in: https://github.com/ax-llm/ax/blob/e690b4823b8309e258594064abe941d4cff6ef89/src/ax/ai/typesafe/types.ts#L88


model

TypeScript
readonly model: string;

Defined in: https://github.com/ax-llm/ax/blob/e690b4823b8309e258594064abe941d4cff6ef89/src/ax/ai/typesafe/types.ts#L87


usage

TypeScript
readonly usage: object;

Defined in: https://github.com/ax-llm/ax/blob/e690b4823b8309e258594064abe941d4cff6ef89/src/ax/ai/typesafe/types.ts#L89

input_tokens

TypeScript
readonly input_tokens: number;

output_tokens

TypeScript
readonly output_tokens: number;
Docs