Anthropic::Messages::Request
Constructors
new(model : Model | String, messages : Array(Message), max_tokens : Int32, system : String | Nil = nil, temperature : Float64 | Nil = nil, top_p : Float64 | Nil = nil, top_k : Int32 | Nil = nil, stop_sequences : Array(String) | Nil = nil, stream : Bool | Nil = nil, metadata : Metadata | Nil = nil, tools : Array(ToolDefinition) | Nil = nil, tool_choice : ToolChoice | Nil = nil, thinking : ThinkingConfig | Nil = nil)
SourceInstance methods
max_tokens
Sourcemessages
Sourcemetadata
Sourcemodel
Sourcestop_sequences
Sourcestream
Sourcesystem
Sourcetemperature
Sourcethinking
Sourcetool_choice
Sourcetools
Sourcetop_k
Sourcetop_p
Source