struct

Crig::Providers::Gemini::Interactions::GenerationConfig

Inherits JSON::Serializable < Struct < Value < Object

Constructors

new(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)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

empty?
Source
max_output_tokens
Source
max_output_tokens=(max_output_tokens : Int64 | Nil)
Source
seed
Source
speech_config
Source
stop_sequences
Source
temperature
Source
temperature=(temperature : Float64 | Nil)
Source
thinking_level
Source
thinking_summaries
Source
tool_choice
Source
tool_choice=(tool_choice : ToolChoice | Nil)
Source
top_p
Source