Package com.openai.models
Class BatchCreateParams.Endpoint
-
- All Implemented Interfaces:
-
com.openai.core.Enum
public final class BatchCreateParams.Endpoint implements EnumThe endpoint to be used for all requests in the batch. Currently
/v1/chat/completions,/v1/embeddings, and/v1/completionsare supported. Note that/v1/embeddingsbatches 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 enumBatchCreateParams.Endpoint.Knownpublic enumBatchCreateParams.Endpoint.Value
-
Field Summary
Fields Modifier and Type Field Description public final static BatchCreateParams.EndpointV1_CHAT_COMPLETIONSpublic final static BatchCreateParams.EndpointV1_EMBEDDINGSpublic final static BatchCreateParams.EndpointV1_COMPLETIONS
-
Method Summary
Modifier and Type Method Description final JsonField<String>_value()final BatchCreateParams.Endpoint.Valuevalue()final BatchCreateParams.Endpoint.Knownknown()final StringasString()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BatchCreateParams.Endpointof(String value)-
-
Method Detail
-
value
final BatchCreateParams.Endpoint.Value value()
-
known
final BatchCreateParams.Endpoint.Known known()
-
of
final static BatchCreateParams.Endpoint of(String value)
-
-
-
-