Crig::Providers::Anthropic::AnthropicCompletionRequest
Constructors
from_params(params : AnthropicRequestParams) : self
Sourcenew(model : String, messages : Array(Message), max_tokens : Int64, system : Array(SystemContent) = [] of SystemContent, temperature : Float64 | Nil = nil, tool_choice : ToolChoice | Nil = nil, tools : Array(ToolDefinition) = [] of ToolDefinition, output_config : OutputConfig | Nil = nil, additional_params : JSON::Any | Nil = nil)
SourceInstance methods
additional_params
Sourcemax_tokens
Sourcemessages
Sourcemodel
Sourceoutput_config
Sourcesystem
Sourcetemperature
Sourceto_json_value
Sourcetool_choice
Sourcetools
Source