Google::GenerativeAI::GenerateContentRequest(Tools)
Inherits MessagePack::Serializable < JSON::Serializable < Google::Resource < Struct < Value < Object
Constructors
new(pull : JSON::PullParser)
new(pull : MessagePack::Unpacker)
new(*, __pull_for_json_serializable pull : JSON::PullParser)
new(*, contents)
Sourcenew(*, contents : Array(Google::GenerativeAI::Content) | String, generation_config : Google::GenerativeAI::GenerationConfig | Nil, tools : Tools, system_instruction : Google::GenerativeAI::Content | Nil)
SourceInstance methods
contents
generation_config
system_instruction
tools