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/5b28f9093bb70863b59459bb6df5062d005bce41/src/ax/ai/types.ts#L316

Properties

audio?

TypeScript
optional audio: AxChatAudioOutput;

Defined in: https://github.com/ax-llm/ax/blob/5b28f9093bb70863b59459bb6df5062d005bce41/src/ax/ai/types.ts#L324


citations?

TypeScript
optional citations: AxCitation[];

Defined in: https://github.com/ax-llm/ax/blob/5b28f9093bb70863b59459bb6df5062d005bce41/src/ax/ai/types.ts#L330


content?

TypeScript
optional content: string;

Defined in: https://github.com/ax-llm/ax/blob/5b28f9093bb70863b59459bb6df5062d005bce41/src/ax/ai/types.ts#L318


finishReason?

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

Defined in: https://github.com/ax-llm/ax/blob/5b28f9093bb70863b59459bb6df5062d005bce41/src/ax/ai/types.ts#L331


functionCalls?

TypeScript
optional functionCalls: object[];

Defined in: https://github.com/ax-llm/ax/blob/5b28f9093bb70863b59459bb6df5062d005bce41/src/ax/ai/types.ts#L325

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/5b28f9093bb70863b59459bb6df5062d005bce41/src/ax/ai/types.ts#L323


index

TypeScript
index: number;

Defined in: https://github.com/ax-llm/ax/blob/5b28f9093bb70863b59459bb6df5062d005bce41/src/ax/ai/types.ts#L317


logprobs?

TypeScript
optional logprobs: object;

Defined in: https://github.com/ax-llm/ax/blob/5b28f9093bb70863b59459bb6df5062d005bce41/src/ax/ai/types.ts#L337

content?

TypeScript
optional content: object[];

name?

TypeScript
optional name: string;

Defined in: https://github.com/ax-llm/ax/blob/5b28f9093bb70863b59459bb6df5062d005bce41/src/ax/ai/types.ts#L322


thought?

TypeScript
optional thought: string;

Defined in: https://github.com/ax-llm/ax/blob/5b28f9093bb70863b59459bb6df5062d005bce41/src/ax/ai/types.ts#L319


thoughtBlocks?

TypeScript
optional thoughtBlocks: AxThoughtBlockItem[];

Defined in: https://github.com/ax-llm/ax/blob/5b28f9093bb70863b59459bb6df5062d005bce41/src/ax/ai/types.ts#L321

Array of thinking blocks, each with its own signature

Docs