Google::GenerativeAI::Content::Part
Inherits MessagePack::Serializable < JSON::Serializable < Google::Resource < Struct < Value < Object
Constructors
new(pull : JSON::PullParser)
new(pull : MessagePack::Unpacker)
new(text : String)
Sourcenew(inline_data : InlineData)
Sourcenew(function_call : FunctionCall)
Sourcenew(function_response : FunctionResponse)
Sourcenew(file_data : FileData)
Sourcenew(executable_code : ExecutableCode)
Sourcenew(code_execution_result : CodeExecutionResult)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance methods
code_execution_result
executable_code
file_data
function_call
function_response
inline_data
text