Module: OpenAI::Models::Beta::FileSearchTool::FileSearch::RankingOptions::Ranker

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

Overview

The ranker to use for the file search. If not specified will use the auto ranker.

See Also:

  • OpenAI::Models::Beta::FileSearchTool::FileSearch::RankingOptions#ranker

Constant Summary collapse

AUTO =

Returns:

  • (:auto)
:auto
DEFAULT_2024_08_21 =

Returns:

  • (:default_2024_08_21)
:default_2024_08_21

Class Method Summary collapse

Instance 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, meta_info, new_coerce_state, type_info

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/openai/models/beta/file_search_tool.rb', line 102

Instance Method Details

#self?.values::Array[OpenAI::Models::Beta::FileSearchTool::FileSearch::RankingOptions::ranker]

Returns:

  • (::Array[OpenAI::Models::Beta::FileSearchTool::FileSearch::RankingOptions::ranker])


89
# File 'sig/openai/models/beta/file_search_tool.rbs', line 89

def self?.values: -> ::Array[OpenAI::Models::Beta::FileSearchTool::FileSearch::RankingOptions::ranker]