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 Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any