toggle menu
openai-kotlin
common
switch theme
search in API
openai-client
/
com.aallam.openai.client
/
Batch
/
batch
batch
abstract
suspend
fun
batch
(
request
:
BatchRequest
,
requestOptions
:
RequestOptions
?
=
null
)
:
Batch
Creates and executes a batch from an uploaded file of requests.
abstract
suspend
fun
batch
(
id
:
BatchId
,
requestOptions
:
RequestOptions
?
=
null
)
:
Batch
?
Retrieves a batch.