CreateBatchResponse

io.cequence.openaiscala.domain.response.CreateBatchResponse
case class CreateBatchResponse(id: String, custom_id: String, response: BatchResponse, error: Option[BatchError])

Represents the output of a batch request.

Attributes

custom_id

A developer-provided per-request id that will be used to match outputs to inputs.

error

The error object, which can be null. For requests that failed with a non-HTTP error, this will contain more information on the cause of the failure. It contains a machine-readable error code and a human-readable error message. OpenAI API Reference

id

The unique identifier for the batch request.

response

The response object, which can be null. It contains the HTTP status code, request id, and the JSON body of the response.

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product