Class: TranslationAPI::Provider::OpenAI::Model
- Inherits:
-
Llm::Model
- Object
- Llm::Model
- TranslationAPI::Provider::OpenAI::Model
show all
- Defined in:
- lib/translation_api/provider/openai/model.rb
Constant Summary
collapse
- SUPPORTED_MODELS =
[
"gpt-5",
"gpt-5-mini",
"gpt-5-nano"
].freeze
Constants inherited
from Llm::Model
Llm::Model::MODEL_ERROR_MESSAGE
Instance Attribute Summary
Attributes inherited from Llm::Model
#name
Class Method Summary
collapse
Methods inherited from Llm::Model
#initialize
Class Method Details
.base ⇒ Object
15
16
17
|
# File 'lib/translation_api/provider/openai/model.rb', line 15
def self.base
SUPPORTED_MODELS[0]
end
|
.mini ⇒ Object
19
20
21
|
# File 'lib/translation_api/provider/openai/model.rb', line 19
def self.mini
SUPPORTED_MODELS[1]
end
|
.nano ⇒ Object
23
24
25
|
# File 'lib/translation_api/provider/openai/model.rb', line 23
def self.nano
SUPPORTED_MODELS[2]
end
|