AI::Google::GoogleGenerativeAIPrompt
Inherits JSON::Serializable < Struct < Value < Object
Complete prompt structure for Google Generative AI.
Constructors
new(pull : JSON::PullParser)
Sourcenew(contents : Array(GoogleGenerativeAIContent), system_instruction : GoogleGenerativeAISystemInstruction | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
contents
Sourcesystem_instruction
Source