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

AxAIOpenAIDecisionsResponse

TypeScript
type AxAIOpenAIDecisionsResponse<Q> = object;

Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/ai/openai-decisions/types.ts#L81

Type Parameters

Type ParameterDefault type
Q extends readonly AxAIOpenAIDecisionQuestion[]readonly AxAIOpenAIDecisionQuestion[]

Properties

answers

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

Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/ai/openai-decisions/types.ts#L87

Answers remain in request order, including refusals.


model

TypeScript
readonly model: string;

Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/ai/openai-decisions/types.ts#L85


usage

TypeScript
readonly usage: object;

Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/ai/openai-decisions/types.ts#L88

input_tokens

TypeScript
readonly input_tokens: number;

input_tokens_details

TypeScript
{
  cache_write_tokens: number;
  cached_tokens: number;
}

output_tokens

TypeScript
readonly output_tokens: number;

output_tokens_details

TypeScript
{
  reasoning_tokens: number;
}

total_tokens

TypeScript
readonly total_tokens: number;
Docs