Skip to content

AxAIOpenAIChatResponse

Type Alias: AxAIOpenAIChatResponse

AxAIOpenAIChatResponse: object

Type declaration

choices

choices: object[]

created

created: number

error?

optional error: object

error.code

code: number

error.message

message: string

error.param

param: string

error.type

type: string

id

id: string

model

model: string

object

object: "chat.completion"

system_fingerprint

system_fingerprint: string

usage?

optional usage: AxAIOpenAIUsage

Defined in

src/ax/ai/openai/types.ts:127