Class: LLM::Model
- Inherits:
-
Struct
- Object
- Struct
- LLM::Model
- Defined in:
- lib/llm/model.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#parameters ⇒ Object
Returns the value of attribute parameters.
-
#description ⇒ Object
Returns the value of attribute description.
-
#to_param ⇒ Object
Returns the value of attribute to_param.
Instance Method Summary collapse
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name
3 4 5 |
# File 'lib/llm/model.rb', line 3 def name @name end |
#parameters ⇒ Object
Returns the value of attribute parameters
3 4 5 |
# File 'lib/llm/model.rb', line 3 def parameters @parameters end |
#description ⇒ Object
Returns the value of attribute description
3 4 5 |
# File 'lib/llm/model.rb', line 3 def description @description end |
#to_param ⇒ Object
Returns the value of attribute to_param
3 4 5 |
# File 'lib/llm/model.rb', line 3 def to_param @to_param end |
Instance Method Details
#to_json ⇒ Object
4 5 6 |
# File 'lib/llm/model.rb', line 4 def to_json(*) to_param.to_json(*) end |