Package com.openai.models
Class BatchCreateParams.Endpoint
-
- All Implemented Interfaces:
-
com.openai.core.Enum
public final class BatchCreateParams.Endpoint implements Enum
The endpoint to be used for all requests in the batch. Currently
/v1/chat/completions
,/v1/embeddings
, and/v1/completions
are supported. Note that/v1/embeddings
batches are also restricted to a maximum of 50,000 embedding inputs across all requests in the batch.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enum
BatchCreateParams.Endpoint.Known
public enum
BatchCreateParams.Endpoint.Value
-
Field Summary
Fields Modifier and Type Field Description public final static BatchCreateParams.Endpoint
V1_CHAT_COMPLETIONS
public final static BatchCreateParams.Endpoint
V1_EMBEDDINGS
public final static BatchCreateParams.Endpoint
V1_COMPLETIONS
-
Method Summary
Modifier and Type Method Description final JsonField<String>
_value()
final BatchCreateParams.Endpoint.Value
value()
final BatchCreateParams.Endpoint.Known
known()
final String
asString()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static BatchCreateParams.Endpoint
of(String value)
-
-
Method Detail
-
value
final BatchCreateParams.Endpoint.Value value()
-
known
final BatchCreateParams.Endpoint.Known known()
-
of
final static BatchCreateParams.Endpoint of(String value)
-
-
-
-