You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2023-06-01-preview/generated.json
+8-6Lines changed: 8 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -421,7 +421,7 @@
421
421
},
422
422
"created": {
423
423
"type": "integer",
424
-
"format": "int64",
424
+
"format": "unixtime",
425
425
"description": "A timestamp when this job or item was created (in unix epochs)."
426
426
},
427
427
"expires": {
@@ -492,7 +492,7 @@
492
492
},
493
493
"created": {
494
494
"type": "integer",
495
-
"format": "int32",
495
+
"format": "unixtime",
496
496
"description": "The first timestamp associated with generation activity for this completions response,\nrepresented as seconds since the beginning of the Unix epoch of 00:00 on 1 Jan 1970."
497
497
},
498
498
"choices": {
@@ -613,11 +613,13 @@
613
613
},
614
614
"content": {
615
615
"type": "string",
616
-
"description": "The text associated with this message payload."
616
+
"description": "The text associated with this message payload.",
617
+
"x-nullable": true
617
618
}
618
619
},
619
620
"required": [
620
-
"role"
621
+
"role",
622
+
"content"
621
623
]
622
624
},
623
625
"ChatRole": {
@@ -702,7 +704,7 @@
702
704
},
703
705
"created": {
704
706
"type": "integer",
705
-
"format": "int32",
707
+
"format": "unixtime",
706
708
"description": "The first timestamp associated with generation activity for this completions response,\nrepresented as seconds since the beginning of the Unix epoch of 00:00 on 1 Jan 1970."
707
709
},
708
710
"prompt_annotations": {
@@ -1164,7 +1166,7 @@
1164
1166
"properties": {
1165
1167
"created": {
1166
1168
"type": "integer",
1167
-
"format": "int64",
1169
+
"format": "unixtime",
1168
1170
"description": "A timestamp when this job or item was created (in unix epochs)."
Copy file name to clipboardExpand all lines: specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2023-07-01-preview/generated.json
+8-6Lines changed: 8 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -421,7 +421,7 @@
421
421
},
422
422
"created": {
423
423
"type": "integer",
424
-
"format": "int64",
424
+
"format": "unixtime",
425
425
"description": "A timestamp when this job or item was created (in unix epochs)."
426
426
},
427
427
"expires": {
@@ -492,7 +492,7 @@
492
492
},
493
493
"created": {
494
494
"type": "integer",
495
-
"format": "int32",
495
+
"format": "unixtime",
496
496
"description": "The first timestamp associated with generation activity for this completions response,\nrepresented as seconds since the beginning of the Unix epoch of 00:00 on 1 Jan 1970."
497
497
},
498
498
"choices": {
@@ -625,7 +625,8 @@
625
625
},
626
626
"content": {
627
627
"type": "string",
628
-
"description": "The text associated with this message payload."
628
+
"description": "The text associated with this message payload.",
629
+
"x-nullable": true
629
630
},
630
631
"name": {
631
632
"type": "string",
@@ -638,7 +639,8 @@
638
639
}
639
640
},
640
641
"required": [
641
-
"role"
642
+
"role",
643
+
"content"
642
644
]
643
645
},
644
646
"ChatRole": {
@@ -729,7 +731,7 @@
729
731
},
730
732
"created": {
731
733
"type": "integer",
732
-
"format": "int32",
734
+
"format": "unixtime",
733
735
"description": "The first timestamp associated with generation activity for this completions response,\nrepresented as seconds since the beginning of the Unix epoch of 00:00 on 1 Jan 1970."
734
736
},
735
737
"prompt_annotations": {
@@ -1235,7 +1237,7 @@
1235
1237
"properties": {
1236
1238
"created": {
1237
1239
"type": "integer",
1238
-
"format": "int64",
1240
+
"format": "unixtime",
1239
1241
"description": "A timestamp when this job or item was created (in unix epochs)."
Copy file name to clipboardExpand all lines: specification/cognitiveservices/data-plane/AzureOpenAI/inference/stable/2022-12-01/generated.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -271,7 +271,7 @@
271
271
},
272
272
"created": {
273
273
"type": "integer",
274
-
"format": "int32",
274
+
"format": "unixtime",
275
275
"description": "The first timestamp associated with generation activity for this completions response,\nrepresented as seconds since the beginning of the Unix epoch of 00:00 on 1 Jan 1970."
Copy file name to clipboardExpand all lines: specification/cognitiveservices/data-plane/AzureOpenAI/inference/stable/2023-05-15/generated.json
+6-4Lines changed: 6 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -314,7 +314,7 @@
314
314
},
315
315
"created": {
316
316
"type": "integer",
317
-
"format": "int32",
317
+
"format": "unixtime",
318
318
"description": "The first timestamp associated with generation activity for this completions response,\nrepresented as seconds since the beginning of the Unix epoch of 00:00 on 1 Jan 1970."
319
319
},
320
320
"choices": {
@@ -426,11 +426,13 @@
426
426
},
427
427
"content": {
428
428
"type": "string",
429
-
"description": "The text associated with this message payload."
429
+
"description": "The text associated with this message payload.",
430
+
"x-nullable": true
430
431
}
431
432
},
432
433
"required": [
433
-
"role"
434
+
"role",
435
+
"content"
434
436
]
435
437
},
436
438
"ChatRole": {
@@ -510,7 +512,7 @@
510
512
},
511
513
"created": {
512
514
"type": "integer",
513
-
"format": "int32",
515
+
"format": "unixtime",
514
516
"description": "The first timestamp associated with generation activity for this completions response,\nrepresented as seconds since the beginning of the Unix epoch of 00:00 on 1 Jan 1970."
0 commit comments