Firebase.AI.ModelContent.InlineDataPart
Data with a specified media type.
Summary
Note: Not all media types may be supported by the AI model.
Inheritance
Inherits from: Firebase.AI.ModelContent.PartConstructors and Destructors | |
---|---|
InlineDataPart(string mimeType, byte[] data) Creates an InlineDataPart from data and a MIME type. |
Properties | |
---|---|
Data | ReadOnlyMemory< byte > The data provided in the inline data part. |
MimeType | string The IANA standard MIME type of the data. |
Public functions | |
---|---|
ToJson() | Dictionary< string, object > Part. |
Properties
Data
ReadOnlyMemory< byte > Firebase::AI::ModelContent::InlineDataPart::Data
The data provided in the inline data part.
MimeType
string Firebase::AI::ModelContent::InlineDataPart::MimeType
The IANA standard MIME type of the data.
Public functions
ToJson
Dictionary< string, object > Part. Firebase::AI::ModelContent::InlineDataPart::ToJson()