File tree 1 file changed +9
-3
lines changed
1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -45,13 +45,19 @@ public struct ModelContent: Codable, Equatable {
45
45
46
46
/// Data with a specified media type.
47
47
///
48
- /// > Note: Supported media types depends on the model.
48
+ /// > Note: Supported media types depends on the model; see
49
+ /// > [supported file
50
+ /// > formats](https://ai.google.dev/tutorials/prompting_with_media#supported_file_formats)
51
+ /// > for details.
49
52
case data( mimetype: String , Data )
50
53
51
54
/// URI-based data with a specified media type.
52
55
///
53
- /// > Note: Supported media types depends on the model.
54
- case fileData( mimetype: String , URL )
56
+ /// > Note: Supported media types depends on the model; see
57
+ /// > [supported file
58
+ /// > formats](https://ai.google.dev/tutorials/prompting_with_media#supported_file_formats)
59
+ /// > for details.
60
+ case fileData( mimetype: String , uri: String )
55
61
56
62
/// A predicted function call returned from the model.
57
63
case functionCall( FunctionCall )
You can’t perform that action at this time.
0 commit comments