Skip to content

AxAIAnthropicChatRequest

Type Alias: AxAIAnthropicChatRequest

AxAIAnthropicChatRequest: object

Type declaration

max_tokens?

optional max_tokens: number

messages

messages: (object | object)[]

metadata?

optional metadata: object

metadata.user_id

user_id: string

model

model: string

stop_sequences?

optional stop_sequences: string[]

stream?

optional stream: boolean

temperature?

optional temperature: number

tool_choice?

optional tool_choice: object | object

tools?

optional tools: object[]

top_k?

optional top_k: number

top_p?

optional top_p: number

Defined in

src/ax/ai/anthropic/types.ts:17