Class: Riffer::Config::AzureOpenAI
- Inherits:
-
Struct
- Object
- Struct
- Riffer::Config::AzureOpenAI
- Defined in:
- lib/riffer/config.rb,
sig/generated/riffer/config.rbs
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#client ⇒ Object
Returns the value of attribute client.
-
#endpoint ⇒ Object
Returns the value of attribute endpoint.
Class Method Summary collapse
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key
8 9 10 |
# File 'lib/riffer/config.rb', line 8 def api_key @api_key end |
#client ⇒ Object
Returns the value of attribute client
8 9 10 |
# File 'lib/riffer/config.rb', line 8 def client @client end |
#endpoint ⇒ Object
Returns the value of attribute endpoint
8 9 10 |
# File 'lib/riffer/config.rb', line 8 def endpoint @endpoint end |
Class Method Details
.new(api_key, endpoint, client) ⇒ instance .new(api_key:, endpoint:, client:) ⇒ instance
32 33 |
# File 'sig/generated/riffer/config.rbs', line 32
def self.new: (?untyped api_key, ?untyped endpoint, ?untyped client) -> instance
| (?api_key: untyped, ?endpoint: untyped, ?client: untyped) -> instance
|