Class: Cadenya::Models::AIProviderConfigOpenAI
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Cadenya::Models::AIProviderConfigOpenAI
- Defined in:
- lib/cadenya/models/ai_provider_config_openai.rb,
sig/cadenya/models/ai_provider_config_openai.rbs
Defined Under Namespace
Instance Attribute Summary collapse
-
#openai ⇒ Cadenya::Models::AIProviderConfigOpenAI::OpenAI
OpenAIConfig holds OpenAI-specific settings.
- #type ⇒ Symbol, Cadenya::Models::AIProviderConfigOpenAI::Type
Instance Method Summary collapse
-
#initialize(organization_id: nil, project_id: nil) ⇒ Object
constructor
OpenAIConfig holds OpenAI-specific settings.
- #to_hash ⇒ {
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(organization_id: nil, project_id: nil) ⇒ Object
OpenAIConfig holds OpenAI-specific settings.
|
|
# File 'lib/cadenya/models/ai_provider_config_openai.rb', line 17
|
Instance Attribute Details
#openai ⇒ Cadenya::Models::AIProviderConfigOpenAI::OpenAI
OpenAIConfig holds OpenAI-specific settings.
10 |
# File 'lib/cadenya/models/ai_provider_config_openai.rb', line 10 required :openai, -> { Cadenya::AIProviderConfigOpenAI::OpenAI } |
#type ⇒ Symbol, Cadenya::Models::AIProviderConfigOpenAI::Type
15 |
# File 'lib/cadenya/models/ai_provider_config_openai.rb', line 15 required :type, enum: -> { Cadenya::AIProviderConfigOpenAI::Type } |
Instance Method Details
#to_hash ⇒ {
19 |
# File 'sig/cadenya/models/ai_provider_config_openai.rbs', line 19
def to_hash: -> {
|