struct

Crig::Providers::Gemini::GenerateContentRequest

Inherits Struct < Value < Object

Constructors

new(contents : Array(Content), tools : Array(Tool) | Nil = nil, tool_config : ToolConfig | Nil = nil, generation_config : GenerationConfig | Nil = nil, system_instruction : Content | Nil = nil, additional_params : JSON::Any | Nil = nil)
Source

Instance methods

additional_params
Source
contents
Source
generation_config
Source
system_instruction
Source
to_json(json : JSON::Builder) : Nil
Source
tool_config
Source
tools
Source