io.cequence.openaiscala.domain.Batch$.BatchRow
See theBatchRow companion object
case class BatchRow(custom_id: String, method: String, url: String, body: Map[String, Seq[BaseMessage]])
Represents a request in a batch. The per-line object of the batch input file
Attributes
- body
The per-line object of the batch input file.
- custom_id
A developer-provided per-request id that will be used to match outputs to inputs. Must be unique for each request in a batch.
- method
The HTTP method to be used for the request. Currently only POST is supported.
- url
The OpenAI API relative URL to be used for the request. Currently /v1/chat/completions and /v1/embeddings are supported.
- Companion:
- object
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any