interface AnthropicRequest {
    anthropic_version: string;
    max_tokens: number;
    messages: AnthropicMessage[];
    metadata?: AnthropicMetadata;
    stop_sequences?: string[];
    stream?: boolean;
    system?: string;
    temperature?: number;
    tool_choice?: AnthropicToolChoice;
    tools?: AnthropicTool[];
    top_k?: number;
    top_p?: number;
}

Properties

anthropic_version: string
max_tokens: number
messages: AnthropicMessage[]
stop_sequences?: string[]
stream?: boolean
system?: string
temperature?: number
tool_choice?: AnthropicToolChoice
tools?: AnthropicTool[]
top_k?: number
top_p?: number