We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
InlineData
1 parent d900098 commit 14a4012Copy full SHA for 14a4012
firebase-ai/src/main/kotlin/com/google/firebase/ai/type/Part.kt
@@ -168,6 +168,12 @@ internal constructor(
168
) : InternalPart
169
}
170
171
+
172
+/**
173
+ * Represents binary data with an associated MIME type.
174
+ * @property data the binary data as a [ByteArray]
175
+ * @property mimeType an IANA standard MIME type.
176
+ */
177
public class InlineData(public val data: ByteArray, public val mimeType: String) {
178
@Serializable internal data class Internal(val mimeType: String, val data: Base64)
179
0 commit comments