|
11 | 11 | "created_at": "2024-09-25 05:36:04.547", |
12 | 12 | "tags": [], |
13 | 13 | "properties": [ |
| 14 | + { |
| 15 | + "property_id": "context_window", |
| 16 | + "value": "128000" |
| 17 | + }, |
14 | 18 | { |
15 | 19 | "property_id": "price", |
16 | 20 | "value": [ |
|
52 | 56 | "oneOf": [ |
53 | 57 | { |
54 | 58 | "type": "array", |
55 | | - "description": "An array of integers that represent the image data constrained to 8-bit unsigned integer values", |
| 59 | + "description": "An array of integers that represent the image data constrained to 8-bit unsigned integer values. Deprecated, use image as a part of messages now.", |
56 | 60 | "items": { |
57 | 61 | "type": "number", |
58 | 62 | "description": "A value between 0 and 255" |
|
61 | 65 | { |
62 | 66 | "type": "string", |
63 | 67 | "format": "binary", |
64 | | - "description": "Binary string representing the image contents." |
| 68 | + "description": "Binary string representing the image contents. Deprecated, use image as a part of messages now." |
65 | 69 | } |
66 | 70 | ] |
67 | 71 | }, |
|
145 | 149 | "type": "string", |
146 | 150 | "description": "The role of the message sender (e.g., 'user', 'assistant', 'system', 'tool')." |
147 | 151 | }, |
148 | | - "content": { |
| 152 | + "tool_call_id": { |
149 | 153 | "type": "string", |
150 | | - "maxLength": 131072, |
151 | | - "description": "The content of the message as a string." |
| 154 | + "description": "The tool call id. Must be supplied for tool calls for Mistral-3. If you don't know what to put here you can fall back to 000000001", |
| 155 | + "pattern": "[a-zA-Z0-9]{9}" |
| 156 | + }, |
| 157 | + "content": { |
| 158 | + "oneOf": [ |
| 159 | + { |
| 160 | + "type": "string", |
| 161 | + "description": "The content of the message as a string." |
| 162 | + }, |
| 163 | + { |
| 164 | + "type": "array", |
| 165 | + "items": { |
| 166 | + "type": "object", |
| 167 | + "properties": { |
| 168 | + "type": { |
| 169 | + "type": "string", |
| 170 | + "description": "Type of the content provided" |
| 171 | + }, |
| 172 | + "text": { |
| 173 | + "type": "string" |
| 174 | + }, |
| 175 | + "image_url": { |
| 176 | + "type": "object", |
| 177 | + "properties": { |
| 178 | + "url": { |
| 179 | + "type": "string", |
| 180 | + "pattern": "^data:*", |
| 181 | + "description": "image uri with data (e.g. data:image/jpeg;base64,/9j/...). HTTP URL will not be accepted" |
| 182 | + } |
| 183 | + } |
| 184 | + } |
| 185 | + } |
| 186 | + } |
| 187 | + }, |
| 188 | + { |
| 189 | + "type": "object", |
| 190 | + "properties": { |
| 191 | + "type": { |
| 192 | + "type": "string", |
| 193 | + "description": "Type of the content provided" |
| 194 | + }, |
| 195 | + "text": { |
| 196 | + "type": "string" |
| 197 | + }, |
| 198 | + "image_url": { |
| 199 | + "type": "object", |
| 200 | + "properties": { |
| 201 | + "url": { |
| 202 | + "type": "string", |
| 203 | + "pattern": "^data:*", |
| 204 | + "description": "image uri with data (e.g. data:image/jpeg;base64,/9j/...). HTTP URL will not be accepted" |
| 205 | + } |
| 206 | + } |
| 207 | + } |
| 208 | + } |
| 209 | + } |
| 210 | + ] |
152 | 211 | } |
153 | | - }, |
154 | | - "required": [ |
155 | | - "role", |
156 | | - "content" |
157 | | - ] |
| 212 | + } |
158 | 213 | } |
159 | 214 | }, |
160 | 215 | "image": { |
161 | 216 | "oneOf": [ |
162 | 217 | { |
163 | 218 | "type": "array", |
164 | | - "description": "An array of integers that represent the image data constrained to 8-bit unsigned integer values", |
| 219 | + "description": "An array of integers that represent the image data constrained to 8-bit unsigned integer values. Deprecated, use image as a part of messages now.", |
165 | 220 | "items": { |
166 | 221 | "type": "number", |
167 | 222 | "description": "A value between 0 and 255" |
|
170 | 225 | { |
171 | 226 | "type": "string", |
172 | 227 | "format": "binary", |
173 | | - "description": "Binary string representing the image contents." |
| 228 | + "description": "Binary string representing the image contents. Deprecated, use image as a part of messages now." |
174 | 229 | } |
175 | 230 | ] |
176 | 231 | }, |
|
0 commit comments