Crig::Providers::Gemini::Interactions::GenerationConfig
Inherits JSON::Serializable < Struct < Value < Object
Constructors
new(pull : JSON::PullParser)
Sourcenew(temperature : Float64 | Nil = nil, top_p : Float64 | Nil = nil, seed : Int64 | Nil = nil, stop_sequences : Array(String) | Nil = nil, tool_choice : ToolChoice | Nil = nil, thinking_level : ThinkingLevel | Nil = nil, thinking_summaries : ThinkingSummaries | Nil = nil, max_output_tokens : Int64 | Nil = nil, speech_config : Array(SpeechConfig) | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
empty?
Sourcemax_output_tokens
Sourceseed
Sourcespeech_config
Sourcestop_sequences
Sourcetemperature
Sourcethinking_level
Sourcethinking_summaries
Sourcetool_choice
Sourcetool_choice=(tool_choice : ToolChoice | Nil)
Sourcetop_p
Source