Class: Openai::Model
- Inherits:
-
Resource::Api
- Object
- Resource::Api
- Openai::Model
- Defined in:
- lib/openai/model.rb
Instance Attribute Summary
Attributes inherited from Resource::Api
#connection, #data, #path, #response
Instance Method Summary collapse
-
#initialize ⇒ Model
constructor
A new instance of Model.
- #request(model_id) ⇒ Object
Constructor Details
#initialize ⇒ Model
Returns a new instance of Model.
5 6 7 8 |
# File 'lib/openai/model.rb', line 5 def initialize @path = "/v1/models" super() end |