Skip to content

AxAIOpenAIChatRequest

Type Alias: AxAIOpenAIChatRequest

AxAIOpenAIChatRequest: object

Type declaration

frequency_penalty?

optional frequency_penalty: number

logit_bias?

optional logit_bias: Map<string, number>

max_tokens

max_tokens: number

messages

messages: (object | object | object | object)[]

model

model: string

n?

optional n: number

organization?

optional organization: string

presence_penalty?

optional presence_penalty: number

response_format?

optional response_format: object

response_format.type

type: string

stop?

optional stop: readonly string[]

stream?

optional stream: boolean

temperature?

optional temperature: number

tool_choice?

optional tool_choice: "none" | "auto" | "required" | object

tools?

optional tools: object[]

top_p?

optional top_p: number

user?

optional user: string

Defined in

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