AxAIAnthropicChatRequest
type AxAIAnthropicChatRequest = object;
Defined in: https://github.com/ax-llm/ax/blob/242cf18d21de9f9d58c7c82f53305f0605497473/src/ax/ai/anthropic/types.ts#L95
Properties
anthropic_version?
optional anthropic_version: string;
Defined in: https://github.com/ax-llm/ax/blob/242cf18d21de9f9d58c7c82f53305f0605497473/src/ax/ai/anthropic/types.ts#L97
max_tokens?
optional max_tokens: number;
Defined in: https://github.com/ax-llm/ax/blob/242cf18d21de9f9d58c7c82f53305f0605497473/src/ax/ai/anthropic/types.ts#L162
messages
messages: (
| {
content: | string
| (
| ... & ...
| ... & ...
| {
content: ... | ...;
is_error?: boolean;
tool_use_id: string;
type: "tool_result";
})[];
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/242cf18d21de9f9d58c7c82f53305f0605497473/src/ax/ai/anthropic/types.ts#L98
metadata?
optional metadata: object;
Defined in: https://github.com/ax-llm/ax/blob/242cf18d21de9f9d58c7c82f53305f0605497473/src/ax/ai/anthropic/types.ts#L180
user_id
user_id: string;
model?
optional model: string;
Defined in: https://github.com/ax-llm/ax/blob/242cf18d21de9f9d58c7c82f53305f0605497473/src/ax/ai/anthropic/types.ts#L96
output_format?
optional output_format: object;
Defined in: https://github.com/ax-llm/ax/blob/242cf18d21de9f9d58c7c82f53305f0605497473/src/ax/ai/anthropic/types.ts#L176
schema
schema: object;
type
type: "json_schema";
stop_sequences?
optional stop_sequences: string[];
Defined in: https://github.com/ax-llm/ax/blob/242cf18d21de9f9d58c7c82f53305f0605497473/src/ax/ai/anthropic/types.ts#L164
stream?
optional stream: boolean;
Defined in: https://github.com/ax-llm/ax/blob/242cf18d21de9f9d58c7c82f53305f0605497473/src/ax/ai/anthropic/types.ts#L165
system?
optional system:
| string
| object & AxAIAnthropicChatRequestCacheParam[];
Defined in: https://github.com/ax-llm/ax/blob/242cf18d21de9f9d58c7c82f53305f0605497473/src/ax/ai/anthropic/types.ts#L166
temperature?
optional temperature: number;
Defined in: https://github.com/ax-llm/ax/blob/242cf18d21de9f9d58c7c82f53305f0605497473/src/ax/ai/anthropic/types.ts#L172
thinking?
optional thinking: AxAIAnthropicThinkingConfig;
Defined in: https://github.com/ax-llm/ax/blob/242cf18d21de9f9d58c7c82f53305f0605497473/src/ax/ai/anthropic/types.ts#L175
tool_choice?
optional tool_choice:
| {
type: "auto" | "any";
}
| {
name?: string;
type: "tool";
};
Defined in: https://github.com/ax-llm/ax/blob/242cf18d21de9f9d58c7c82f53305f0605497473/src/ax/ai/anthropic/types.ts#L161
tools?
optional tools: AxAIAnthropicRequestTool[];
Defined in: https://github.com/ax-llm/ax/blob/242cf18d21de9f9d58c7c82f53305f0605497473/src/ax/ai/anthropic/types.ts#L160
top_k?
optional top_k: number;
Defined in: https://github.com/ax-llm/ax/blob/242cf18d21de9f9d58c7c82f53305f0605497473/src/ax/ai/anthropic/types.ts#L174
top_p?
optional top_p: number;
Defined in: https://github.com/ax-llm/ax/blob/242cf18d21de9f9d58c7c82f53305f0605497473/src/ax/ai/anthropic/types.ts#L173