openai 4.98.0 → 4.99.0

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.
@@ -105,11 +105,7 @@ export interface EvalCustomDataSourceConfig {
105
105
  }
106
106
 
107
107
  /**
108
- * A StoredCompletionsDataSourceConfig which specifies the metadata property of
109
- * your stored completions query. This is usually metadata like `usecase=chatbot`
110
- * or `prompt-version=v2`, etc. The schema returned by this data source config is
111
- * used to defined what variables are available in your evals. `item` and `sample`
112
- * are both defined when using this data source config.
108
+ * @deprecated Deprecated in favor of LogsDataSourceConfig.
113
109
  */
114
110
  export interface EvalStoredCompletionsDataSourceConfig {
115
111
  /**
@@ -119,9 +115,9 @@ export interface EvalStoredCompletionsDataSourceConfig {
119
115
  schema: Record<string, unknown>;
120
116
 
121
117
  /**
122
- * The type of data source. Always `stored_completions`.
118
+ * The type of data source. Always `stored-completions`.
123
119
  */
124
- type: 'stored_completions';
120
+ type: 'stored-completions';
125
121
 
126
122
  /**
127
123
  * Set of 16 key-value pairs that can be attached to an object. This can be useful
@@ -156,7 +152,10 @@ export interface EvalCreateResponse {
156
152
  /**
157
153
  * Configuration of data sources used in runs of the evaluation.
158
154
  */
159
- data_source_config: EvalCustomDataSourceConfig | EvalStoredCompletionsDataSourceConfig;
155
+ data_source_config:
156
+ | EvalCustomDataSourceConfig
157
+ | EvalCreateResponse.Logs
158
+ | EvalStoredCompletionsDataSourceConfig;
160
159
 
161
160
  /**
162
161
  * Set of 16 key-value pairs that can be attached to an object. This can be useful
@@ -191,6 +190,36 @@ export interface EvalCreateResponse {
191
190
  }
192
191
 
193
192
  export namespace EvalCreateResponse {
193
+ /**
194
+ * A LogsDataSourceConfig which specifies the metadata property of your logs query.
195
+ * This is usually metadata like `usecase=chatbot` or `prompt-version=v2`, etc. The
196
+ * schema returned by this data source config is used to defined what variables are
197
+ * available in your evals. `item` and `sample` are both defined when using this
198
+ * data source config.
199
+ */
200
+ export interface Logs {
201
+ /**
202
+ * The json schema for the run data source items. Learn how to build JSON schemas
203
+ * [here](https://json-schema.org/).
204
+ */
205
+ schema: Record<string, unknown>;
206
+
207
+ /**
208
+ * The type of data source. Always `logs`.
209
+ */
210
+ type: 'logs';
211
+
212
+ /**
213
+ * Set of 16 key-value pairs that can be attached to an object. This can be useful
214
+ * for storing additional information about the object in a structured format, and
215
+ * querying for objects via API or the dashboard.
216
+ *
217
+ * Keys are strings with a maximum length of 64 characters. Values are strings with
218
+ * a maximum length of 512 characters.
219
+ */
220
+ metadata?: Shared.Metadata | null;
221
+ }
222
+
194
223
  /**
195
224
  * A TextSimilarityGrader object which grades text based on similarity metrics.
196
225
  */
@@ -244,7 +273,10 @@ export interface EvalRetrieveResponse {
244
273
  /**
245
274
  * Configuration of data sources used in runs of the evaluation.
246
275
  */
247
- data_source_config: EvalCustomDataSourceConfig | EvalStoredCompletionsDataSourceConfig;
276
+ data_source_config:
277
+ | EvalCustomDataSourceConfig
278
+ | EvalRetrieveResponse.Logs
279
+ | EvalStoredCompletionsDataSourceConfig;
248
280
 
249
281
  /**
250
282
  * Set of 16 key-value pairs that can be attached to an object. This can be useful
@@ -279,6 +311,36 @@ export interface EvalRetrieveResponse {
279
311
  }
280
312
 
281
313
  export namespace EvalRetrieveResponse {
314
+ /**
315
+ * A LogsDataSourceConfig which specifies the metadata property of your logs query.
316
+ * This is usually metadata like `usecase=chatbot` or `prompt-version=v2`, etc. The
317
+ * schema returned by this data source config is used to defined what variables are
318
+ * available in your evals. `item` and `sample` are both defined when using this
319
+ * data source config.
320
+ */
321
+ export interface Logs {
322
+ /**
323
+ * The json schema for the run data source items. Learn how to build JSON schemas
324
+ * [here](https://json-schema.org/).
325
+ */
326
+ schema: Record<string, unknown>;
327
+
328
+ /**
329
+ * The type of data source. Always `logs`.
330
+ */
331
+ type: 'logs';
332
+
333
+ /**
334
+ * Set of 16 key-value pairs that can be attached to an object. This can be useful
335
+ * for storing additional information about the object in a structured format, and
336
+ * querying for objects via API or the dashboard.
337
+ *
338
+ * Keys are strings with a maximum length of 64 characters. Values are strings with
339
+ * a maximum length of 512 characters.
340
+ */
341
+ metadata?: Shared.Metadata | null;
342
+ }
343
+
282
344
  /**
283
345
  * A TextSimilarityGrader object which grades text based on similarity metrics.
284
346
  */
@@ -332,7 +394,10 @@ export interface EvalUpdateResponse {
332
394
  /**
333
395
  * Configuration of data sources used in runs of the evaluation.
334
396
  */
335
- data_source_config: EvalCustomDataSourceConfig | EvalStoredCompletionsDataSourceConfig;
397
+ data_source_config:
398
+ | EvalCustomDataSourceConfig
399
+ | EvalUpdateResponse.Logs
400
+ | EvalStoredCompletionsDataSourceConfig;
336
401
 
337
402
  /**
338
403
  * Set of 16 key-value pairs that can be attached to an object. This can be useful
@@ -367,6 +432,36 @@ export interface EvalUpdateResponse {
367
432
  }
368
433
 
369
434
  export namespace EvalUpdateResponse {
435
+ /**
436
+ * A LogsDataSourceConfig which specifies the metadata property of your logs query.
437
+ * This is usually metadata like `usecase=chatbot` or `prompt-version=v2`, etc. The
438
+ * schema returned by this data source config is used to defined what variables are
439
+ * available in your evals. `item` and `sample` are both defined when using this
440
+ * data source config.
441
+ */
442
+ export interface Logs {
443
+ /**
444
+ * The json schema for the run data source items. Learn how to build JSON schemas
445
+ * [here](https://json-schema.org/).
446
+ */
447
+ schema: Record<string, unknown>;
448
+
449
+ /**
450
+ * The type of data source. Always `logs`.
451
+ */
452
+ type: 'logs';
453
+
454
+ /**
455
+ * Set of 16 key-value pairs that can be attached to an object. This can be useful
456
+ * for storing additional information about the object in a structured format, and
457
+ * querying for objects via API or the dashboard.
458
+ *
459
+ * Keys are strings with a maximum length of 64 characters. Values are strings with
460
+ * a maximum length of 512 characters.
461
+ */
462
+ metadata?: Shared.Metadata | null;
463
+ }
464
+
370
465
  /**
371
466
  * A TextSimilarityGrader object which grades text based on similarity metrics.
372
467
  */
@@ -420,7 +515,10 @@ export interface EvalListResponse {
420
515
  /**
421
516
  * Configuration of data sources used in runs of the evaluation.
422
517
  */
423
- data_source_config: EvalCustomDataSourceConfig | EvalStoredCompletionsDataSourceConfig;
518
+ data_source_config:
519
+ | EvalCustomDataSourceConfig
520
+ | EvalListResponse.Logs
521
+ | EvalStoredCompletionsDataSourceConfig;
424
522
 
425
523
  /**
426
524
  * Set of 16 key-value pairs that can be attached to an object. This can be useful
@@ -455,6 +553,36 @@ export interface EvalListResponse {
455
553
  }
456
554
 
457
555
  export namespace EvalListResponse {
556
+ /**
557
+ * A LogsDataSourceConfig which specifies the metadata property of your logs query.
558
+ * This is usually metadata like `usecase=chatbot` or `prompt-version=v2`, etc. The
559
+ * schema returned by this data source config is used to defined what variables are
560
+ * available in your evals. `item` and `sample` are both defined when using this
561
+ * data source config.
562
+ */
563
+ export interface Logs {
564
+ /**
565
+ * The json schema for the run data source items. Learn how to build JSON schemas
566
+ * [here](https://json-schema.org/).
567
+ */
568
+ schema: Record<string, unknown>;
569
+
570
+ /**
571
+ * The type of data source. Always `logs`.
572
+ */
573
+ type: 'logs';
574
+
575
+ /**
576
+ * Set of 16 key-value pairs that can be attached to an object. This can be useful
577
+ * for storing additional information about the object in a structured format, and
578
+ * querying for objects via API or the dashboard.
579
+ *
580
+ * Keys are strings with a maximum length of 64 characters. Values are strings with
581
+ * a maximum length of 512 characters.
582
+ */
583
+ metadata?: Shared.Metadata | null;
584
+ }
585
+
458
586
  /**
459
587
  * A TextSimilarityGrader object which grades text based on similarity metrics.
460
588
  */
@@ -498,7 +626,7 @@ export interface EvalCreateParams {
498
626
  /**
499
627
  * The configuration for the data source used for the evaluation runs.
500
628
  */
501
- data_source_config: EvalCreateParams.Custom | EvalCreateParams.StoredCompletions;
629
+ data_source_config: EvalCreateParams.Custom | EvalCreateParams.Logs | EvalCreateParams.StoredCompletions;
502
630
 
503
631
  /**
504
632
  * A list of graders for all eval runs in this group.
@@ -555,15 +683,29 @@ export namespace EvalCreateParams {
555
683
  }
556
684
 
557
685
  /**
558
- * A data source config which specifies the metadata property of your stored
559
- * completions query. This is usually metadata like `usecase=chatbot` or
560
- * `prompt-version=v2`, etc.
686
+ * A data source config which specifies the metadata property of your logs query.
687
+ * This is usually metadata like `usecase=chatbot` or `prompt-version=v2`, etc.
688
+ */
689
+ export interface Logs {
690
+ /**
691
+ * The type of data source. Always `logs`.
692
+ */
693
+ type: 'logs';
694
+
695
+ /**
696
+ * Metadata filters for the logs data source.
697
+ */
698
+ metadata?: Record<string, unknown>;
699
+ }
700
+
701
+ /**
702
+ * Deprecated in favor of LogsDataSourceConfig.
561
703
  */
562
704
  export interface StoredCompletions {
563
705
  /**
564
- * The type of data source. Always `stored_completions`.
706
+ * The type of data source. Always `stored-completions`.
565
707
  */
566
- type: 'stored_completions';
708
+ type: 'stored-completions';
567
709
 
568
710
  /**
569
711
  * Metadata filters for the stored completions data source.
@@ -356,7 +356,7 @@ export interface RunCreateResponse {
356
356
  data_source:
357
357
  | CreateEvalJSONLRunDataSource
358
358
  | CreateEvalCompletionsRunDataSource
359
- | RunCreateResponse.Completions;
359
+ | RunCreateResponse.Responses;
360
360
 
361
361
  /**
362
362
  * An object representing an error response from the Eval API.
@@ -423,28 +423,28 @@ export namespace RunCreateResponse {
423
423
  /**
424
424
  * A ResponsesRunDataSource object describing a model sampling configuration.
425
425
  */
426
- export interface Completions {
426
+ export interface Responses {
427
427
  /**
428
428
  * A EvalResponsesSource object describing a run data source configuration.
429
429
  */
430
- source: Completions.FileContent | Completions.FileID | Completions.Responses;
430
+ source: Responses.FileContent | Responses.FileID | Responses.Responses;
431
431
 
432
432
  /**
433
- * The type of run data source. Always `completions`.
433
+ * The type of run data source. Always `responses`.
434
434
  */
435
- type: 'completions';
435
+ type: 'responses';
436
436
 
437
- input_messages?: Completions.Template | Completions.ItemReference;
437
+ input_messages?: Responses.Template | Responses.ItemReference;
438
438
 
439
439
  /**
440
440
  * The name of the model to use for generating completions (e.g. "o3-mini").
441
441
  */
442
442
  model?: string;
443
443
 
444
- sampling_params?: Completions.SamplingParams;
444
+ sampling_params?: Responses.SamplingParams;
445
445
  }
446
446
 
447
- export namespace Completions {
447
+ export namespace Responses {
448
448
  export interface FileContent {
449
449
  /**
450
450
  * The content of the jsonl file.
@@ -486,12 +486,6 @@ export namespace RunCreateResponse {
486
486
  */
487
487
  type: 'responses';
488
488
 
489
- /**
490
- * Whether to allow parallel tool calls. This is a query parameter used to select
491
- * responses.
492
- */
493
- allow_parallel_tool_calls?: boolean | null;
494
-
495
489
  /**
496
490
  * Only include items created after this timestamp (inclusive). This is a query
497
491
  * parameter used to select responses.
@@ -511,8 +505,8 @@ export namespace RunCreateResponse {
511
505
  has_tool_calls?: boolean | null;
512
506
 
513
507
  /**
514
- * Optional search string for instructions. This is a query parameter used to
515
- * select responses.
508
+ * Optional string to search the 'instructions' field. This is a query parameter
509
+ * used to select responses.
516
510
  */
517
511
  instructions_search?: string | null;
518
512
 
@@ -539,6 +533,11 @@ export namespace RunCreateResponse {
539
533
  */
540
534
  temperature?: number | null;
541
535
 
536
+ /**
537
+ * List of tool names. This is a query parameter used to select responses.
538
+ */
539
+ tools?: Array<string> | null;
540
+
542
541
  /**
543
542
  * Nucleus sampling parameter. This is a query parameter used to select responses.
544
543
  */
@@ -749,7 +748,7 @@ export interface RunRetrieveResponse {
749
748
  data_source:
750
749
  | CreateEvalJSONLRunDataSource
751
750
  | CreateEvalCompletionsRunDataSource
752
- | RunRetrieveResponse.Completions;
751
+ | RunRetrieveResponse.Responses;
753
752
 
754
753
  /**
755
754
  * An object representing an error response from the Eval API.
@@ -816,28 +815,28 @@ export namespace RunRetrieveResponse {
816
815
  /**
817
816
  * A ResponsesRunDataSource object describing a model sampling configuration.
818
817
  */
819
- export interface Completions {
818
+ export interface Responses {
820
819
  /**
821
820
  * A EvalResponsesSource object describing a run data source configuration.
822
821
  */
823
- source: Completions.FileContent | Completions.FileID | Completions.Responses;
822
+ source: Responses.FileContent | Responses.FileID | Responses.Responses;
824
823
 
825
824
  /**
826
- * The type of run data source. Always `completions`.
825
+ * The type of run data source. Always `responses`.
827
826
  */
828
- type: 'completions';
827
+ type: 'responses';
829
828
 
830
- input_messages?: Completions.Template | Completions.ItemReference;
829
+ input_messages?: Responses.Template | Responses.ItemReference;
831
830
 
832
831
  /**
833
832
  * The name of the model to use for generating completions (e.g. "o3-mini").
834
833
  */
835
834
  model?: string;
836
835
 
837
- sampling_params?: Completions.SamplingParams;
836
+ sampling_params?: Responses.SamplingParams;
838
837
  }
839
838
 
840
- export namespace Completions {
839
+ export namespace Responses {
841
840
  export interface FileContent {
842
841
  /**
843
842
  * The content of the jsonl file.
@@ -879,12 +878,6 @@ export namespace RunRetrieveResponse {
879
878
  */
880
879
  type: 'responses';
881
880
 
882
- /**
883
- * Whether to allow parallel tool calls. This is a query parameter used to select
884
- * responses.
885
- */
886
- allow_parallel_tool_calls?: boolean | null;
887
-
888
881
  /**
889
882
  * Only include items created after this timestamp (inclusive). This is a query
890
883
  * parameter used to select responses.
@@ -904,8 +897,8 @@ export namespace RunRetrieveResponse {
904
897
  has_tool_calls?: boolean | null;
905
898
 
906
899
  /**
907
- * Optional search string for instructions. This is a query parameter used to
908
- * select responses.
900
+ * Optional string to search the 'instructions' field. This is a query parameter
901
+ * used to select responses.
909
902
  */
910
903
  instructions_search?: string | null;
911
904
 
@@ -932,6 +925,11 @@ export namespace RunRetrieveResponse {
932
925
  */
933
926
  temperature?: number | null;
934
927
 
928
+ /**
929
+ * List of tool names. This is a query parameter used to select responses.
930
+ */
931
+ tools?: Array<string> | null;
932
+
935
933
  /**
936
934
  * Nucleus sampling parameter. This is a query parameter used to select responses.
937
935
  */
@@ -1139,10 +1137,7 @@ export interface RunListResponse {
1139
1137
  /**
1140
1138
  * Information about the run's data source.
1141
1139
  */
1142
- data_source:
1143
- | CreateEvalJSONLRunDataSource
1144
- | CreateEvalCompletionsRunDataSource
1145
- | RunListResponse.Completions;
1140
+ data_source: CreateEvalJSONLRunDataSource | CreateEvalCompletionsRunDataSource | RunListResponse.Responses;
1146
1141
 
1147
1142
  /**
1148
1143
  * An object representing an error response from the Eval API.
@@ -1209,28 +1204,28 @@ export namespace RunListResponse {
1209
1204
  /**
1210
1205
  * A ResponsesRunDataSource object describing a model sampling configuration.
1211
1206
  */
1212
- export interface Completions {
1207
+ export interface Responses {
1213
1208
  /**
1214
1209
  * A EvalResponsesSource object describing a run data source configuration.
1215
1210
  */
1216
- source: Completions.FileContent | Completions.FileID | Completions.Responses;
1211
+ source: Responses.FileContent | Responses.FileID | Responses.Responses;
1217
1212
 
1218
1213
  /**
1219
- * The type of run data source. Always `completions`.
1214
+ * The type of run data source. Always `responses`.
1220
1215
  */
1221
- type: 'completions';
1216
+ type: 'responses';
1222
1217
 
1223
- input_messages?: Completions.Template | Completions.ItemReference;
1218
+ input_messages?: Responses.Template | Responses.ItemReference;
1224
1219
 
1225
1220
  /**
1226
1221
  * The name of the model to use for generating completions (e.g. "o3-mini").
1227
1222
  */
1228
1223
  model?: string;
1229
1224
 
1230
- sampling_params?: Completions.SamplingParams;
1225
+ sampling_params?: Responses.SamplingParams;
1231
1226
  }
1232
1227
 
1233
- export namespace Completions {
1228
+ export namespace Responses {
1234
1229
  export interface FileContent {
1235
1230
  /**
1236
1231
  * The content of the jsonl file.
@@ -1272,12 +1267,6 @@ export namespace RunListResponse {
1272
1267
  */
1273
1268
  type: 'responses';
1274
1269
 
1275
- /**
1276
- * Whether to allow parallel tool calls. This is a query parameter used to select
1277
- * responses.
1278
- */
1279
- allow_parallel_tool_calls?: boolean | null;
1280
-
1281
1270
  /**
1282
1271
  * Only include items created after this timestamp (inclusive). This is a query
1283
1272
  * parameter used to select responses.
@@ -1297,8 +1286,8 @@ export namespace RunListResponse {
1297
1286
  has_tool_calls?: boolean | null;
1298
1287
 
1299
1288
  /**
1300
- * Optional search string for instructions. This is a query parameter used to
1301
- * select responses.
1289
+ * Optional string to search the 'instructions' field. This is a query parameter
1290
+ * used to select responses.
1302
1291
  */
1303
1292
  instructions_search?: string | null;
1304
1293
 
@@ -1325,6 +1314,11 @@ export namespace RunListResponse {
1325
1314
  */
1326
1315
  temperature?: number | null;
1327
1316
 
1317
+ /**
1318
+ * List of tool names. This is a query parameter used to select responses.
1319
+ */
1320
+ tools?: Array<string> | null;
1321
+
1328
1322
  /**
1329
1323
  * Nucleus sampling parameter. This is a query parameter used to select responses.
1330
1324
  */
@@ -1543,7 +1537,7 @@ export interface RunCancelResponse {
1543
1537
  data_source:
1544
1538
  | CreateEvalJSONLRunDataSource
1545
1539
  | CreateEvalCompletionsRunDataSource
1546
- | RunCancelResponse.Completions;
1540
+ | RunCancelResponse.Responses;
1547
1541
 
1548
1542
  /**
1549
1543
  * An object representing an error response from the Eval API.
@@ -1610,28 +1604,28 @@ export namespace RunCancelResponse {
1610
1604
  /**
1611
1605
  * A ResponsesRunDataSource object describing a model sampling configuration.
1612
1606
  */
1613
- export interface Completions {
1607
+ export interface Responses {
1614
1608
  /**
1615
1609
  * A EvalResponsesSource object describing a run data source configuration.
1616
1610
  */
1617
- source: Completions.FileContent | Completions.FileID | Completions.Responses;
1611
+ source: Responses.FileContent | Responses.FileID | Responses.Responses;
1618
1612
 
1619
1613
  /**
1620
- * The type of run data source. Always `completions`.
1614
+ * The type of run data source. Always `responses`.
1621
1615
  */
1622
- type: 'completions';
1616
+ type: 'responses';
1623
1617
 
1624
- input_messages?: Completions.Template | Completions.ItemReference;
1618
+ input_messages?: Responses.Template | Responses.ItemReference;
1625
1619
 
1626
1620
  /**
1627
1621
  * The name of the model to use for generating completions (e.g. "o3-mini").
1628
1622
  */
1629
1623
  model?: string;
1630
1624
 
1631
- sampling_params?: Completions.SamplingParams;
1625
+ sampling_params?: Responses.SamplingParams;
1632
1626
  }
1633
1627
 
1634
- export namespace Completions {
1628
+ export namespace Responses {
1635
1629
  export interface FileContent {
1636
1630
  /**
1637
1631
  * The content of the jsonl file.
@@ -1673,12 +1667,6 @@ export namespace RunCancelResponse {
1673
1667
  */
1674
1668
  type: 'responses';
1675
1669
 
1676
- /**
1677
- * Whether to allow parallel tool calls. This is a query parameter used to select
1678
- * responses.
1679
- */
1680
- allow_parallel_tool_calls?: boolean | null;
1681
-
1682
1670
  /**
1683
1671
  * Only include items created after this timestamp (inclusive). This is a query
1684
1672
  * parameter used to select responses.
@@ -1698,8 +1686,8 @@ export namespace RunCancelResponse {
1698
1686
  has_tool_calls?: boolean | null;
1699
1687
 
1700
1688
  /**
1701
- * Optional search string for instructions. This is a query parameter used to
1702
- * select responses.
1689
+ * Optional string to search the 'instructions' field. This is a query parameter
1690
+ * used to select responses.
1703
1691
  */
1704
1692
  instructions_search?: string | null;
1705
1693
 
@@ -1726,6 +1714,11 @@ export namespace RunCancelResponse {
1726
1714
  */
1727
1715
  temperature?: number | null;
1728
1716
 
1717
+ /**
1718
+ * List of tool names. This is a query parameter used to select responses.
1719
+ */
1720
+ tools?: Array<string> | null;
1721
+
1729
1722
  /**
1730
1723
  * Nucleus sampling parameter. This is a query parameter used to select responses.
1731
1724
  */
@@ -1955,9 +1948,9 @@ export namespace RunCreateParams {
1955
1948
  | CreateEvalResponsesRunDataSource.Responses;
1956
1949
 
1957
1950
  /**
1958
- * The type of run data source. Always `completions`.
1951
+ * The type of run data source. Always `responses`.
1959
1952
  */
1960
- type: 'completions';
1953
+ type: 'responses';
1961
1954
 
1962
1955
  input_messages?:
1963
1956
  | CreateEvalResponsesRunDataSource.Template
@@ -2013,12 +2006,6 @@ export namespace RunCreateParams {
2013
2006
  */
2014
2007
  type: 'responses';
2015
2008
 
2016
- /**
2017
- * Whether to allow parallel tool calls. This is a query parameter used to select
2018
- * responses.
2019
- */
2020
- allow_parallel_tool_calls?: boolean | null;
2021
-
2022
2009
  /**
2023
2010
  * Only include items created after this timestamp (inclusive). This is a query
2024
2011
  * parameter used to select responses.
@@ -2038,8 +2025,8 @@ export namespace RunCreateParams {
2038
2025
  has_tool_calls?: boolean | null;
2039
2026
 
2040
2027
  /**
2041
- * Optional search string for instructions. This is a query parameter used to
2042
- * select responses.
2028
+ * Optional string to search the 'instructions' field. This is a query parameter
2029
+ * used to select responses.
2043
2030
  */
2044
2031
  instructions_search?: string | null;
2045
2032
 
@@ -2066,6 +2053,11 @@ export namespace RunCreateParams {
2066
2053
  */
2067
2054
  temperature?: number | null;
2068
2055
 
2056
+ /**
2057
+ * List of tool names. This is a query parameter used to select responses.
2058
+ */
2059
+ tools?: Array<string> | null;
2060
+
2069
2061
  /**
2070
2062
  * Nucleus sampling parameter. This is a query parameter used to select responses.
2071
2063
  */
@@ -302,7 +302,7 @@ export namespace FineTuningJob {
302
302
  * Number of examples in each batch. A larger batch size means that model
303
303
  * parameters are updated less frequently, but with lower variance.
304
304
  */
305
- batch_size?: 'auto' | number;
305
+ batch_size?: unknown | 'auto' | number | null;
306
306
 
307
307
  /**
308
308
  * Scaling factor for the learning rate. A smaller learning rate may be useful to
@@ -103,7 +103,7 @@ export interface MultiGrader {
103
103
  name: string;
104
104
 
105
105
  /**
106
- * The type of grader.
106
+ * The object type, which is always `multi`.
107
107
  */
108
108
  type: 'multi';
109
109
  }
@@ -41,6 +41,7 @@ export type ChatModel =
41
41
  | 'gpt-4o-search-preview-2025-03-11'
42
42
  | 'gpt-4o-mini-search-preview-2025-03-11'
43
43
  | 'chatgpt-4o-latest'
44
+ | 'codex-mini-latest'
44
45
  | 'gpt-4o-mini'
45
46
  | 'gpt-4o-mini-2024-07-18'
46
47
  | 'gpt-4-turbo'
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '4.98.0'; // x-release-please-version
1
+ export const VERSION = '4.99.0'; // x-release-please-version
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "4.98.0";
1
+ export declare const VERSION = "4.99.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '4.98.0'; // x-release-please-version
4
+ exports.VERSION = '4.99.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '4.98.0'; // x-release-please-version
1
+ export const VERSION = '4.99.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map