AxAIOpenAIChatResponse
type AxAIOpenAIChatResponse = object;
Defined in: https://github.com/ax-llm/ax/blob/a8847bd2906efff202fde10d776fddd20fd2ff57/src/ax/ai/openai/chat_types.ts#L218
Properties
choices
choices: object[];
Defined in: https://github.com/ax-llm/ax/blob/a8847bd2906efff202fde10d776fddd20fd2ff57/src/ax/ai/openai/chat_types.ts#L223
finish_reason
finish_reason: "stop" | "length" | "content_filter" | "tool_calls";
index
index: number;
message
{
annotations?: AxAIOpenAIAnnotation[];
content: string | null;
reasoning_content?: string;
refusal: string | null;
role: string;
tool_calls?: object[];
}
created
created: number;
Defined in: https://github.com/ax-llm/ax/blob/a8847bd2906efff202fde10d776fddd20fd2ff57/src/ax/ai/openai/chat_types.ts#L221
error?
optional error: object;
Defined in: https://github.com/ax-llm/ax/blob/a8847bd2906efff202fde10d776fddd20fd2ff57/src/ax/ai/openai/chat_types.ts#L241
code
code: number;
message
message: string;
param
param: string;
type
type: string;
id
id: string;
Defined in: https://github.com/ax-llm/ax/blob/a8847bd2906efff202fde10d776fddd20fd2ff57/src/ax/ai/openai/chat_types.ts#L219
model
model: string;
Defined in: https://github.com/ax-llm/ax/blob/a8847bd2906efff202fde10d776fddd20fd2ff57/src/ax/ai/openai/chat_types.ts#L222
object
object: "chat.completion";
Defined in: https://github.com/ax-llm/ax/blob/a8847bd2906efff202fde10d776fddd20fd2ff57/src/ax/ai/openai/chat_types.ts#L220
system_fingerprint
system_fingerprint: string;
Defined in: https://github.com/ax-llm/ax/blob/a8847bd2906efff202fde10d776fddd20fd2ff57/src/ax/ai/openai/chat_types.ts#L247
usage?
optional usage: AxAIOpenAIUsage;
Defined in: https://github.com/ax-llm/ax/blob/a8847bd2906efff202fde10d776fddd20fd2ff57/src/ax/ai/openai/chat_types.ts#L240