AxAIAnthropicChatRequest
type AxAIAnthropicChatRequest = object;Defined in: https://github.com/ax-llm/ax/blob/3306475085414d36aee4411ad2466e08e53bef8a/src/ax/ai/anthropic/types.ts#L136
Properties
anthropic_version?
optional anthropic_version: string;Defined in: https://github.com/ax-llm/ax/blob/3306475085414d36aee4411ad2466e08e53bef8a/src/ax/ai/anthropic/types.ts#L138
max_tokens?
optional max_tokens: number;Defined in: https://github.com/ax-llm/ax/blob/3306475085414d36aee4411ad2466e08e53bef8a/src/ax/ai/anthropic/types.ts#L212
messages
messages: (
| {
content: | string
| object & AxAIAnthropicChatRequestCacheParam[];
role: "system";
}
| {
content: string | (... & ... | ... & ... | ... & ...)[];
role: "user";
}
| {
content: | string
| (
| ... & ...
| {
signature?: string;
thinking: string;
type: "thinking";
}
| {
data: string;
signature?: string;
type: "redacted_thinking";
}
| ... & ...)[];
role: "assistant";
})[];Defined in: https://github.com/ax-llm/ax/blob/3306475085414d36aee4411ad2466e08e53bef8a/src/ax/ai/anthropic/types.ts#L139
metadata?
optional metadata: object;Defined in: https://github.com/ax-llm/ax/blob/3306475085414d36aee4411ad2466e08e53bef8a/src/ax/ai/anthropic/types.ts#L228
user_id
user_id: string;model?
optional model: string;Defined in: https://github.com/ax-llm/ax/blob/3306475085414d36aee4411ad2466e08e53bef8a/src/ax/ai/anthropic/types.ts#L137
output_config?
optional output_config: AxAIAnthropicOutputConfig;Defined in: https://github.com/ax-llm/ax/blob/3306475085414d36aee4411ad2466e08e53bef8a/src/ax/ai/anthropic/types.ts#L226
speed?
optional speed: "fast";Defined in: https://github.com/ax-llm/ax/blob/3306475085414d36aee4411ad2466e08e53bef8a/src/ax/ai/anthropic/types.ts#L227
stop_sequences?
optional stop_sequences: string[];Defined in: https://github.com/ax-llm/ax/blob/3306475085414d36aee4411ad2466e08e53bef8a/src/ax/ai/anthropic/types.ts#L214
stream?
optional stream: boolean;Defined in: https://github.com/ax-llm/ax/blob/3306475085414d36aee4411ad2466e08e53bef8a/src/ax/ai/anthropic/types.ts#L215
system?
optional system:
| string
| object & AxAIAnthropicChatRequestCacheParam[];Defined in: https://github.com/ax-llm/ax/blob/3306475085414d36aee4411ad2466e08e53bef8a/src/ax/ai/anthropic/types.ts#L216
temperature?
optional temperature: number;Defined in: https://github.com/ax-llm/ax/blob/3306475085414d36aee4411ad2466e08e53bef8a/src/ax/ai/anthropic/types.ts#L222
thinking?
optional thinking: AxAIAnthropicThinkingWire;Defined in: https://github.com/ax-llm/ax/blob/3306475085414d36aee4411ad2466e08e53bef8a/src/ax/ai/anthropic/types.ts#L225
tool_choice?
optional tool_choice:
| {
type: "auto" | "any";
}
| {
name?: string;
type: "tool";
};Defined in: https://github.com/ax-llm/ax/blob/3306475085414d36aee4411ad2466e08e53bef8a/src/ax/ai/anthropic/types.ts#L211
tools?
optional tools: AxAIAnthropicRequestTool[];Defined in: https://github.com/ax-llm/ax/blob/3306475085414d36aee4411ad2466e08e53bef8a/src/ax/ai/anthropic/types.ts#L210
top_k?
optional top_k: number;Defined in: https://github.com/ax-llm/ax/blob/3306475085414d36aee4411ad2466e08e53bef8a/src/ax/ai/anthropic/types.ts#L224
top_p?
optional top_p: number;Defined in: https://github.com/ax-llm/ax/blob/3306475085414d36aee4411ad2466e08e53bef8a/src/ax/ai/anthropic/types.ts#L223