View Source GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1Part (google_api_ai_platform v0.24.0)
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.
Attributes
-
fileData(type:GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1FileData.t, default:nil) - Optional. URI based data. -
functionCall(type:GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1FunctionCall.t, default:nil) - Optional. A predicted [FunctionCall] returned from the model that contains a string representing the [FunctionDeclaration.name] with the parameters and their values. -
functionResponse(type:GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1FunctionResponse.t, default:nil) - 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. -
inlineData(type:GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1Blob.t, default:nil) - Optional. Inlined bytes data. -
text(type:String.t, default:nil) - Optional. Text part (can be code). -
videoMetadata(type:GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1VideoMetadata.t, default:nil) - Optional. Video metadata. The metadata should only be specified while the video data is presented in inline_data or file_data.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1Part{ fileData: GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1FileData.t() | nil, functionCall: GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1FunctionCall.t() | nil, functionResponse: GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1FunctionResponse.t() | nil, inlineData: GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1Blob.t() | nil, text: String.t() | nil, videoMetadata: GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1VideoMetadata.t() | nil }