struct

Crig::Providers::Gemini::Interactions::CreateInteractionRequest

Inherits Struct < Value < Object

Constructors

new(input : InteractionInput, model : String | Nil = nil, agent : String | Nil = nil, system_instruction : String | Nil = nil, tools : Array(Tool) | Nil = nil, response_format : JSON::Any | Nil = nil, response_mime_type : String | Nil = nil, stream : Bool | Nil = nil, store : Bool | Nil = nil, background : Bool | Nil = nil, generation_config : GenerationConfig | Nil = nil, agent_config : AgentConfig | Nil = nil, response_modalities : Array(ResponseModality) | Nil = nil, previous_interaction_id : String | Nil = nil, additional_params : JSON::Any | Nil = nil)
Source

Instance methods

additional_params
Source
agent
Source
agent_config
Source
background
Source
generation_config
Source
input
Source
model
Source
previous_interaction_id
Source
response_format
Source
response_mime_type
Source
response_modalities
Source
store
Source
stream
Source
system_instruction
Source
to_json(json : JSON::Builder) : Nil

ameba:disable Metrics/CyclomaticComplexity

Source
tools
Source