Module: OpenAI::Models::BatchCreateParams::Endpoint

Extended by:
Internal::Type::Enum
Defined in:
lib/openai/models/batch_create_params.rb,
sig/openai/models/batch_create_params.rbs

Overview

The endpoint for all requests in the batch. Batches using /v1/embeddings can contain at most 50,000 embedding inputs across all requests.

Constant Summary collapse

V1_RESPONSES =

Returns:

  • (:"/v1/responses")
:"/v1/responses"
V1_CHAT_COMPLETIONS =

Returns:

  • (:"/v1/chat/completions")
:"/v1/chat/completions"
V1_EMBEDDINGS =

Returns:

  • (:"/v1/embeddings")
:"/v1/embeddings"
V1_COMPLETIONS =

Returns:

  • (:"/v1/completions")
:"/v1/completions"
V1_MODERATIONS =

Returns:

  • (:"/v1/moderations")
:"/v1/moderations"
V1_IMAGES_GENERATIONS =

Returns:

  • (:"/v1/images/generations")
:"/v1/images/generations"
V1_IMAGES_EDITS =

Returns:

  • (:"/v1/images/edits")
:"/v1/images/edits"

Class Method Summary collapse

Methods included from Internal::Type::Enum

==, ===, coerce, dump, hash, inspect, to_sorbet_type

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, coerce_cached, coerce_with_error, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, resolve_type, type_info

Class Method Details

.values ⇒ ::Array[OpenAI::Models::BatchCreateParams::endpoint]

Returns:

  • (::Array[OpenAI::Models::BatchCreateParams::endpoint])


128
# File 'sig/openai/models/batch_create_params.rbs', line 128

def self?.values: -> ::Array[OpenAI::Models::BatchCreateParams::endpoint]