File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -28,11 +28,19 @@ public struct ModelContent: Equatable {
2828 /// Data with a specified media type. Not all media types may be supported by the AI model.
2929 case data( mimetype: String , Data )
3030
31- /// URI-based data with a specified media type .
31+ /// File data stored in Cloud Storage for Firebase, referenced by URI .
3232 ///
33- /// > Note: Supported media types depends on the model; see [supported file formats
33+ /// > Note: Supported media types depends on the model; see [media requirements
3434 /// > ](https://cloud.google.com/vertex-ai/generative-ai/docs/multimodal/send-multimodal-prompts#media_requirements)
3535 /// > for details.
36+ ///
37+ /// - Parameters:
38+ /// - mimetype: The IANA standard MIME type of the uploaded file, for example, `"image/jpeg"`
39+ /// or `"video/mp4"`; see [media requirements
40+ /// ](https://cloud.google.com/vertex-ai/generative-ai/docs/multimodal/send-multimodal-prompts#media_requirements)
41+ /// for supported values.
42+ /// - uri: The `"gs://"`-prefixed URI of the file in Cloud Storage for Firebase, for example,
43+ /// `"gs://bucket-name/path/image.jpg"`.
3644 case fileData( mimetype: String , uri: String )
3745
3846 /// A predicted function call returned from the model.
You can’t perform that action at this time.
0 commit comments