llama-stack-client 0.2.15 → 0.2.16-rc1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/resources/chat/completions.d.ts +48 -288
- package/resources/chat/completions.d.ts.map +1 -1
- package/resources/inference.d.ts +6 -0
- package/resources/inference.d.ts.map +1 -1
- package/resources/inference.js +2 -0
- package/resources/inference.js.map +1 -1
- package/resources/inference.mjs +2 -0
- package/resources/inference.mjs.map +1 -1
- package/resources/post-training/job.d.ts +44 -2
- package/resources/post-training/job.d.ts.map +1 -1
- package/resources/post-training/post-training.d.ts +2 -4
- package/resources/post-training/post-training.d.ts.map +1 -1
- package/resources/post-training/post-training.js.map +1 -1
- package/resources/post-training/post-training.mjs.map +1 -1
- package/resources/shared.d.ts +1 -1
- package/resources/shared.d.ts.map +1 -1
- package/resources/vector-dbs.d.ts +7 -0
- package/resources/vector-dbs.d.ts.map +1 -1
- package/resources/vector-stores/vector-stores.d.ts +4 -8
- package/resources/vector-stores/vector-stores.d.ts.map +1 -1
- package/resources/vector-stores/vector-stores.js.map +1 -1
- package/resources/vector-stores/vector-stores.mjs.map +1 -1
- package/src/resources/chat/completions.ts +48 -504
- package/src/resources/inference.ts +6 -0
- package/src/resources/post-training/job.ts +64 -2
- package/src/resources/post-training/post-training.ts +2 -6
- package/src/resources/shared.ts +1 -1
- package/src/resources/vector-dbs.ts +11 -0
- package/src/resources/vector-stores/vector-stores.ts +4 -9
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.d.ts.map +1 -1
- package/version.js +1 -1
- package/version.js.map +1 -1
- package/version.mjs +1 -1
- package/version.mjs.map +1 -1
|
@@ -185,12 +185,7 @@ export namespace CompletionCreateResponse {
|
|
|
185
185
|
* they are concatenated. The underlying Llama Stack code may also add other system
|
|
186
186
|
* messages (for example, for formatting tool definitions).
|
|
187
187
|
*/
|
|
188
|
-
content:
|
|
189
|
-
| string
|
|
190
|
-
| Array<
|
|
191
|
-
| OpenAISystemMessageParam.OpenAIChatCompletionContentPartTextParam
|
|
192
|
-
| OpenAISystemMessageParam.OpenAIChatCompletionContentPartImageParam
|
|
193
|
-
>;
|
|
188
|
+
content: string | Array<OpenAISystemMessageParam.UnionMember1>;
|
|
194
189
|
|
|
195
190
|
/**
|
|
196
191
|
* Must be "system" to identify this as a system message
|
|
@@ -204,25 +199,11 @@ export namespace CompletionCreateResponse {
|
|
|
204
199
|
}
|
|
205
200
|
|
|
206
201
|
export namespace OpenAISystemMessageParam {
|
|
207
|
-
export interface
|
|
202
|
+
export interface UnionMember1 {
|
|
208
203
|
text: string;
|
|
209
204
|
|
|
210
205
|
type: 'text';
|
|
211
206
|
}
|
|
212
|
-
|
|
213
|
-
export interface OpenAIChatCompletionContentPartImageParam {
|
|
214
|
-
image_url: OpenAIChatCompletionContentPartImageParam.ImageURL;
|
|
215
|
-
|
|
216
|
-
type: 'image_url';
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
export namespace OpenAIChatCompletionContentPartImageParam {
|
|
220
|
-
export interface ImageURL {
|
|
221
|
-
url: string;
|
|
222
|
-
|
|
223
|
-
detail?: string;
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
207
|
}
|
|
227
208
|
|
|
228
209
|
/**
|
|
@@ -238,12 +219,7 @@ export namespace CompletionCreateResponse {
|
|
|
238
219
|
/**
|
|
239
220
|
* The content of the model's response
|
|
240
221
|
*/
|
|
241
|
-
content?:
|
|
242
|
-
| string
|
|
243
|
-
| Array<
|
|
244
|
-
| OpenAIAssistantMessageParam.OpenAIChatCompletionContentPartTextParam
|
|
245
|
-
| OpenAIAssistantMessageParam.OpenAIChatCompletionContentPartImageParam
|
|
246
|
-
>;
|
|
222
|
+
content?: string | Array<OpenAIAssistantMessageParam.UnionMember1>;
|
|
247
223
|
|
|
248
224
|
/**
|
|
249
225
|
* (Optional) The name of the assistant message participant.
|
|
@@ -257,26 +233,12 @@ export namespace CompletionCreateResponse {
|
|
|
257
233
|
}
|
|
258
234
|
|
|
259
235
|
export namespace OpenAIAssistantMessageParam {
|
|
260
|
-
export interface
|
|
236
|
+
export interface UnionMember1 {
|
|
261
237
|
text: string;
|
|
262
238
|
|
|
263
239
|
type: 'text';
|
|
264
240
|
}
|
|
265
241
|
|
|
266
|
-
export interface OpenAIChatCompletionContentPartImageParam {
|
|
267
|
-
image_url: OpenAIChatCompletionContentPartImageParam.ImageURL;
|
|
268
|
-
|
|
269
|
-
type: 'image_url';
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
export namespace OpenAIChatCompletionContentPartImageParam {
|
|
273
|
-
export interface ImageURL {
|
|
274
|
-
url: string;
|
|
275
|
-
|
|
276
|
-
detail?: string;
|
|
277
|
-
}
|
|
278
|
-
}
|
|
279
|
-
|
|
280
242
|
export interface ToolCall {
|
|
281
243
|
type: 'function';
|
|
282
244
|
|
|
@@ -304,12 +266,7 @@ export namespace CompletionCreateResponse {
|
|
|
304
266
|
/**
|
|
305
267
|
* The response content from the tool
|
|
306
268
|
*/
|
|
307
|
-
content:
|
|
308
|
-
| string
|
|
309
|
-
| Array<
|
|
310
|
-
| OpenAIToolMessageParam.OpenAIChatCompletionContentPartTextParam
|
|
311
|
-
| OpenAIToolMessageParam.OpenAIChatCompletionContentPartImageParam
|
|
312
|
-
>;
|
|
269
|
+
content: string | Array<OpenAIToolMessageParam.UnionMember1>;
|
|
313
270
|
|
|
314
271
|
/**
|
|
315
272
|
* Must be "tool" to identify this as a tool response
|
|
@@ -323,25 +280,11 @@ export namespace CompletionCreateResponse {
|
|
|
323
280
|
}
|
|
324
281
|
|
|
325
282
|
export namespace OpenAIToolMessageParam {
|
|
326
|
-
export interface
|
|
283
|
+
export interface UnionMember1 {
|
|
327
284
|
text: string;
|
|
328
285
|
|
|
329
286
|
type: 'text';
|
|
330
287
|
}
|
|
331
|
-
|
|
332
|
-
export interface OpenAIChatCompletionContentPartImageParam {
|
|
333
|
-
image_url: OpenAIChatCompletionContentPartImageParam.ImageURL;
|
|
334
|
-
|
|
335
|
-
type: 'image_url';
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
export namespace OpenAIChatCompletionContentPartImageParam {
|
|
339
|
-
export interface ImageURL {
|
|
340
|
-
url: string;
|
|
341
|
-
|
|
342
|
-
detail?: string;
|
|
343
|
-
}
|
|
344
|
-
}
|
|
345
288
|
}
|
|
346
289
|
|
|
347
290
|
/**
|
|
@@ -351,12 +294,7 @@ export namespace CompletionCreateResponse {
|
|
|
351
294
|
/**
|
|
352
295
|
* The content of the developer message
|
|
353
296
|
*/
|
|
354
|
-
content:
|
|
355
|
-
| string
|
|
356
|
-
| Array<
|
|
357
|
-
| OpenAIDeveloperMessageParam.OpenAIChatCompletionContentPartTextParam
|
|
358
|
-
| OpenAIDeveloperMessageParam.OpenAIChatCompletionContentPartImageParam
|
|
359
|
-
>;
|
|
297
|
+
content: string | Array<OpenAIDeveloperMessageParam.UnionMember1>;
|
|
360
298
|
|
|
361
299
|
/**
|
|
362
300
|
* Must be "developer" to identify this as a developer message
|
|
@@ -370,25 +308,11 @@ export namespace CompletionCreateResponse {
|
|
|
370
308
|
}
|
|
371
309
|
|
|
372
310
|
export namespace OpenAIDeveloperMessageParam {
|
|
373
|
-
export interface
|
|
311
|
+
export interface UnionMember1 {
|
|
374
312
|
text: string;
|
|
375
313
|
|
|
376
314
|
type: 'text';
|
|
377
315
|
}
|
|
378
|
-
|
|
379
|
-
export interface OpenAIChatCompletionContentPartImageParam {
|
|
380
|
-
image_url: OpenAIChatCompletionContentPartImageParam.ImageURL;
|
|
381
|
-
|
|
382
|
-
type: 'image_url';
|
|
383
|
-
}
|
|
384
|
-
|
|
385
|
-
export namespace OpenAIChatCompletionContentPartImageParam {
|
|
386
|
-
export interface ImageURL {
|
|
387
|
-
url: string;
|
|
388
|
-
|
|
389
|
-
detail?: string;
|
|
390
|
-
}
|
|
391
|
-
}
|
|
392
316
|
}
|
|
393
317
|
|
|
394
318
|
/**
|
|
@@ -590,12 +514,7 @@ export namespace CompletionRetrieveResponse {
|
|
|
590
514
|
* they are concatenated. The underlying Llama Stack code may also add other system
|
|
591
515
|
* messages (for example, for formatting tool definitions).
|
|
592
516
|
*/
|
|
593
|
-
content:
|
|
594
|
-
| string
|
|
595
|
-
| Array<
|
|
596
|
-
| OpenAISystemMessageParam.OpenAIChatCompletionContentPartTextParam
|
|
597
|
-
| OpenAISystemMessageParam.OpenAIChatCompletionContentPartImageParam
|
|
598
|
-
>;
|
|
517
|
+
content: string | Array<OpenAISystemMessageParam.UnionMember1>;
|
|
599
518
|
|
|
600
519
|
/**
|
|
601
520
|
* Must be "system" to identify this as a system message
|
|
@@ -609,25 +528,11 @@ export namespace CompletionRetrieveResponse {
|
|
|
609
528
|
}
|
|
610
529
|
|
|
611
530
|
export namespace OpenAISystemMessageParam {
|
|
612
|
-
export interface
|
|
531
|
+
export interface UnionMember1 {
|
|
613
532
|
text: string;
|
|
614
533
|
|
|
615
534
|
type: 'text';
|
|
616
535
|
}
|
|
617
|
-
|
|
618
|
-
export interface OpenAIChatCompletionContentPartImageParam {
|
|
619
|
-
image_url: OpenAIChatCompletionContentPartImageParam.ImageURL;
|
|
620
|
-
|
|
621
|
-
type: 'image_url';
|
|
622
|
-
}
|
|
623
|
-
|
|
624
|
-
export namespace OpenAIChatCompletionContentPartImageParam {
|
|
625
|
-
export interface ImageURL {
|
|
626
|
-
url: string;
|
|
627
|
-
|
|
628
|
-
detail?: string;
|
|
629
|
-
}
|
|
630
|
-
}
|
|
631
536
|
}
|
|
632
537
|
|
|
633
538
|
/**
|
|
@@ -643,12 +548,7 @@ export namespace CompletionRetrieveResponse {
|
|
|
643
548
|
/**
|
|
644
549
|
* The content of the model's response
|
|
645
550
|
*/
|
|
646
|
-
content?:
|
|
647
|
-
| string
|
|
648
|
-
| Array<
|
|
649
|
-
| OpenAIAssistantMessageParam.OpenAIChatCompletionContentPartTextParam
|
|
650
|
-
| OpenAIAssistantMessageParam.OpenAIChatCompletionContentPartImageParam
|
|
651
|
-
>;
|
|
551
|
+
content?: string | Array<OpenAIAssistantMessageParam.UnionMember1>;
|
|
652
552
|
|
|
653
553
|
/**
|
|
654
554
|
* (Optional) The name of the assistant message participant.
|
|
@@ -662,26 +562,12 @@ export namespace CompletionRetrieveResponse {
|
|
|
662
562
|
}
|
|
663
563
|
|
|
664
564
|
export namespace OpenAIAssistantMessageParam {
|
|
665
|
-
export interface
|
|
565
|
+
export interface UnionMember1 {
|
|
666
566
|
text: string;
|
|
667
567
|
|
|
668
568
|
type: 'text';
|
|
669
569
|
}
|
|
670
570
|
|
|
671
|
-
export interface OpenAIChatCompletionContentPartImageParam {
|
|
672
|
-
image_url: OpenAIChatCompletionContentPartImageParam.ImageURL;
|
|
673
|
-
|
|
674
|
-
type: 'image_url';
|
|
675
|
-
}
|
|
676
|
-
|
|
677
|
-
export namespace OpenAIChatCompletionContentPartImageParam {
|
|
678
|
-
export interface ImageURL {
|
|
679
|
-
url: string;
|
|
680
|
-
|
|
681
|
-
detail?: string;
|
|
682
|
-
}
|
|
683
|
-
}
|
|
684
|
-
|
|
685
571
|
export interface ToolCall {
|
|
686
572
|
type: 'function';
|
|
687
573
|
|
|
@@ -709,12 +595,7 @@ export namespace CompletionRetrieveResponse {
|
|
|
709
595
|
/**
|
|
710
596
|
* The response content from the tool
|
|
711
597
|
*/
|
|
712
|
-
content:
|
|
713
|
-
| string
|
|
714
|
-
| Array<
|
|
715
|
-
| OpenAIToolMessageParam.OpenAIChatCompletionContentPartTextParam
|
|
716
|
-
| OpenAIToolMessageParam.OpenAIChatCompletionContentPartImageParam
|
|
717
|
-
>;
|
|
598
|
+
content: string | Array<OpenAIToolMessageParam.UnionMember1>;
|
|
718
599
|
|
|
719
600
|
/**
|
|
720
601
|
* Must be "tool" to identify this as a tool response
|
|
@@ -728,25 +609,11 @@ export namespace CompletionRetrieveResponse {
|
|
|
728
609
|
}
|
|
729
610
|
|
|
730
611
|
export namespace OpenAIToolMessageParam {
|
|
731
|
-
export interface
|
|
612
|
+
export interface UnionMember1 {
|
|
732
613
|
text: string;
|
|
733
614
|
|
|
734
615
|
type: 'text';
|
|
735
616
|
}
|
|
736
|
-
|
|
737
|
-
export interface OpenAIChatCompletionContentPartImageParam {
|
|
738
|
-
image_url: OpenAIChatCompletionContentPartImageParam.ImageURL;
|
|
739
|
-
|
|
740
|
-
type: 'image_url';
|
|
741
|
-
}
|
|
742
|
-
|
|
743
|
-
export namespace OpenAIChatCompletionContentPartImageParam {
|
|
744
|
-
export interface ImageURL {
|
|
745
|
-
url: string;
|
|
746
|
-
|
|
747
|
-
detail?: string;
|
|
748
|
-
}
|
|
749
|
-
}
|
|
750
617
|
}
|
|
751
618
|
|
|
752
619
|
/**
|
|
@@ -756,12 +623,7 @@ export namespace CompletionRetrieveResponse {
|
|
|
756
623
|
/**
|
|
757
624
|
* The content of the developer message
|
|
758
625
|
*/
|
|
759
|
-
content:
|
|
760
|
-
| string
|
|
761
|
-
| Array<
|
|
762
|
-
| OpenAIDeveloperMessageParam.OpenAIChatCompletionContentPartTextParam
|
|
763
|
-
| OpenAIDeveloperMessageParam.OpenAIChatCompletionContentPartImageParam
|
|
764
|
-
>;
|
|
626
|
+
content: string | Array<OpenAIDeveloperMessageParam.UnionMember1>;
|
|
765
627
|
|
|
766
628
|
/**
|
|
767
629
|
* Must be "developer" to identify this as a developer message
|
|
@@ -775,25 +637,11 @@ export namespace CompletionRetrieveResponse {
|
|
|
775
637
|
}
|
|
776
638
|
|
|
777
639
|
export namespace OpenAIDeveloperMessageParam {
|
|
778
|
-
export interface
|
|
640
|
+
export interface UnionMember1 {
|
|
779
641
|
text: string;
|
|
780
642
|
|
|
781
643
|
type: 'text';
|
|
782
644
|
}
|
|
783
|
-
|
|
784
|
-
export interface OpenAIChatCompletionContentPartImageParam {
|
|
785
|
-
image_url: OpenAIChatCompletionContentPartImageParam.ImageURL;
|
|
786
|
-
|
|
787
|
-
type: 'image_url';
|
|
788
|
-
}
|
|
789
|
-
|
|
790
|
-
export namespace OpenAIChatCompletionContentPartImageParam {
|
|
791
|
-
export interface ImageURL {
|
|
792
|
-
url: string;
|
|
793
|
-
|
|
794
|
-
detail?: string;
|
|
795
|
-
}
|
|
796
|
-
}
|
|
797
645
|
}
|
|
798
646
|
|
|
799
647
|
/**
|
|
@@ -926,12 +774,7 @@ export namespace CompletionRetrieveResponse {
|
|
|
926
774
|
* they are concatenated. The underlying Llama Stack code may also add other system
|
|
927
775
|
* messages (for example, for formatting tool definitions).
|
|
928
776
|
*/
|
|
929
|
-
content:
|
|
930
|
-
| string
|
|
931
|
-
| Array<
|
|
932
|
-
| OpenAISystemMessageParam.OpenAIChatCompletionContentPartTextParam
|
|
933
|
-
| OpenAISystemMessageParam.OpenAIChatCompletionContentPartImageParam
|
|
934
|
-
>;
|
|
777
|
+
content: string | Array<OpenAISystemMessageParam.UnionMember1>;
|
|
935
778
|
|
|
936
779
|
/**
|
|
937
780
|
* Must be "system" to identify this as a system message
|
|
@@ -945,25 +788,11 @@ export namespace CompletionRetrieveResponse {
|
|
|
945
788
|
}
|
|
946
789
|
|
|
947
790
|
export namespace OpenAISystemMessageParam {
|
|
948
|
-
export interface
|
|
791
|
+
export interface UnionMember1 {
|
|
949
792
|
text: string;
|
|
950
793
|
|
|
951
794
|
type: 'text';
|
|
952
795
|
}
|
|
953
|
-
|
|
954
|
-
export interface OpenAIChatCompletionContentPartImageParam {
|
|
955
|
-
image_url: OpenAIChatCompletionContentPartImageParam.ImageURL;
|
|
956
|
-
|
|
957
|
-
type: 'image_url';
|
|
958
|
-
}
|
|
959
|
-
|
|
960
|
-
export namespace OpenAIChatCompletionContentPartImageParam {
|
|
961
|
-
export interface ImageURL {
|
|
962
|
-
url: string;
|
|
963
|
-
|
|
964
|
-
detail?: string;
|
|
965
|
-
}
|
|
966
|
-
}
|
|
967
796
|
}
|
|
968
797
|
|
|
969
798
|
/**
|
|
@@ -979,12 +808,7 @@ export namespace CompletionRetrieveResponse {
|
|
|
979
808
|
/**
|
|
980
809
|
* The content of the model's response
|
|
981
810
|
*/
|
|
982
|
-
content?:
|
|
983
|
-
| string
|
|
984
|
-
| Array<
|
|
985
|
-
| OpenAIAssistantMessageParam.OpenAIChatCompletionContentPartTextParam
|
|
986
|
-
| OpenAIAssistantMessageParam.OpenAIChatCompletionContentPartImageParam
|
|
987
|
-
>;
|
|
811
|
+
content?: string | Array<OpenAIAssistantMessageParam.UnionMember1>;
|
|
988
812
|
|
|
989
813
|
/**
|
|
990
814
|
* (Optional) The name of the assistant message participant.
|
|
@@ -998,26 +822,12 @@ export namespace CompletionRetrieveResponse {
|
|
|
998
822
|
}
|
|
999
823
|
|
|
1000
824
|
export namespace OpenAIAssistantMessageParam {
|
|
1001
|
-
export interface
|
|
825
|
+
export interface UnionMember1 {
|
|
1002
826
|
text: string;
|
|
1003
827
|
|
|
1004
828
|
type: 'text';
|
|
1005
829
|
}
|
|
1006
830
|
|
|
1007
|
-
export interface OpenAIChatCompletionContentPartImageParam {
|
|
1008
|
-
image_url: OpenAIChatCompletionContentPartImageParam.ImageURL;
|
|
1009
|
-
|
|
1010
|
-
type: 'image_url';
|
|
1011
|
-
}
|
|
1012
|
-
|
|
1013
|
-
export namespace OpenAIChatCompletionContentPartImageParam {
|
|
1014
|
-
export interface ImageURL {
|
|
1015
|
-
url: string;
|
|
1016
|
-
|
|
1017
|
-
detail?: string;
|
|
1018
|
-
}
|
|
1019
|
-
}
|
|
1020
|
-
|
|
1021
831
|
export interface ToolCall {
|
|
1022
832
|
type: 'function';
|
|
1023
833
|
|
|
@@ -1045,12 +855,7 @@ export namespace CompletionRetrieveResponse {
|
|
|
1045
855
|
/**
|
|
1046
856
|
* The response content from the tool
|
|
1047
857
|
*/
|
|
1048
|
-
content:
|
|
1049
|
-
| string
|
|
1050
|
-
| Array<
|
|
1051
|
-
| OpenAIToolMessageParam.OpenAIChatCompletionContentPartTextParam
|
|
1052
|
-
| OpenAIToolMessageParam.OpenAIChatCompletionContentPartImageParam
|
|
1053
|
-
>;
|
|
858
|
+
content: string | Array<OpenAIToolMessageParam.UnionMember1>;
|
|
1054
859
|
|
|
1055
860
|
/**
|
|
1056
861
|
* Must be "tool" to identify this as a tool response
|
|
@@ -1064,25 +869,11 @@ export namespace CompletionRetrieveResponse {
|
|
|
1064
869
|
}
|
|
1065
870
|
|
|
1066
871
|
export namespace OpenAIToolMessageParam {
|
|
1067
|
-
export interface
|
|
872
|
+
export interface UnionMember1 {
|
|
1068
873
|
text: string;
|
|
1069
874
|
|
|
1070
875
|
type: 'text';
|
|
1071
876
|
}
|
|
1072
|
-
|
|
1073
|
-
export interface OpenAIChatCompletionContentPartImageParam {
|
|
1074
|
-
image_url: OpenAIChatCompletionContentPartImageParam.ImageURL;
|
|
1075
|
-
|
|
1076
|
-
type: 'image_url';
|
|
1077
|
-
}
|
|
1078
|
-
|
|
1079
|
-
export namespace OpenAIChatCompletionContentPartImageParam {
|
|
1080
|
-
export interface ImageURL {
|
|
1081
|
-
url: string;
|
|
1082
|
-
|
|
1083
|
-
detail?: string;
|
|
1084
|
-
}
|
|
1085
|
-
}
|
|
1086
877
|
}
|
|
1087
878
|
|
|
1088
879
|
/**
|
|
@@ -1092,12 +883,7 @@ export namespace CompletionRetrieveResponse {
|
|
|
1092
883
|
/**
|
|
1093
884
|
* The content of the developer message
|
|
1094
885
|
*/
|
|
1095
|
-
content:
|
|
1096
|
-
| string
|
|
1097
|
-
| Array<
|
|
1098
|
-
| OpenAIDeveloperMessageParam.OpenAIChatCompletionContentPartTextParam
|
|
1099
|
-
| OpenAIDeveloperMessageParam.OpenAIChatCompletionContentPartImageParam
|
|
1100
|
-
>;
|
|
886
|
+
content: string | Array<OpenAIDeveloperMessageParam.UnionMember1>;
|
|
1101
887
|
|
|
1102
888
|
/**
|
|
1103
889
|
* Must be "developer" to identify this as a developer message
|
|
@@ -1111,25 +897,11 @@ export namespace CompletionRetrieveResponse {
|
|
|
1111
897
|
}
|
|
1112
898
|
|
|
1113
899
|
export namespace OpenAIDeveloperMessageParam {
|
|
1114
|
-
export interface
|
|
900
|
+
export interface UnionMember1 {
|
|
1115
901
|
text: string;
|
|
1116
902
|
|
|
1117
903
|
type: 'text';
|
|
1118
904
|
}
|
|
1119
|
-
|
|
1120
|
-
export interface OpenAIChatCompletionContentPartImageParam {
|
|
1121
|
-
image_url: OpenAIChatCompletionContentPartImageParam.ImageURL;
|
|
1122
|
-
|
|
1123
|
-
type: 'image_url';
|
|
1124
|
-
}
|
|
1125
|
-
|
|
1126
|
-
export namespace OpenAIChatCompletionContentPartImageParam {
|
|
1127
|
-
export interface ImageURL {
|
|
1128
|
-
url: string;
|
|
1129
|
-
|
|
1130
|
-
detail?: string;
|
|
1131
|
-
}
|
|
1132
|
-
}
|
|
1133
905
|
}
|
|
1134
906
|
}
|
|
1135
907
|
|
|
@@ -1269,12 +1041,7 @@ export namespace CompletionListResponse {
|
|
|
1269
1041
|
* they are concatenated. The underlying Llama Stack code may also add other system
|
|
1270
1042
|
* messages (for example, for formatting tool definitions).
|
|
1271
1043
|
*/
|
|
1272
|
-
content:
|
|
1273
|
-
| string
|
|
1274
|
-
| Array<
|
|
1275
|
-
| OpenAISystemMessageParam.OpenAIChatCompletionContentPartTextParam
|
|
1276
|
-
| OpenAISystemMessageParam.OpenAIChatCompletionContentPartImageParam
|
|
1277
|
-
>;
|
|
1044
|
+
content: string | Array<OpenAISystemMessageParam.UnionMember1>;
|
|
1278
1045
|
|
|
1279
1046
|
/**
|
|
1280
1047
|
* Must be "system" to identify this as a system message
|
|
@@ -1288,25 +1055,11 @@ export namespace CompletionListResponse {
|
|
|
1288
1055
|
}
|
|
1289
1056
|
|
|
1290
1057
|
export namespace OpenAISystemMessageParam {
|
|
1291
|
-
export interface
|
|
1058
|
+
export interface UnionMember1 {
|
|
1292
1059
|
text: string;
|
|
1293
1060
|
|
|
1294
1061
|
type: 'text';
|
|
1295
1062
|
}
|
|
1296
|
-
|
|
1297
|
-
export interface OpenAIChatCompletionContentPartImageParam {
|
|
1298
|
-
image_url: OpenAIChatCompletionContentPartImageParam.ImageURL;
|
|
1299
|
-
|
|
1300
|
-
type: 'image_url';
|
|
1301
|
-
}
|
|
1302
|
-
|
|
1303
|
-
export namespace OpenAIChatCompletionContentPartImageParam {
|
|
1304
|
-
export interface ImageURL {
|
|
1305
|
-
url: string;
|
|
1306
|
-
|
|
1307
|
-
detail?: string;
|
|
1308
|
-
}
|
|
1309
|
-
}
|
|
1310
1063
|
}
|
|
1311
1064
|
|
|
1312
1065
|
/**
|
|
@@ -1322,12 +1075,7 @@ export namespace CompletionListResponse {
|
|
|
1322
1075
|
/**
|
|
1323
1076
|
* The content of the model's response
|
|
1324
1077
|
*/
|
|
1325
|
-
content?:
|
|
1326
|
-
| string
|
|
1327
|
-
| Array<
|
|
1328
|
-
| OpenAIAssistantMessageParam.OpenAIChatCompletionContentPartTextParam
|
|
1329
|
-
| OpenAIAssistantMessageParam.OpenAIChatCompletionContentPartImageParam
|
|
1330
|
-
>;
|
|
1078
|
+
content?: string | Array<OpenAIAssistantMessageParam.UnionMember1>;
|
|
1331
1079
|
|
|
1332
1080
|
/**
|
|
1333
1081
|
* (Optional) The name of the assistant message participant.
|
|
@@ -1341,26 +1089,12 @@ export namespace CompletionListResponse {
|
|
|
1341
1089
|
}
|
|
1342
1090
|
|
|
1343
1091
|
export namespace OpenAIAssistantMessageParam {
|
|
1344
|
-
export interface
|
|
1092
|
+
export interface UnionMember1 {
|
|
1345
1093
|
text: string;
|
|
1346
1094
|
|
|
1347
1095
|
type: 'text';
|
|
1348
1096
|
}
|
|
1349
1097
|
|
|
1350
|
-
export interface OpenAIChatCompletionContentPartImageParam {
|
|
1351
|
-
image_url: OpenAIChatCompletionContentPartImageParam.ImageURL;
|
|
1352
|
-
|
|
1353
|
-
type: 'image_url';
|
|
1354
|
-
}
|
|
1355
|
-
|
|
1356
|
-
export namespace OpenAIChatCompletionContentPartImageParam {
|
|
1357
|
-
export interface ImageURL {
|
|
1358
|
-
url: string;
|
|
1359
|
-
|
|
1360
|
-
detail?: string;
|
|
1361
|
-
}
|
|
1362
|
-
}
|
|
1363
|
-
|
|
1364
1098
|
export interface ToolCall {
|
|
1365
1099
|
type: 'function';
|
|
1366
1100
|
|
|
@@ -1388,12 +1122,7 @@ export namespace CompletionListResponse {
|
|
|
1388
1122
|
/**
|
|
1389
1123
|
* The response content from the tool
|
|
1390
1124
|
*/
|
|
1391
|
-
content:
|
|
1392
|
-
| string
|
|
1393
|
-
| Array<
|
|
1394
|
-
| OpenAIToolMessageParam.OpenAIChatCompletionContentPartTextParam
|
|
1395
|
-
| OpenAIToolMessageParam.OpenAIChatCompletionContentPartImageParam
|
|
1396
|
-
>;
|
|
1125
|
+
content: string | Array<OpenAIToolMessageParam.UnionMember1>;
|
|
1397
1126
|
|
|
1398
1127
|
/**
|
|
1399
1128
|
* Must be "tool" to identify this as a tool response
|
|
@@ -1407,25 +1136,11 @@ export namespace CompletionListResponse {
|
|
|
1407
1136
|
}
|
|
1408
1137
|
|
|
1409
1138
|
export namespace OpenAIToolMessageParam {
|
|
1410
|
-
export interface
|
|
1139
|
+
export interface UnionMember1 {
|
|
1411
1140
|
text: string;
|
|
1412
1141
|
|
|
1413
1142
|
type: 'text';
|
|
1414
1143
|
}
|
|
1415
|
-
|
|
1416
|
-
export interface OpenAIChatCompletionContentPartImageParam {
|
|
1417
|
-
image_url: OpenAIChatCompletionContentPartImageParam.ImageURL;
|
|
1418
|
-
|
|
1419
|
-
type: 'image_url';
|
|
1420
|
-
}
|
|
1421
|
-
|
|
1422
|
-
export namespace OpenAIChatCompletionContentPartImageParam {
|
|
1423
|
-
export interface ImageURL {
|
|
1424
|
-
url: string;
|
|
1425
|
-
|
|
1426
|
-
detail?: string;
|
|
1427
|
-
}
|
|
1428
|
-
}
|
|
1429
1144
|
}
|
|
1430
1145
|
|
|
1431
1146
|
/**
|
|
@@ -1435,12 +1150,7 @@ export namespace CompletionListResponse {
|
|
|
1435
1150
|
/**
|
|
1436
1151
|
* The content of the developer message
|
|
1437
1152
|
*/
|
|
1438
|
-
content:
|
|
1439
|
-
| string
|
|
1440
|
-
| Array<
|
|
1441
|
-
| OpenAIDeveloperMessageParam.OpenAIChatCompletionContentPartTextParam
|
|
1442
|
-
| OpenAIDeveloperMessageParam.OpenAIChatCompletionContentPartImageParam
|
|
1443
|
-
>;
|
|
1153
|
+
content: string | Array<OpenAIDeveloperMessageParam.UnionMember1>;
|
|
1444
1154
|
|
|
1445
1155
|
/**
|
|
1446
1156
|
* Must be "developer" to identify this as a developer message
|
|
@@ -1454,25 +1164,11 @@ export namespace CompletionListResponse {
|
|
|
1454
1164
|
}
|
|
1455
1165
|
|
|
1456
1166
|
export namespace OpenAIDeveloperMessageParam {
|
|
1457
|
-
export interface
|
|
1167
|
+
export interface UnionMember1 {
|
|
1458
1168
|
text: string;
|
|
1459
1169
|
|
|
1460
1170
|
type: 'text';
|
|
1461
1171
|
}
|
|
1462
|
-
|
|
1463
|
-
export interface OpenAIChatCompletionContentPartImageParam {
|
|
1464
|
-
image_url: OpenAIChatCompletionContentPartImageParam.ImageURL;
|
|
1465
|
-
|
|
1466
|
-
type: 'image_url';
|
|
1467
|
-
}
|
|
1468
|
-
|
|
1469
|
-
export namespace OpenAIChatCompletionContentPartImageParam {
|
|
1470
|
-
export interface ImageURL {
|
|
1471
|
-
url: string;
|
|
1472
|
-
|
|
1473
|
-
detail?: string;
|
|
1474
|
-
}
|
|
1475
|
-
}
|
|
1476
1172
|
}
|
|
1477
1173
|
|
|
1478
1174
|
/**
|
|
@@ -1605,12 +1301,7 @@ export namespace CompletionListResponse {
|
|
|
1605
1301
|
* they are concatenated. The underlying Llama Stack code may also add other system
|
|
1606
1302
|
* messages (for example, for formatting tool definitions).
|
|
1607
1303
|
*/
|
|
1608
|
-
content:
|
|
1609
|
-
| string
|
|
1610
|
-
| Array<
|
|
1611
|
-
| OpenAISystemMessageParam.OpenAIChatCompletionContentPartTextParam
|
|
1612
|
-
| OpenAISystemMessageParam.OpenAIChatCompletionContentPartImageParam
|
|
1613
|
-
>;
|
|
1304
|
+
content: string | Array<OpenAISystemMessageParam.UnionMember1>;
|
|
1614
1305
|
|
|
1615
1306
|
/**
|
|
1616
1307
|
* Must be "system" to identify this as a system message
|
|
@@ -1624,25 +1315,11 @@ export namespace CompletionListResponse {
|
|
|
1624
1315
|
}
|
|
1625
1316
|
|
|
1626
1317
|
export namespace OpenAISystemMessageParam {
|
|
1627
|
-
export interface
|
|
1318
|
+
export interface UnionMember1 {
|
|
1628
1319
|
text: string;
|
|
1629
1320
|
|
|
1630
1321
|
type: 'text';
|
|
1631
1322
|
}
|
|
1632
|
-
|
|
1633
|
-
export interface OpenAIChatCompletionContentPartImageParam {
|
|
1634
|
-
image_url: OpenAIChatCompletionContentPartImageParam.ImageURL;
|
|
1635
|
-
|
|
1636
|
-
type: 'image_url';
|
|
1637
|
-
}
|
|
1638
|
-
|
|
1639
|
-
export namespace OpenAIChatCompletionContentPartImageParam {
|
|
1640
|
-
export interface ImageURL {
|
|
1641
|
-
url: string;
|
|
1642
|
-
|
|
1643
|
-
detail?: string;
|
|
1644
|
-
}
|
|
1645
|
-
}
|
|
1646
1323
|
}
|
|
1647
1324
|
|
|
1648
1325
|
/**
|
|
@@ -1658,12 +1335,7 @@ export namespace CompletionListResponse {
|
|
|
1658
1335
|
/**
|
|
1659
1336
|
* The content of the model's response
|
|
1660
1337
|
*/
|
|
1661
|
-
content?:
|
|
1662
|
-
| string
|
|
1663
|
-
| Array<
|
|
1664
|
-
| OpenAIAssistantMessageParam.OpenAIChatCompletionContentPartTextParam
|
|
1665
|
-
| OpenAIAssistantMessageParam.OpenAIChatCompletionContentPartImageParam
|
|
1666
|
-
>;
|
|
1338
|
+
content?: string | Array<OpenAIAssistantMessageParam.UnionMember1>;
|
|
1667
1339
|
|
|
1668
1340
|
/**
|
|
1669
1341
|
* (Optional) The name of the assistant message participant.
|
|
@@ -1677,26 +1349,12 @@ export namespace CompletionListResponse {
|
|
|
1677
1349
|
}
|
|
1678
1350
|
|
|
1679
1351
|
export namespace OpenAIAssistantMessageParam {
|
|
1680
|
-
export interface
|
|
1352
|
+
export interface UnionMember1 {
|
|
1681
1353
|
text: string;
|
|
1682
1354
|
|
|
1683
1355
|
type: 'text';
|
|
1684
1356
|
}
|
|
1685
1357
|
|
|
1686
|
-
export interface OpenAIChatCompletionContentPartImageParam {
|
|
1687
|
-
image_url: OpenAIChatCompletionContentPartImageParam.ImageURL;
|
|
1688
|
-
|
|
1689
|
-
type: 'image_url';
|
|
1690
|
-
}
|
|
1691
|
-
|
|
1692
|
-
export namespace OpenAIChatCompletionContentPartImageParam {
|
|
1693
|
-
export interface ImageURL {
|
|
1694
|
-
url: string;
|
|
1695
|
-
|
|
1696
|
-
detail?: string;
|
|
1697
|
-
}
|
|
1698
|
-
}
|
|
1699
|
-
|
|
1700
1358
|
export interface ToolCall {
|
|
1701
1359
|
type: 'function';
|
|
1702
1360
|
|
|
@@ -1724,12 +1382,7 @@ export namespace CompletionListResponse {
|
|
|
1724
1382
|
/**
|
|
1725
1383
|
* The response content from the tool
|
|
1726
1384
|
*/
|
|
1727
|
-
content:
|
|
1728
|
-
| string
|
|
1729
|
-
| Array<
|
|
1730
|
-
| OpenAIToolMessageParam.OpenAIChatCompletionContentPartTextParam
|
|
1731
|
-
| OpenAIToolMessageParam.OpenAIChatCompletionContentPartImageParam
|
|
1732
|
-
>;
|
|
1385
|
+
content: string | Array<OpenAIToolMessageParam.UnionMember1>;
|
|
1733
1386
|
|
|
1734
1387
|
/**
|
|
1735
1388
|
* Must be "tool" to identify this as a tool response
|
|
@@ -1743,25 +1396,11 @@ export namespace CompletionListResponse {
|
|
|
1743
1396
|
}
|
|
1744
1397
|
|
|
1745
1398
|
export namespace OpenAIToolMessageParam {
|
|
1746
|
-
export interface
|
|
1399
|
+
export interface UnionMember1 {
|
|
1747
1400
|
text: string;
|
|
1748
1401
|
|
|
1749
1402
|
type: 'text';
|
|
1750
1403
|
}
|
|
1751
|
-
|
|
1752
|
-
export interface OpenAIChatCompletionContentPartImageParam {
|
|
1753
|
-
image_url: OpenAIChatCompletionContentPartImageParam.ImageURL;
|
|
1754
|
-
|
|
1755
|
-
type: 'image_url';
|
|
1756
|
-
}
|
|
1757
|
-
|
|
1758
|
-
export namespace OpenAIChatCompletionContentPartImageParam {
|
|
1759
|
-
export interface ImageURL {
|
|
1760
|
-
url: string;
|
|
1761
|
-
|
|
1762
|
-
detail?: string;
|
|
1763
|
-
}
|
|
1764
|
-
}
|
|
1765
1404
|
}
|
|
1766
1405
|
|
|
1767
1406
|
/**
|
|
@@ -1771,12 +1410,7 @@ export namespace CompletionListResponse {
|
|
|
1771
1410
|
/**
|
|
1772
1411
|
* The content of the developer message
|
|
1773
1412
|
*/
|
|
1774
|
-
content:
|
|
1775
|
-
| string
|
|
1776
|
-
| Array<
|
|
1777
|
-
| OpenAIDeveloperMessageParam.OpenAIChatCompletionContentPartTextParam
|
|
1778
|
-
| OpenAIDeveloperMessageParam.OpenAIChatCompletionContentPartImageParam
|
|
1779
|
-
>;
|
|
1413
|
+
content: string | Array<OpenAIDeveloperMessageParam.UnionMember1>;
|
|
1780
1414
|
|
|
1781
1415
|
/**
|
|
1782
1416
|
* Must be "developer" to identify this as a developer message
|
|
@@ -1790,25 +1424,11 @@ export namespace CompletionListResponse {
|
|
|
1790
1424
|
}
|
|
1791
1425
|
|
|
1792
1426
|
export namespace OpenAIDeveloperMessageParam {
|
|
1793
|
-
export interface
|
|
1427
|
+
export interface UnionMember1 {
|
|
1794
1428
|
text: string;
|
|
1795
1429
|
|
|
1796
1430
|
type: 'text';
|
|
1797
1431
|
}
|
|
1798
|
-
|
|
1799
|
-
export interface OpenAIChatCompletionContentPartImageParam {
|
|
1800
|
-
image_url: OpenAIChatCompletionContentPartImageParam.ImageURL;
|
|
1801
|
-
|
|
1802
|
-
type: 'image_url';
|
|
1803
|
-
}
|
|
1804
|
-
|
|
1805
|
-
export namespace OpenAIChatCompletionContentPartImageParam {
|
|
1806
|
-
export interface ImageURL {
|
|
1807
|
-
url: string;
|
|
1808
|
-
|
|
1809
|
-
detail?: string;
|
|
1810
|
-
}
|
|
1811
|
-
}
|
|
1812
1432
|
}
|
|
1813
1433
|
}
|
|
1814
1434
|
}
|
|
@@ -1999,12 +1619,7 @@ export namespace CompletionCreateParams {
|
|
|
1999
1619
|
* they are concatenated. The underlying Llama Stack code may also add other system
|
|
2000
1620
|
* messages (for example, for formatting tool definitions).
|
|
2001
1621
|
*/
|
|
2002
|
-
content:
|
|
2003
|
-
| string
|
|
2004
|
-
| Array<
|
|
2005
|
-
| OpenAISystemMessageParam.OpenAIChatCompletionContentPartTextParam
|
|
2006
|
-
| OpenAISystemMessageParam.OpenAIChatCompletionContentPartImageParam
|
|
2007
|
-
>;
|
|
1622
|
+
content: string | Array<OpenAISystemMessageParam.UnionMember1>;
|
|
2008
1623
|
|
|
2009
1624
|
/**
|
|
2010
1625
|
* Must be "system" to identify this as a system message
|
|
@@ -2018,25 +1633,11 @@ export namespace CompletionCreateParams {
|
|
|
2018
1633
|
}
|
|
2019
1634
|
|
|
2020
1635
|
export namespace OpenAISystemMessageParam {
|
|
2021
|
-
export interface
|
|
1636
|
+
export interface UnionMember1 {
|
|
2022
1637
|
text: string;
|
|
2023
1638
|
|
|
2024
1639
|
type: 'text';
|
|
2025
1640
|
}
|
|
2026
|
-
|
|
2027
|
-
export interface OpenAIChatCompletionContentPartImageParam {
|
|
2028
|
-
image_url: OpenAIChatCompletionContentPartImageParam.ImageURL;
|
|
2029
|
-
|
|
2030
|
-
type: 'image_url';
|
|
2031
|
-
}
|
|
2032
|
-
|
|
2033
|
-
export namespace OpenAIChatCompletionContentPartImageParam {
|
|
2034
|
-
export interface ImageURL {
|
|
2035
|
-
url: string;
|
|
2036
|
-
|
|
2037
|
-
detail?: string;
|
|
2038
|
-
}
|
|
2039
|
-
}
|
|
2040
1641
|
}
|
|
2041
1642
|
|
|
2042
1643
|
/**
|
|
@@ -2052,12 +1653,7 @@ export namespace CompletionCreateParams {
|
|
|
2052
1653
|
/**
|
|
2053
1654
|
* The content of the model's response
|
|
2054
1655
|
*/
|
|
2055
|
-
content?:
|
|
2056
|
-
| string
|
|
2057
|
-
| Array<
|
|
2058
|
-
| OpenAIAssistantMessageParam.OpenAIChatCompletionContentPartTextParam
|
|
2059
|
-
| OpenAIAssistantMessageParam.OpenAIChatCompletionContentPartImageParam
|
|
2060
|
-
>;
|
|
1656
|
+
content?: string | Array<OpenAIAssistantMessageParam.UnionMember1>;
|
|
2061
1657
|
|
|
2062
1658
|
/**
|
|
2063
1659
|
* (Optional) The name of the assistant message participant.
|
|
@@ -2071,26 +1667,12 @@ export namespace CompletionCreateParams {
|
|
|
2071
1667
|
}
|
|
2072
1668
|
|
|
2073
1669
|
export namespace OpenAIAssistantMessageParam {
|
|
2074
|
-
export interface
|
|
1670
|
+
export interface UnionMember1 {
|
|
2075
1671
|
text: string;
|
|
2076
1672
|
|
|
2077
1673
|
type: 'text';
|
|
2078
1674
|
}
|
|
2079
1675
|
|
|
2080
|
-
export interface OpenAIChatCompletionContentPartImageParam {
|
|
2081
|
-
image_url: OpenAIChatCompletionContentPartImageParam.ImageURL;
|
|
2082
|
-
|
|
2083
|
-
type: 'image_url';
|
|
2084
|
-
}
|
|
2085
|
-
|
|
2086
|
-
export namespace OpenAIChatCompletionContentPartImageParam {
|
|
2087
|
-
export interface ImageURL {
|
|
2088
|
-
url: string;
|
|
2089
|
-
|
|
2090
|
-
detail?: string;
|
|
2091
|
-
}
|
|
2092
|
-
}
|
|
2093
|
-
|
|
2094
1676
|
export interface ToolCall {
|
|
2095
1677
|
type: 'function';
|
|
2096
1678
|
|
|
@@ -2118,12 +1700,7 @@ export namespace CompletionCreateParams {
|
|
|
2118
1700
|
/**
|
|
2119
1701
|
* The response content from the tool
|
|
2120
1702
|
*/
|
|
2121
|
-
content:
|
|
2122
|
-
| string
|
|
2123
|
-
| Array<
|
|
2124
|
-
| OpenAIToolMessageParam.OpenAIChatCompletionContentPartTextParam
|
|
2125
|
-
| OpenAIToolMessageParam.OpenAIChatCompletionContentPartImageParam
|
|
2126
|
-
>;
|
|
1703
|
+
content: string | Array<OpenAIToolMessageParam.UnionMember1>;
|
|
2127
1704
|
|
|
2128
1705
|
/**
|
|
2129
1706
|
* Must be "tool" to identify this as a tool response
|
|
@@ -2137,25 +1714,11 @@ export namespace CompletionCreateParams {
|
|
|
2137
1714
|
}
|
|
2138
1715
|
|
|
2139
1716
|
export namespace OpenAIToolMessageParam {
|
|
2140
|
-
export interface
|
|
1717
|
+
export interface UnionMember1 {
|
|
2141
1718
|
text: string;
|
|
2142
1719
|
|
|
2143
1720
|
type: 'text';
|
|
2144
1721
|
}
|
|
2145
|
-
|
|
2146
|
-
export interface OpenAIChatCompletionContentPartImageParam {
|
|
2147
|
-
image_url: OpenAIChatCompletionContentPartImageParam.ImageURL;
|
|
2148
|
-
|
|
2149
|
-
type: 'image_url';
|
|
2150
|
-
}
|
|
2151
|
-
|
|
2152
|
-
export namespace OpenAIChatCompletionContentPartImageParam {
|
|
2153
|
-
export interface ImageURL {
|
|
2154
|
-
url: string;
|
|
2155
|
-
|
|
2156
|
-
detail?: string;
|
|
2157
|
-
}
|
|
2158
|
-
}
|
|
2159
1722
|
}
|
|
2160
1723
|
|
|
2161
1724
|
/**
|
|
@@ -2165,12 +1728,7 @@ export namespace CompletionCreateParams {
|
|
|
2165
1728
|
/**
|
|
2166
1729
|
* The content of the developer message
|
|
2167
1730
|
*/
|
|
2168
|
-
content:
|
|
2169
|
-
| string
|
|
2170
|
-
| Array<
|
|
2171
|
-
| OpenAIDeveloperMessageParam.OpenAIChatCompletionContentPartTextParam
|
|
2172
|
-
| OpenAIDeveloperMessageParam.OpenAIChatCompletionContentPartImageParam
|
|
2173
|
-
>;
|
|
1731
|
+
content: string | Array<OpenAIDeveloperMessageParam.UnionMember1>;
|
|
2174
1732
|
|
|
2175
1733
|
/**
|
|
2176
1734
|
* Must be "developer" to identify this as a developer message
|
|
@@ -2184,25 +1742,11 @@ export namespace CompletionCreateParams {
|
|
|
2184
1742
|
}
|
|
2185
1743
|
|
|
2186
1744
|
export namespace OpenAIDeveloperMessageParam {
|
|
2187
|
-
export interface
|
|
1745
|
+
export interface UnionMember1 {
|
|
2188
1746
|
text: string;
|
|
2189
1747
|
|
|
2190
1748
|
type: 'text';
|
|
2191
1749
|
}
|
|
2192
|
-
|
|
2193
|
-
export interface OpenAIChatCompletionContentPartImageParam {
|
|
2194
|
-
image_url: OpenAIChatCompletionContentPartImageParam.ImageURL;
|
|
2195
|
-
|
|
2196
|
-
type: 'image_url';
|
|
2197
|
-
}
|
|
2198
|
-
|
|
2199
|
-
export namespace OpenAIChatCompletionContentPartImageParam {
|
|
2200
|
-
export interface ImageURL {
|
|
2201
|
-
url: string;
|
|
2202
|
-
|
|
2203
|
-
detail?: string;
|
|
2204
|
-
}
|
|
2205
|
-
}
|
|
2206
1750
|
}
|
|
2207
1751
|
|
|
2208
1752
|
export interface OpenAIResponseFormatText {
|