|
14 | 14 | "type": "string", |
15 | 15 | "description": "Model parameter size (e.g., '7B', '32B', '200B')" |
16 | 16 | }, |
17 | | - "totalContext": { |
18 | | - "type": "string", |
19 | | - "description": "Total context window size (e.g., '32K', '64K', '200K')" |
| 17 | + "contextWindow": { |
| 18 | + "type": "number", |
| 19 | + "description": "Total context window size in tokens (e.g., 32000, 64000, 200000)" |
20 | 20 | }, |
21 | 21 | "maxOutput": { |
22 | | - "type": "string", |
23 | | - "description": "Maximum output token size (e.g., '4K', '8K')" |
| 22 | + "type": "number", |
| 23 | + "description": "Maximum output token size in tokens (e.g., 4096, 8192)" |
24 | 24 | }, |
25 | 25 | "tokenPricing": { |
26 | 26 | "type": "object", |
|
42 | 42 | "required": ["input", "output", "cache"], |
43 | 43 | "additionalProperties": false |
44 | 44 | }, |
45 | | - "platformUrls": { |
46 | | - "$ref": "./ref/platform-urls.schema.json", |
47 | | - "description": "URLs to various third-party platform pages for this model" |
| 45 | + "releaseDate": { |
| 46 | + "type": ["string", "null"], |
| 47 | + "format": "date", |
| 48 | + "description": "Model release date in ISO 8601 format (YYYY-MM-DD), null if release date is unknown" |
| 49 | + }, |
| 50 | + "inputModalities": { |
| 51 | + "type": "array", |
| 52 | + "description": "Input modalities supported by the model", |
| 53 | + "items": { |
| 54 | + "type": "string", |
| 55 | + "enum": ["image", "text", "file"] |
| 56 | + }, |
| 57 | + "uniqueItems": true, |
| 58 | + "minItems": 1 |
48 | 59 | }, |
49 | 60 | "benchmarks": { |
50 | 61 | "type": "object", |
|
80 | 91 | } |
81 | 92 | }, |
82 | 93 | "additionalProperties": false |
| 94 | + }, |
| 95 | + "platformUrls": { |
| 96 | + "$ref": "./ref/platform-urls.schema.json", |
| 97 | + "description": "URLs to various third-party platform pages for this model" |
83 | 98 | } |
84 | 99 | }, |
85 | | - "required": ["size", "totalContext", "maxOutput", "tokenPricing", "platformUrls"] |
| 100 | + "required": [ |
| 101 | + "size", |
| 102 | + "contextWindow", |
| 103 | + "maxOutput", |
| 104 | + "tokenPricing", |
| 105 | + "releaseDate", |
| 106 | + "inputModalities", |
| 107 | + "benchmarks", |
| 108 | + "platformUrls" |
| 109 | + ] |
86 | 110 | } |
87 | 111 | ] |
88 | 112 | } |
0 commit comments