AxAIOpenAIChatResponse
type AxAIOpenAIChatResponse = object;
Defined in: https://github.com/ax-llm/ax/blob/8dfd0ce02b8cb386fb2c93fa280a2ec0da2d6011/src/ax/ai/openai/chat_types.ts#L209
Properties
choices
choices: object[];
Defined in: https://github.com/ax-llm/ax/blob/8dfd0ce02b8cb386fb2c93fa280a2ec0da2d6011/src/ax/ai/openai/chat_types.ts#L214
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/8dfd0ce02b8cb386fb2c93fa280a2ec0da2d6011/src/ax/ai/openai/chat_types.ts#L212
error?
optional error: object;
Defined in: https://github.com/ax-llm/ax/blob/8dfd0ce02b8cb386fb2c93fa280a2ec0da2d6011/src/ax/ai/openai/chat_types.ts#L232
code
code: number;
message
message: string;
param
param: string;
type
type: string;
id
id: string;
Defined in: https://github.com/ax-llm/ax/blob/8dfd0ce02b8cb386fb2c93fa280a2ec0da2d6011/src/ax/ai/openai/chat_types.ts#L210
model
model: string;
Defined in: https://github.com/ax-llm/ax/blob/8dfd0ce02b8cb386fb2c93fa280a2ec0da2d6011/src/ax/ai/openai/chat_types.ts#L213
object
object: "chat.completion";
Defined in: https://github.com/ax-llm/ax/blob/8dfd0ce02b8cb386fb2c93fa280a2ec0da2d6011/src/ax/ai/openai/chat_types.ts#L211
system_fingerprint
system_fingerprint: string;
Defined in: https://github.com/ax-llm/ax/blob/8dfd0ce02b8cb386fb2c93fa280a2ec0da2d6011/src/ax/ai/openai/chat_types.ts#L238
usage?
optional usage: AxAIOpenAIUsage;
Defined in: https://github.com/ax-llm/ax/blob/8dfd0ce02b8cb386fb2c93fa280a2ec0da2d6011/src/ax/ai/openai/chat_types.ts#L231