Anthropic::BetaBatchRequestParams
Inherits JSON::Serializable < Struct < Value < Object
Constructors
new(model : String, max_tokens : Int32, messages : Array(MessageParam), system : String | Array(TextContent) | Nil = nil, temperature : Float64 | Nil = nil, top_p : Float64 | Nil = nil, top_k : Int32 | Nil = nil, tools : Array(ToolDefinition | ServerTool) | Nil = nil, tool_choice : ToolChoice | Nil = nil, stop_sequences : Array(String) | Nil = nil, metadata : Metadata | Nil = nil, service_tier : String | Nil = nil, speed : String | Nil = nil, thinking : ThinkingConfig | Nil = nil, cache_control : CacheControl | Nil = nil, output_config : OutputConfig | Nil = nil, inference_geo : String | Nil = nil, context_management : ContextManagementConfig | Nil = nil, container : String | ContainerConfig | Nil = nil, mcp_servers : Array(MCPServerDefinition) | Nil = nil)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
Sourcewith_tools(model : String, max_tokens : Int32, messages : Array(MessageParam), tools : Array(Tool), server_tools : Array(ServerTool) | Nil = nil, system : String | Array(TextContent) | Nil = nil, temperature : Float64 | Nil = nil, top_p : Float64 | Nil = nil, top_k : Int32 | Nil = nil, tool_choice : ToolChoice | Nil = nil, stop_sequences : Array(String) | Nil = nil, metadata : Metadata | Nil = nil, service_tier : String | Nil = nil, speed : String | Nil = nil, thinking : ThinkingConfig | Nil = nil, cache_control : CacheControl | Nil = nil, output_config : OutputConfig | Nil = nil, inference_geo : String | Nil = nil, context_management : ContextManagementConfig | Nil = nil, container : String | ContainerConfig | Nil = nil, mcp_servers : Array(MCPServerDefinition) | Nil = nil) : self
SourceInstance methods
cache_control
Sourcecontainer
Sourcecontext_management
Sourceinference_geo
Sourcemax_tokens
Sourcemcp_servers
Sourcemessages
Sourcemetadata
Sourcemodel
Sourceoutput_config
Sourceservice_tier
Sourcespeed
Sourcestop_sequences
Sourcesystem
Sourcetemperature
Sourcethinking
Sourcetool_choice
Sourcetools
Sourcetop_k
Sourcetop_p
Source