Class: Google::Cloud::AIPlatform::V1::Part
- Inherits:
-
Object
- Object
- Google::Cloud::AIPlatform::V1::Part
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/aiplatform/v1/content.rb
Overview
A datatype containing media that is part of a multi-part Content
message.
A Part
consists of data which has an associated datatype. A Part
can only
contain one of the accepted types in Part.data
.
A Part
must have a fixed IANA MIME type identifying the type and subtype
of the media if inline_data
or file_data
field is filled with raw bytes.
Instance Attribute Summary collapse
-
#file_data ⇒ ::Google::Cloud::AIPlatform::V1::FileData
Optional.
-
#function_call ⇒ ::Google::Cloud::AIPlatform::V1::FunctionCall
Optional.
-
#function_response ⇒ ::Google::Cloud::AIPlatform::V1::FunctionResponse
Optional.
-
#inline_data ⇒ ::Google::Cloud::AIPlatform::V1::Blob
Optional.
-
#text ⇒ ::String
Optional.
-
#video_metadata ⇒ ::Google::Cloud::AIPlatform::V1::VideoMetadata
Optional.
Instance Attribute Details
#file_data ⇒ ::Google::Cloud::AIPlatform::V1::FileData
Returns Optional. URI based data.
75 76 77 78 |
# File 'proto_docs/google/cloud/aiplatform/v1/content.rb', line 75 class Part include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#function_call ⇒ ::Google::Cloud::AIPlatform::V1::FunctionCall
Returns Optional. A predicted [FunctionCall] returned from the model that contains a string representing the [FunctionDeclaration.name] with the parameters and their values.
75 76 77 78 |
# File 'proto_docs/google/cloud/aiplatform/v1/content.rb', line 75 class Part include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#function_response ⇒ ::Google::Cloud::AIPlatform::V1::FunctionResponse
Returns Optional. The result output of a [FunctionCall] that contains a string representing the [FunctionDeclaration.name] and a structured JSON object containing any output from the function call. It is used as context to the model.
75 76 77 78 |
# File 'proto_docs/google/cloud/aiplatform/v1/content.rb', line 75 class Part include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#inline_data ⇒ ::Google::Cloud::AIPlatform::V1::Blob
Returns Optional. Inlined bytes data.
75 76 77 78 |
# File 'proto_docs/google/cloud/aiplatform/v1/content.rb', line 75 class Part include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#text ⇒ ::String
Returns Optional. Text part (can be code).
75 76 77 78 |
# File 'proto_docs/google/cloud/aiplatform/v1/content.rb', line 75 class Part include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#video_metadata ⇒ ::Google::Cloud::AIPlatform::V1::VideoMetadata
Returns Optional. Video metadata. The metadata should only be specified while the video data is presented in inline_data or file_data.
75 76 77 78 |
# File 'proto_docs/google/cloud/aiplatform/v1/content.rb', line 75 class Part include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |