struct Google::GenerativeAI::Content::Part
- Google::GenerativeAI::Content::Part
- Struct
- Value
- Object
Included Modules
- Google::Resource
- JSON::Serializable
- MessagePack::Serializable
Extended Modules
- JSON::Schema
Defined in:
gemini.crConstructors
- .new(pull : JSON::PullParser)
- .new(pull : MessagePack::Unpacker)
- .new(text : String)
- .new(inline_data : InlineData)
- .new(function_call : FunctionCall)
- .new(function_response : FunctionResponse)
- .new(file_data : FileData)
- .new(executable_code : ExecutableCode)
- .new(code_execution_result : CodeExecutionResult)
Instance Method Summary
- #code_execution_result : CodeExecutionResult | Nil
- #executable_code : ExecutableCode | Nil
- #file_data : FileData | Nil
- #function_call : FunctionCall | Nil
- #function_response : FunctionResponse | Nil
- #inline_data : InlineData | Nil
- #text : String | Nil
-
#to_s(io : IO) : Nil
Same as
#inspect(io)
.