Crig::Providers::Ollama::OllamaCompletionRequest
Constructors
new(model : String, messages : Array(Message), temperature : Float64 | Nil = nil, tools : Array(ToolDefinition) = [] of ToolDefinition, stream : Bool = false, think : Bool | String | Nil = nil, max_tokens : Int64 | Nil = nil, keep_alive : String | Nil = nil, format : JSON::Any | Nil = nil, options : JSON::Any = JSON.parse("{\"temperature\":null}"))
SourceInstance methods
format
Sourcekeep_alive
Sourcemax_tokens
Sourcemessages
Sourcemodel
Sourceoptions
Sourcestream
Sourcestream?
Sourcetemperature
Sourcethink
Sourcethink?
Sourcetools
Source