2
2
3
3
from __future__ import annotations
4
4
5
- from typing import Union , Iterable
5
+ from typing import List , Union , Iterable
6
6
from typing_extensions import Literal , overload
7
7
8
8
import httpx
@@ -66,6 +66,7 @@ def create(
66
66
* ,
67
67
input : Union [str , Iterable [response_create_params .InputUnionMember1 ]],
68
68
model : str ,
69
+ include : List [str ] | NotGiven = NOT_GIVEN ,
69
70
instructions : str | NotGiven = NOT_GIVEN ,
70
71
max_infer_iters : int | NotGiven = NOT_GIVEN ,
71
72
previous_response_id : str | NotGiven = NOT_GIVEN ,
@@ -89,6 +90,8 @@ def create(
89
90
90
91
model: The underlying LLM used for completions.
91
92
93
+ include: (Optional) Additional fields to include in the response.
94
+
92
95
previous_response_id: (Optional) if specified, the new response will be a continuation of the previous
93
96
response. This can be used to easily fork-off new responses from existing
94
97
responses.
@@ -112,6 +115,7 @@ def create(
112
115
input : Union [str , Iterable [response_create_params .InputUnionMember1 ]],
113
116
model : str ,
114
117
stream : Literal [True ],
118
+ include : List [str ] | NotGiven = NOT_GIVEN ,
115
119
instructions : str | NotGiven = NOT_GIVEN ,
116
120
max_infer_iters : int | NotGiven = NOT_GIVEN ,
117
121
previous_response_id : str | NotGiven = NOT_GIVEN ,
@@ -134,6 +138,8 @@ def create(
134
138
135
139
model: The underlying LLM used for completions.
136
140
141
+ include: (Optional) Additional fields to include in the response.
142
+
137
143
previous_response_id: (Optional) if specified, the new response will be a continuation of the previous
138
144
response. This can be used to easily fork-off new responses from existing
139
145
responses.
@@ -157,6 +163,7 @@ def create(
157
163
input : Union [str , Iterable [response_create_params .InputUnionMember1 ]],
158
164
model : str ,
159
165
stream : bool ,
166
+ include : List [str ] | NotGiven = NOT_GIVEN ,
160
167
instructions : str | NotGiven = NOT_GIVEN ,
161
168
max_infer_iters : int | NotGiven = NOT_GIVEN ,
162
169
previous_response_id : str | NotGiven = NOT_GIVEN ,
@@ -179,6 +186,8 @@ def create(
179
186
180
187
model: The underlying LLM used for completions.
181
188
189
+ include: (Optional) Additional fields to include in the response.
190
+
182
191
previous_response_id: (Optional) if specified, the new response will be a continuation of the previous
183
192
response. This can be used to easily fork-off new responses from existing
184
193
responses.
@@ -201,6 +210,7 @@ def create(
201
210
* ,
202
211
input : Union [str , Iterable [response_create_params .InputUnionMember1 ]],
203
212
model : str ,
213
+ include : List [str ] | NotGiven = NOT_GIVEN ,
204
214
instructions : str | NotGiven = NOT_GIVEN ,
205
215
max_infer_iters : int | NotGiven = NOT_GIVEN ,
206
216
previous_response_id : str | NotGiven = NOT_GIVEN ,
@@ -222,6 +232,7 @@ def create(
222
232
{
223
233
"input" : input ,
224
234
"model" : model ,
235
+ "include" : include ,
225
236
"instructions" : instructions ,
226
237
"max_infer_iters" : max_infer_iters ,
227
238
"previous_response_id" : previous_response_id ,
@@ -362,6 +373,7 @@ async def create(
362
373
* ,
363
374
input : Union [str , Iterable [response_create_params .InputUnionMember1 ]],
364
375
model : str ,
376
+ include : List [str ] | NotGiven = NOT_GIVEN ,
365
377
instructions : str | NotGiven = NOT_GIVEN ,
366
378
max_infer_iters : int | NotGiven = NOT_GIVEN ,
367
379
previous_response_id : str | NotGiven = NOT_GIVEN ,
@@ -385,6 +397,8 @@ async def create(
385
397
386
398
model: The underlying LLM used for completions.
387
399
400
+ include: (Optional) Additional fields to include in the response.
401
+
388
402
previous_response_id: (Optional) if specified, the new response will be a continuation of the previous
389
403
response. This can be used to easily fork-off new responses from existing
390
404
responses.
@@ -408,6 +422,7 @@ async def create(
408
422
input : Union [str , Iterable [response_create_params .InputUnionMember1 ]],
409
423
model : str ,
410
424
stream : Literal [True ],
425
+ include : List [str ] | NotGiven = NOT_GIVEN ,
411
426
instructions : str | NotGiven = NOT_GIVEN ,
412
427
max_infer_iters : int | NotGiven = NOT_GIVEN ,
413
428
previous_response_id : str | NotGiven = NOT_GIVEN ,
@@ -430,6 +445,8 @@ async def create(
430
445
431
446
model: The underlying LLM used for completions.
432
447
448
+ include: (Optional) Additional fields to include in the response.
449
+
433
450
previous_response_id: (Optional) if specified, the new response will be a continuation of the previous
434
451
response. This can be used to easily fork-off new responses from existing
435
452
responses.
@@ -453,6 +470,7 @@ async def create(
453
470
input : Union [str , Iterable [response_create_params .InputUnionMember1 ]],
454
471
model : str ,
455
472
stream : bool ,
473
+ include : List [str ] | NotGiven = NOT_GIVEN ,
456
474
instructions : str | NotGiven = NOT_GIVEN ,
457
475
max_infer_iters : int | NotGiven = NOT_GIVEN ,
458
476
previous_response_id : str | NotGiven = NOT_GIVEN ,
@@ -475,6 +493,8 @@ async def create(
475
493
476
494
model: The underlying LLM used for completions.
477
495
496
+ include: (Optional) Additional fields to include in the response.
497
+
478
498
previous_response_id: (Optional) if specified, the new response will be a continuation of the previous
479
499
response. This can be used to easily fork-off new responses from existing
480
500
responses.
@@ -497,6 +517,7 @@ async def create(
497
517
* ,
498
518
input : Union [str , Iterable [response_create_params .InputUnionMember1 ]],
499
519
model : str ,
520
+ include : List [str ] | NotGiven = NOT_GIVEN ,
500
521
instructions : str | NotGiven = NOT_GIVEN ,
501
522
max_infer_iters : int | NotGiven = NOT_GIVEN ,
502
523
previous_response_id : str | NotGiven = NOT_GIVEN ,
@@ -518,6 +539,7 @@ async def create(
518
539
{
519
540
"input" : input ,
520
541
"model" : model ,
542
+ "include" : include ,
521
543
"instructions" : instructions ,
522
544
"max_infer_iters" : max_infer_iters ,
523
545
"previous_response_id" : previous_response_id ,
0 commit comments