scale-gp-beta 0.1.0a30__py3-none-any.whl → 0.1.0a32__py3-none-any.whl

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.
Files changed (57) hide show
  1. scale_gp_beta/__init__.py +3 -1
  2. scale_gp_beta/_base_client.py +12 -12
  3. scale_gp_beta/_client.py +20 -20
  4. scale_gp_beta/_compat.py +48 -48
  5. scale_gp_beta/_models.py +51 -45
  6. scale_gp_beta/_qs.py +7 -7
  7. scale_gp_beta/_types.py +53 -12
  8. scale_gp_beta/_utils/__init__.py +9 -2
  9. scale_gp_beta/_utils/_compat.py +45 -0
  10. scale_gp_beta/_utils/_datetime_parse.py +136 -0
  11. scale_gp_beta/_utils/_transform.py +13 -3
  12. scale_gp_beta/_utils/_typing.py +6 -1
  13. scale_gp_beta/_utils/_utils.py +4 -5
  14. scale_gp_beta/_version.py +1 -1
  15. scale_gp_beta/resources/__init__.py +6 -6
  16. scale_gp_beta/resources/chat/completions.py +236 -236
  17. scale_gp_beta/resources/completions.py +142 -142
  18. scale_gp_beta/resources/dataset_items.py +27 -27
  19. scale_gp_beta/resources/datasets.py +38 -38
  20. scale_gp_beta/resources/evaluation_items.py +19 -19
  21. scale_gp_beta/resources/evaluations.py +97 -75
  22. scale_gp_beta/resources/files/content.py +3 -3
  23. scale_gp_beta/resources/files/files.py +21 -21
  24. scale_gp_beta/resources/inference.py +7 -7
  25. scale_gp_beta/resources/models.py +71 -73
  26. scale_gp_beta/resources/questions.py +43 -43
  27. scale_gp_beta/resources/responses.py +34 -34
  28. scale_gp_beta/resources/spans.py +81 -81
  29. scale_gp_beta/types/__init__.py +4 -4
  30. scale_gp_beta/types/chat/chat_completion.py +114 -19
  31. scale_gp_beta/types/chat/chat_completion_chunk.py +84 -14
  32. scale_gp_beta/types/chat/completion_create_params.py +5 -3
  33. scale_gp_beta/types/completion.py +36 -6
  34. scale_gp_beta/types/completion_create_params.py +5 -3
  35. scale_gp_beta/types/container.py +2 -2
  36. scale_gp_beta/types/container_param.py +2 -2
  37. scale_gp_beta/types/dataset_create_params.py +4 -2
  38. scale_gp_beta/types/dataset_list_params.py +3 -2
  39. scale_gp_beta/types/dataset_update_params.py +3 -2
  40. scale_gp_beta/types/evaluation.py +7 -1
  41. scale_gp_beta/types/evaluation_create_params.py +17 -6
  42. scale_gp_beta/types/evaluation_list_params.py +3 -1
  43. scale_gp_beta/types/evaluation_task.py +6 -1
  44. scale_gp_beta/types/evaluation_task_param.py +4 -3
  45. scale_gp_beta/types/evaluation_update_params.py +3 -2
  46. scale_gp_beta/types/inference_model.py +10 -1
  47. scale_gp_beta/types/model_create_params.py +6 -4
  48. scale_gp_beta/types/model_update_params.py +6 -4
  49. scale_gp_beta/types/question_create_params.py +4 -2
  50. scale_gp_beta/types/response.py +852 -142
  51. scale_gp_beta/types/response_create_params.py +7 -5
  52. scale_gp_beta/types/response_create_response.py +6072 -1012
  53. scale_gp_beta/types/span_search_params.py +8 -7
  54. {scale_gp_beta-0.1.0a30.dist-info → scale_gp_beta-0.1.0a32.dist-info}/METADATA +1 -1
  55. {scale_gp_beta-0.1.0a30.dist-info → scale_gp_beta-0.1.0a32.dist-info}/RECORD +57 -55
  56. {scale_gp_beta-0.1.0a30.dist-info → scale_gp_beta-0.1.0a32.dist-info}/WHEEL +0 -0
  57. {scale_gp_beta-0.1.0a30.dist-info → scale_gp_beta-0.1.0a32.dist-info}/licenses/LICENSE +0 -0
@@ -8,7 +8,7 @@ from typing_extensions import Literal, overload
8
8
  import httpx
9
9
 
10
10
  from ..types import question_list_params, question_create_params
11
- from .._types import NOT_GIVEN, Body, Query, Headers, NotGiven
11
+ from .._types import Body, Omit, Query, Headers, NotGiven, omit, not_given
12
12
  from .._utils import required_args, maybe_transform, async_maybe_transform
13
13
  from .._compat import cached_property
14
14
  from .._resource import SyncAPIResource, AsyncAPIResource
@@ -52,13 +52,13 @@ class QuestionsResource(SyncAPIResource):
52
52
  configuration: question_create_params.CategoricalQuestionRequestConfiguration,
53
53
  name: str,
54
54
  prompt: str,
55
- question_type: Literal["categorical"] | NotGiven = NOT_GIVEN,
55
+ question_type: Literal["categorical"] | Omit = omit,
56
56
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
57
57
  # The extra values given here take precedence over values defined on the client or passed to this method.
58
58
  extra_headers: Headers | None = None,
59
59
  extra_query: Query | None = None,
60
60
  extra_body: Body | None = None,
61
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
61
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
62
62
  ) -> Question:
63
63
  """
64
64
  Create Question
@@ -83,13 +83,13 @@ class QuestionsResource(SyncAPIResource):
83
83
  configuration: question_create_params.RatingQuestionRequestConfiguration,
84
84
  name: str,
85
85
  prompt: str,
86
- question_type: Literal["rating"] | NotGiven = NOT_GIVEN,
86
+ question_type: Literal["rating"] | Omit = omit,
87
87
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
88
88
  # The extra values given here take precedence over values defined on the client or passed to this method.
89
89
  extra_headers: Headers | None = None,
90
90
  extra_query: Query | None = None,
91
91
  extra_body: Body | None = None,
92
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
92
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
93
93
  ) -> Question:
94
94
  """
95
95
  Create Question
@@ -113,14 +113,14 @@ class QuestionsResource(SyncAPIResource):
113
113
  *,
114
114
  name: str,
115
115
  prompt: str,
116
- configuration: question_create_params.NumberQuestionRequestConfiguration | NotGiven = NOT_GIVEN,
117
- question_type: Literal["number"] | NotGiven = NOT_GIVEN,
116
+ configuration: question_create_params.NumberQuestionRequestConfiguration | Omit = omit,
117
+ question_type: Literal["number"] | Omit = omit,
118
118
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
119
119
  # The extra values given here take precedence over values defined on the client or passed to this method.
120
120
  extra_headers: Headers | None = None,
121
121
  extra_query: Query | None = None,
122
122
  extra_body: Body | None = None,
123
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
123
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
124
124
  ) -> Question:
125
125
  """
126
126
  Create Question
@@ -144,14 +144,14 @@ class QuestionsResource(SyncAPIResource):
144
144
  *,
145
145
  name: str,
146
146
  prompt: str,
147
- configuration: question_create_params.FreeTextQuestionRequestConfiguration | NotGiven = NOT_GIVEN,
148
- question_type: Literal["free_text"] | NotGiven = NOT_GIVEN,
147
+ configuration: question_create_params.FreeTextQuestionRequestConfiguration | Omit = omit,
148
+ question_type: Literal["free_text"] | Omit = omit,
149
149
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
150
150
  # The extra values given here take precedence over values defined on the client or passed to this method.
151
151
  extra_headers: Headers | None = None,
152
152
  extra_query: Query | None = None,
153
153
  extra_body: Body | None = None,
154
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
154
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
155
155
  ) -> Question:
156
156
  """
157
157
  Create Question
@@ -176,13 +176,13 @@ class QuestionsResource(SyncAPIResource):
176
176
  configuration: question_create_params.FormQuestionRequestConfiguration,
177
177
  name: str,
178
178
  prompt: str,
179
- question_type: Literal["form"] | NotGiven = NOT_GIVEN,
179
+ question_type: Literal["form"] | Omit = omit,
180
180
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
181
181
  # The extra values given here take precedence over values defined on the client or passed to this method.
182
182
  extra_headers: Headers | None = None,
183
183
  extra_query: Query | None = None,
184
184
  extra_body: Body | None = None,
185
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
185
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
186
186
  ) -> Question:
187
187
  """
188
188
  Create Question
@@ -209,7 +209,7 @@ class QuestionsResource(SyncAPIResource):
209
209
  | question_create_params.NumberQuestionRequestConfiguration
210
210
  | question_create_params.FreeTextQuestionRequestConfiguration
211
211
  | question_create_params.FormQuestionRequestConfiguration
212
- | NotGiven = NOT_GIVEN,
212
+ | Omit = omit,
213
213
  name: str,
214
214
  prompt: str,
215
215
  question_type: Literal["categorical"]
@@ -217,13 +217,13 @@ class QuestionsResource(SyncAPIResource):
217
217
  | Literal["number"]
218
218
  | Literal["free_text"]
219
219
  | Literal["form"]
220
- | NotGiven = NOT_GIVEN,
220
+ | Omit = omit,
221
221
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
222
222
  # The extra values given here take precedence over values defined on the client or passed to this method.
223
223
  extra_headers: Headers | None = None,
224
224
  extra_query: Query | None = None,
225
225
  extra_body: Body | None = None,
226
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
226
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
227
227
  ) -> Question:
228
228
  return cast(
229
229
  Question,
@@ -254,7 +254,7 @@ class QuestionsResource(SyncAPIResource):
254
254
  extra_headers: Headers | None = None,
255
255
  extra_query: Query | None = None,
256
256
  extra_body: Body | None = None,
257
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
257
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
258
258
  ) -> Question:
259
259
  """
260
260
  Get Question
@@ -284,16 +284,16 @@ class QuestionsResource(SyncAPIResource):
284
284
  def list(
285
285
  self,
286
286
  *,
287
- ending_before: str | NotGiven = NOT_GIVEN,
288
- limit: int | NotGiven = NOT_GIVEN,
289
- sort_order: Literal["asc", "desc"] | NotGiven = NOT_GIVEN,
290
- starting_after: str | NotGiven = NOT_GIVEN,
287
+ ending_before: str | Omit = omit,
288
+ limit: int | Omit = omit,
289
+ sort_order: Literal["asc", "desc"] | Omit = omit,
290
+ starting_after: str | Omit = omit,
291
291
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
292
292
  # The extra values given here take precedence over values defined on the client or passed to this method.
293
293
  extra_headers: Headers | None = None,
294
294
  extra_query: Query | None = None,
295
295
  extra_body: Body | None = None,
296
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
296
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
297
297
  ) -> SyncCursorPage[Question]:
298
298
  """
299
299
  List Questions
@@ -356,13 +356,13 @@ class AsyncQuestionsResource(AsyncAPIResource):
356
356
  configuration: question_create_params.CategoricalQuestionRequestConfiguration,
357
357
  name: str,
358
358
  prompt: str,
359
- question_type: Literal["categorical"] | NotGiven = NOT_GIVEN,
359
+ question_type: Literal["categorical"] | Omit = omit,
360
360
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
361
361
  # The extra values given here take precedence over values defined on the client or passed to this method.
362
362
  extra_headers: Headers | None = None,
363
363
  extra_query: Query | None = None,
364
364
  extra_body: Body | None = None,
365
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
365
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
366
366
  ) -> Question:
367
367
  """
368
368
  Create Question
@@ -387,13 +387,13 @@ class AsyncQuestionsResource(AsyncAPIResource):
387
387
  configuration: question_create_params.RatingQuestionRequestConfiguration,
388
388
  name: str,
389
389
  prompt: str,
390
- question_type: Literal["rating"] | NotGiven = NOT_GIVEN,
390
+ question_type: Literal["rating"] | Omit = omit,
391
391
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
392
392
  # The extra values given here take precedence over values defined on the client or passed to this method.
393
393
  extra_headers: Headers | None = None,
394
394
  extra_query: Query | None = None,
395
395
  extra_body: Body | None = None,
396
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
396
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
397
397
  ) -> Question:
398
398
  """
399
399
  Create Question
@@ -417,14 +417,14 @@ class AsyncQuestionsResource(AsyncAPIResource):
417
417
  *,
418
418
  name: str,
419
419
  prompt: str,
420
- configuration: question_create_params.NumberQuestionRequestConfiguration | NotGiven = NOT_GIVEN,
421
- question_type: Literal["number"] | NotGiven = NOT_GIVEN,
420
+ configuration: question_create_params.NumberQuestionRequestConfiguration | Omit = omit,
421
+ question_type: Literal["number"] | Omit = omit,
422
422
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
423
423
  # The extra values given here take precedence over values defined on the client or passed to this method.
424
424
  extra_headers: Headers | None = None,
425
425
  extra_query: Query | None = None,
426
426
  extra_body: Body | None = None,
427
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
427
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
428
428
  ) -> Question:
429
429
  """
430
430
  Create Question
@@ -448,14 +448,14 @@ class AsyncQuestionsResource(AsyncAPIResource):
448
448
  *,
449
449
  name: str,
450
450
  prompt: str,
451
- configuration: question_create_params.FreeTextQuestionRequestConfiguration | NotGiven = NOT_GIVEN,
452
- question_type: Literal["free_text"] | NotGiven = NOT_GIVEN,
451
+ configuration: question_create_params.FreeTextQuestionRequestConfiguration | Omit = omit,
452
+ question_type: Literal["free_text"] | Omit = omit,
453
453
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
454
454
  # The extra values given here take precedence over values defined on the client or passed to this method.
455
455
  extra_headers: Headers | None = None,
456
456
  extra_query: Query | None = None,
457
457
  extra_body: Body | None = None,
458
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
458
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
459
459
  ) -> Question:
460
460
  """
461
461
  Create Question
@@ -480,13 +480,13 @@ class AsyncQuestionsResource(AsyncAPIResource):
480
480
  configuration: question_create_params.FormQuestionRequestConfiguration,
481
481
  name: str,
482
482
  prompt: str,
483
- question_type: Literal["form"] | NotGiven = NOT_GIVEN,
483
+ question_type: Literal["form"] | Omit = omit,
484
484
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
485
485
  # The extra values given here take precedence over values defined on the client or passed to this method.
486
486
  extra_headers: Headers | None = None,
487
487
  extra_query: Query | None = None,
488
488
  extra_body: Body | None = None,
489
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
489
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
490
490
  ) -> Question:
491
491
  """
492
492
  Create Question
@@ -513,7 +513,7 @@ class AsyncQuestionsResource(AsyncAPIResource):
513
513
  | question_create_params.NumberQuestionRequestConfiguration
514
514
  | question_create_params.FreeTextQuestionRequestConfiguration
515
515
  | question_create_params.FormQuestionRequestConfiguration
516
- | NotGiven = NOT_GIVEN,
516
+ | Omit = omit,
517
517
  name: str,
518
518
  prompt: str,
519
519
  question_type: Literal["categorical"]
@@ -521,13 +521,13 @@ class AsyncQuestionsResource(AsyncAPIResource):
521
521
  | Literal["number"]
522
522
  | Literal["free_text"]
523
523
  | Literal["form"]
524
- | NotGiven = NOT_GIVEN,
524
+ | Omit = omit,
525
525
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
526
526
  # The extra values given here take precedence over values defined on the client or passed to this method.
527
527
  extra_headers: Headers | None = None,
528
528
  extra_query: Query | None = None,
529
529
  extra_body: Body | None = None,
530
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
530
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
531
531
  ) -> Question:
532
532
  return cast(
533
533
  Question,
@@ -558,7 +558,7 @@ class AsyncQuestionsResource(AsyncAPIResource):
558
558
  extra_headers: Headers | None = None,
559
559
  extra_query: Query | None = None,
560
560
  extra_body: Body | None = None,
561
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
561
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
562
562
  ) -> Question:
563
563
  """
564
564
  Get Question
@@ -588,16 +588,16 @@ class AsyncQuestionsResource(AsyncAPIResource):
588
588
  def list(
589
589
  self,
590
590
  *,
591
- ending_before: str | NotGiven = NOT_GIVEN,
592
- limit: int | NotGiven = NOT_GIVEN,
593
- sort_order: Literal["asc", "desc"] | NotGiven = NOT_GIVEN,
594
- starting_after: str | NotGiven = NOT_GIVEN,
591
+ ending_before: str | Omit = omit,
592
+ limit: int | Omit = omit,
593
+ sort_order: Literal["asc", "desc"] | Omit = omit,
594
+ starting_after: str | Omit = omit,
595
595
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
596
596
  # The extra values given here take precedence over values defined on the client or passed to this method.
597
597
  extra_headers: Headers | None = None,
598
598
  extra_query: Query | None = None,
599
599
  extra_body: Body | None = None,
600
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
600
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
601
601
  ) -> AsyncPaginator[Question, AsyncCursorPage[Question]]:
602
602
  """
603
603
  List Questions
@@ -2,13 +2,13 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
- from typing import Any, Dict, List, Union, Iterable, cast
5
+ from typing import Any, Dict, Union, Iterable, cast
6
6
  from typing_extensions import Literal
7
7
 
8
8
  import httpx
9
9
 
10
10
  from ..types import response_create_params
11
- from .._types import NOT_GIVEN, Body, Query, Headers, NotGiven
11
+ from .._types import Body, Omit, Query, Headers, NotGiven, SequenceNotStr, omit, not_given
12
12
  from .._utils import maybe_transform, async_maybe_transform
13
13
  from .._compat import cached_property
14
14
  from .._resource import SyncAPIResource, AsyncAPIResource
@@ -49,27 +49,27 @@ class ResponsesResource(SyncAPIResource):
49
49
  *,
50
50
  input: Union[str, Iterable[response_create_params.InputUnionMember1]],
51
51
  model: str,
52
- include: List[str] | NotGiven = NOT_GIVEN,
53
- instructions: str | NotGiven = NOT_GIVEN,
54
- max_output_tokens: int | NotGiven = NOT_GIVEN,
55
- metadata: Dict[str, object] | NotGiven = NOT_GIVEN,
56
- parallel_tool_calls: bool | NotGiven = NOT_GIVEN,
57
- previous_response_id: str | NotGiven = NOT_GIVEN,
58
- reasoning: Dict[str, object] | NotGiven = NOT_GIVEN,
59
- store: bool | NotGiven = NOT_GIVEN,
60
- stream: bool | NotGiven = NOT_GIVEN,
61
- temperature: float | NotGiven = NOT_GIVEN,
62
- text: Dict[str, object] | NotGiven = NOT_GIVEN,
63
- tool_choice: Union[str, Dict[str, object]] | NotGiven = NOT_GIVEN,
64
- tools: Iterable[Dict[str, object]] | NotGiven = NOT_GIVEN,
65
- top_p: float | NotGiven = NOT_GIVEN,
66
- truncation: Literal["auto", "disabled"] | NotGiven = NOT_GIVEN,
52
+ include: SequenceNotStr[str] | Omit = omit,
53
+ instructions: str | Omit = omit,
54
+ max_output_tokens: int | Omit = omit,
55
+ metadata: Dict[str, object] | Omit = omit,
56
+ parallel_tool_calls: bool | Omit = omit,
57
+ previous_response_id: str | Omit = omit,
58
+ reasoning: Dict[str, object] | Omit = omit,
59
+ store: bool | Omit = omit,
60
+ stream: bool | Omit = omit,
61
+ temperature: float | Omit = omit,
62
+ text: Dict[str, object] | Omit = omit,
63
+ tool_choice: Union[str, Dict[str, object]] | Omit = omit,
64
+ tools: Iterable[Dict[str, object]] | Omit = omit,
65
+ top_p: float | Omit = omit,
66
+ truncation: Literal["auto", "disabled"] | Omit = omit,
67
67
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
68
68
  # The extra values given here take precedence over values defined on the client or passed to this method.
69
69
  extra_headers: Headers | None = None,
70
70
  extra_query: Query | None = None,
71
71
  extra_body: Body | None = None,
72
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
72
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
73
73
  ) -> ResponseCreateResponse:
74
74
  """
75
75
  Responses
@@ -176,27 +176,27 @@ class AsyncResponsesResource(AsyncAPIResource):
176
176
  *,
177
177
  input: Union[str, Iterable[response_create_params.InputUnionMember1]],
178
178
  model: str,
179
- include: List[str] | NotGiven = NOT_GIVEN,
180
- instructions: str | NotGiven = NOT_GIVEN,
181
- max_output_tokens: int | NotGiven = NOT_GIVEN,
182
- metadata: Dict[str, object] | NotGiven = NOT_GIVEN,
183
- parallel_tool_calls: bool | NotGiven = NOT_GIVEN,
184
- previous_response_id: str | NotGiven = NOT_GIVEN,
185
- reasoning: Dict[str, object] | NotGiven = NOT_GIVEN,
186
- store: bool | NotGiven = NOT_GIVEN,
187
- stream: bool | NotGiven = NOT_GIVEN,
188
- temperature: float | NotGiven = NOT_GIVEN,
189
- text: Dict[str, object] | NotGiven = NOT_GIVEN,
190
- tool_choice: Union[str, Dict[str, object]] | NotGiven = NOT_GIVEN,
191
- tools: Iterable[Dict[str, object]] | NotGiven = NOT_GIVEN,
192
- top_p: float | NotGiven = NOT_GIVEN,
193
- truncation: Literal["auto", "disabled"] | NotGiven = NOT_GIVEN,
179
+ include: SequenceNotStr[str] | Omit = omit,
180
+ instructions: str | Omit = omit,
181
+ max_output_tokens: int | Omit = omit,
182
+ metadata: Dict[str, object] | Omit = omit,
183
+ parallel_tool_calls: bool | Omit = omit,
184
+ previous_response_id: str | Omit = omit,
185
+ reasoning: Dict[str, object] | Omit = omit,
186
+ store: bool | Omit = omit,
187
+ stream: bool | Omit = omit,
188
+ temperature: float | Omit = omit,
189
+ text: Dict[str, object] | Omit = omit,
190
+ tool_choice: Union[str, Dict[str, object]] | Omit = omit,
191
+ tools: Iterable[Dict[str, object]] | Omit = omit,
192
+ top_p: float | Omit = omit,
193
+ truncation: Literal["auto", "disabled"] | Omit = omit,
194
194
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
195
195
  # The extra values given here take precedence over values defined on the client or passed to this method.
196
196
  extra_headers: Headers | None = None,
197
197
  extra_query: Query | None = None,
198
198
  extra_body: Body | None = None,
199
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
199
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
200
200
  ) -> ResponseCreateResponse:
201
201
  """
202
202
  Responses