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

AxChatResponseResult

TypeScript
type AxChatResponseResult = object;

Defined in: https://github.com/ax-llm/ax/blob/e4219a44b7581a55a40d9dd62d2c281062ff078d/src/ax/ai/types.ts#L375

Properties

audio?

TypeScript
optional audio: AxChatAudioOutput;

Defined in: https://github.com/ax-llm/ax/blob/e4219a44b7581a55a40d9dd62d2c281062ff078d/src/ax/ai/types.ts#L383


citations?

TypeScript
optional citations: AxCitation[];

Defined in: https://github.com/ax-llm/ax/blob/e4219a44b7581a55a40d9dd62d2c281062ff078d/src/ax/ai/types.ts#L389


content?

TypeScript
optional content: string;

Defined in: https://github.com/ax-llm/ax/blob/e4219a44b7581a55a40d9dd62d2c281062ff078d/src/ax/ai/types.ts#L377


finishReason?

TypeScript
optional finishReason: "stop" | "length" | "function_call" | "content_filter" | "error";

Defined in: https://github.com/ax-llm/ax/blob/e4219a44b7581a55a40d9dd62d2c281062ff078d/src/ax/ai/types.ts#L390


functionCalls?

TypeScript
optional functionCalls: object[];

Defined in: https://github.com/ax-llm/ax/blob/e4219a44b7581a55a40d9dd62d2c281062ff078d/src/ax/ai/types.ts#L384

function

TypeScript
{
  name: string;
  params?: string | object;
}

id

TypeScript
id: string;

type

TypeScript
type: "function";

id?

TypeScript
optional id: string;

Defined in: https://github.com/ax-llm/ax/blob/e4219a44b7581a55a40d9dd62d2c281062ff078d/src/ax/ai/types.ts#L382


index

TypeScript
index: number;

Defined in: https://github.com/ax-llm/ax/blob/e4219a44b7581a55a40d9dd62d2c281062ff078d/src/ax/ai/types.ts#L376


logprobs?

TypeScript
optional logprobs: object;

Defined in: https://github.com/ax-llm/ax/blob/e4219a44b7581a55a40d9dd62d2c281062ff078d/src/ax/ai/types.ts#L396

content?

TypeScript
optional content: object[];

name?

TypeScript
optional name: string;

Defined in: https://github.com/ax-llm/ax/blob/e4219a44b7581a55a40d9dd62d2c281062ff078d/src/ax/ai/types.ts#L381


thought?

TypeScript
optional thought: string;

Defined in: https://github.com/ax-llm/ax/blob/e4219a44b7581a55a40d9dd62d2c281062ff078d/src/ax/ai/types.ts#L378


thoughtBlocks?

TypeScript
optional thoughtBlocks: AxThoughtBlockItem[];

Defined in: https://github.com/ax-llm/ax/blob/e4219a44b7581a55a40d9dd62d2c281062ff078d/src/ax/ai/types.ts#L380

Array of thinking blocks, each with its own signature

Docs