BatchRow

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 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