BatchEndpoint enum

Batch endpoint options.

Inheritance
Available extensions

Values

responses → const BatchEndpoint

Responses endpoint.

const BatchEndpoint._('/v1/responses')
chatCompletions → const BatchEndpoint

Chat completions endpoint.

const BatchEndpoint._('/v1/chat/completions')
embeddings → const BatchEndpoint

Embeddings endpoint.

const BatchEndpoint._('/v1/embeddings')
completions → const BatchEndpoint

Completions endpoint (legacy).

const BatchEndpoint._('/v1/completions')
moderations → const BatchEndpoint

Moderations endpoint.

const BatchEndpoint._('/v1/moderations')
imagesGenerations → const BatchEndpoint

Image generations endpoint.

const BatchEndpoint._('/v1/images/generations')
imagesEdits → const BatchEndpoint

Image edits endpoint.

const BatchEndpoint._('/v1/images/edits')

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
Converts to JSON string.
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<BatchEndpoint>
A constant List of the values in this enum, in order of their declaration.