Class: Roseflow::AI::Provider
- Inherits:
-
Object
- Object
- Roseflow::AI::Provider
- Defined in:
- lib/roseflow/ai/provider.rb
Instance Method Summary collapse
-
#initialize(name:, credentials:) ⇒ Provider
constructor
A new instance of Provider.
- #models ⇒ Object
Constructor Details
#initialize(name:, credentials:) ⇒ Provider
Returns a new instance of Provider.
8 9 10 11 12 |
# File 'lib/roseflow/ai/provider.rb', line 8 def initialize(name:, credentials:) @name = name @credentials = credentials initialize_provider end |
Instance Method Details
#models ⇒ Object
14 15 16 |
# File 'lib/roseflow/ai/provider.rb', line 14 def models @models ||= provider.models end |