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/781623e58befc00a555cf73ccbac598a72bb700c/src/ax/ai/types.ts#L427

Properties

audio?

TypeScript
optional audio: AxChatAudioOutput;

Defined in: https://github.com/ax-llm/ax/blob/781623e58befc00a555cf73ccbac598a72bb700c/src/ax/ai/types.ts#L435


citations?

TypeScript
optional citations: AxCitation[];

Defined in: https://github.com/ax-llm/ax/blob/781623e58befc00a555cf73ccbac598a72bb700c/src/ax/ai/types.ts#L441


content?

TypeScript
optional content: string;

Defined in: https://github.com/ax-llm/ax/blob/781623e58befc00a555cf73ccbac598a72bb700c/src/ax/ai/types.ts#L429


finishReason?

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

Defined in: https://github.com/ax-llm/ax/blob/781623e58befc00a555cf73ccbac598a72bb700c/src/ax/ai/types.ts#L442


functionCalls?

TypeScript
optional functionCalls: object[];

Defined in: https://github.com/ax-llm/ax/blob/781623e58befc00a555cf73ccbac598a72bb700c/src/ax/ai/types.ts#L436

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/781623e58befc00a555cf73ccbac598a72bb700c/src/ax/ai/types.ts#L434


index

TypeScript
index: number;

Defined in: https://github.com/ax-llm/ax/blob/781623e58befc00a555cf73ccbac598a72bb700c/src/ax/ai/types.ts#L428


logprobs?

TypeScript
optional logprobs: object;

Defined in: https://github.com/ax-llm/ax/blob/781623e58befc00a555cf73ccbac598a72bb700c/src/ax/ai/types.ts#L448

content?

TypeScript
optional content: object[];

name?

TypeScript
optional name: string;

Defined in: https://github.com/ax-llm/ax/blob/781623e58befc00a555cf73ccbac598a72bb700c/src/ax/ai/types.ts#L433


thought?

TypeScript
optional thought: string;

Defined in: https://github.com/ax-llm/ax/blob/781623e58befc00a555cf73ccbac598a72bb700c/src/ax/ai/types.ts#L430


thoughtBlocks?

TypeScript
optional thoughtBlocks: AxThoughtBlockItem[];

Defined in: https://github.com/ax-llm/ax/blob/781623e58befc00a555cf73ccbac598a72bb700c/src/ax/ai/types.ts#L432

Array of thinking blocks, each with its own signature

Docs