struct

AI::Google::GoogleGenerativeAIPrompt

Inherits JSON::Serializable < Struct < Value < Object

Complete prompt structure for Google Generative AI.

Constructors

new(contents : Array(GoogleGenerativeAIContent), system_instruction : GoogleGenerativeAISystemInstruction | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

contents
Source
system_instruction
Source