AxAIAnthropicChatRequest
type AxAIAnthropicChatRequest = object;
Defined in: https://github.com/ax-llm/ax/blob/9a5a7060a48f9eef46efc680b0cdf6b42bff5df2/src/ax/ai/anthropic/types.ts#L52
Properties
anthropic_version?
optional anthropic_version: string;
Defined in: https://github.com/ax-llm/ax/blob/9a5a7060a48f9eef46efc680b0cdf6b42bff5df2/src/ax/ai/anthropic/types.ts#L54
max_tokens?
optional max_tokens: number;
Defined in: https://github.com/ax-llm/ax/blob/9a5a7060a48f9eef46efc680b0cdf6b42bff5df2/src/ax/ai/anthropic/types.ts#L114
messages
messages: (
| {
content: | string
| (
| ... & ...
| ... & ...
| {
content: ... | ...;
is_error?: boolean;
tool_use_id: string;
type: "tool_result";
})[];
role: "user";
}
| {
content: | string
| (
| {
text: string;
type: "text";
}
| {
id: string;
input: object;
name: string;
type: "tool_use";
}
| {
signature?: string;
thinking: string;
type: "thinking";
}
| {
signature?: string;
thinking: string;
type: "redacted_thinking";
})[];
role: "assistant";
})[];
Defined in: https://github.com/ax-llm/ax/blob/9a5a7060a48f9eef46efc680b0cdf6b42bff5df2/src/ax/ai/anthropic/types.ts#L55
metadata?
optional metadata: object;
Defined in: https://github.com/ax-llm/ax/blob/9a5a7060a48f9eef46efc680b0cdf6b42bff5df2/src/ax/ai/anthropic/types.ts#L128
user_id
user_id: string;
model?
optional model: string;
Defined in: https://github.com/ax-llm/ax/blob/9a5a7060a48f9eef46efc680b0cdf6b42bff5df2/src/ax/ai/anthropic/types.ts#L53
stop_sequences?
optional stop_sequences: string[];
Defined in: https://github.com/ax-llm/ax/blob/9a5a7060a48f9eef46efc680b0cdf6b42bff5df2/src/ax/ai/anthropic/types.ts#L116
stream?
optional stream: boolean;
Defined in: https://github.com/ax-llm/ax/blob/9a5a7060a48f9eef46efc680b0cdf6b42bff5df2/src/ax/ai/anthropic/types.ts#L117
system?
optional system:
| string
| object & AxAIAnthropicChatRequestCacheParam[];
Defined in: https://github.com/ax-llm/ax/blob/9a5a7060a48f9eef46efc680b0cdf6b42bff5df2/src/ax/ai/anthropic/types.ts#L118
temperature?
optional temperature: number;
Defined in: https://github.com/ax-llm/ax/blob/9a5a7060a48f9eef46efc680b0cdf6b42bff5df2/src/ax/ai/anthropic/types.ts#L124
thinking?
optional thinking: AxAIAnthropicThinkingConfig;
Defined in: https://github.com/ax-llm/ax/blob/9a5a7060a48f9eef46efc680b0cdf6b42bff5df2/src/ax/ai/anthropic/types.ts#L127
tool_choice?
optional tool_choice:
| {
type: "auto" | "any";
}
| {
name?: string;
type: "tool";
};
Defined in: https://github.com/ax-llm/ax/blob/9a5a7060a48f9eef46efc680b0cdf6b42bff5df2/src/ax/ai/anthropic/types.ts#L113
tools?
optional tools: object & AxAIAnthropicChatRequestCacheParam[];
Defined in: https://github.com/ax-llm/ax/blob/9a5a7060a48f9eef46efc680b0cdf6b42bff5df2/src/ax/ai/anthropic/types.ts#L108
top_k?
optional top_k: number;
Defined in: https://github.com/ax-llm/ax/blob/9a5a7060a48f9eef46efc680b0cdf6b42bff5df2/src/ax/ai/anthropic/types.ts#L126
top_p?
optional top_p: number;
Defined in: https://github.com/ax-llm/ax/blob/9a5a7060a48f9eef46efc680b0cdf6b42bff5df2/src/ax/ai/anthropic/types.ts#L125