Module: OpenAI::Models::EmbeddingCreateParams::EncodingFormat

Extended by:
Internal::Type::Enum
Defined in:
lib/openai/models/embedding_create_params.rb

Overview

The format to return the embeddings in. Can be either ‘float` or [`base64`](pypi.org/project/pybase64/).

Constant Summary collapse

FLOAT =
:float
BASE64 =
:base64

Class Method Summary collapse

Methods included from Internal::Type::Enum

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

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, #dump, dump, #inspect, inspect, type_info

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/openai/models/embedding_create_params.rb', line 134