File tree Expand file tree Collapse file tree 2 files changed +13
-5
lines changed
articles/ai-services/openai Expand file tree Collapse file tree 2 files changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,9 @@ The following is a sample request body. The format is the same as the chat compl
54
54
},
55
55
{
56
56
"type" : " image_url" ,
57
- "image_url" : " <URL or base-64-encoded image>"
57
+ "image_url" : {
58
+ "url" : " <URL or base-64-encoded image>"
59
+ }
58
60
}
59
61
]
60
62
}
@@ -204,7 +206,9 @@ You must also include the `enhancements` and `dataSources` objects. `enhancement
204
206
},
205
207
{
206
208
"type" : " image_url" ,
207
- "image_url" : " <URL or base-64-encoded image>"
209
+ "image_url" : {
210
+ "url" :" <URL or base-64-encoded image>"
211
+ }
208
212
}
209
213
]
210
214
}
Original file line number Diff line number Diff line change @@ -68,8 +68,10 @@ Create a new Python file named _quickstart.py_. Open the new file in your prefer
68
68
" text" : " Describe this picture:"
69
69
},
70
70
{
71
- " type" : " image_url" ,
72
- " image_url" : " <URL or base 64 encoded image>" # Can url or data url with base64 image string
71
+ " type" : " image_url" ,
72
+ " image_url" : {
73
+ " url" : " <URL or base 64 encoded image>"
74
+ }
73
75
}
74
76
] }
75
77
],
@@ -150,7 +152,9 @@ The **object grounding** integration brings a new layer to data analysis and use
150
152
},
151
153
{
152
154
" type" : " image_url" ,
153
- " image_url" : " <URL or base 64 encoded image>" # Can be url or data url with base64 image string
155
+ " image_url" : {
156
+ " url" : " <URL or base 64 encoded image>"
157
+ }
154
158
}
155
159
]}
156
160
],
You can’t perform that action at this time.
0 commit comments