Class: Raif::ModelManifest::Dsl::ModelDeclaration
- Inherits:
-
Struct
- Object
- Struct
- Raif::ModelManifest::Dsl::ModelDeclaration
- Defined in:
- lib/raif/model_manifest/dsl.rb
Overview
capabilities and endpoints are mutually exclusive: a model declares
capabilities for a single entry, or endpoints for one entry per
endpoint (see ProviderBuilder#model).
Instance Attribute Summary collapse
-
#api_name ⇒ Object
Returns the value of attribute api_name.
-
#capabilities ⇒ Object
Returns the value of attribute capabilities.
-
#display_name ⇒ Object
Returns the value of attribute display_name.
-
#endpoints ⇒ Object
Returns the value of attribute endpoints.
-
#key ⇒ Object
Returns the value of attribute key.
-
#key_base ⇒ Object
Returns the value of attribute key_base.
-
#lifecycle ⇒ Object
Returns the value of attribute lifecycle.
-
#max_completion_tokens ⇒ Object
Returns the value of attribute max_completion_tokens.
-
#pricing ⇒ Object
Returns the value of attribute pricing.
-
#source_path ⇒ Object
Returns the value of attribute source_path.
Instance Attribute Details
#api_name ⇒ Object
Returns the value of attribute api_name
29 30 31 |
# File 'lib/raif/model_manifest/dsl.rb', line 29 def api_name @api_name end |
#capabilities ⇒ Object
Returns the value of attribute capabilities
29 30 31 |
# File 'lib/raif/model_manifest/dsl.rb', line 29 def capabilities @capabilities end |
#display_name ⇒ Object
Returns the value of attribute display_name
29 30 31 |
# File 'lib/raif/model_manifest/dsl.rb', line 29 def display_name @display_name end |
#endpoints ⇒ Object
Returns the value of attribute endpoints
29 30 31 |
# File 'lib/raif/model_manifest/dsl.rb', line 29 def endpoints @endpoints end |
#key ⇒ Object
Returns the value of attribute key
29 30 31 |
# File 'lib/raif/model_manifest/dsl.rb', line 29 def key @key end |
#key_base ⇒ Object
Returns the value of attribute key_base
29 30 31 |
# File 'lib/raif/model_manifest/dsl.rb', line 29 def key_base @key_base end |
#lifecycle ⇒ Object
Returns the value of attribute lifecycle
29 30 31 |
# File 'lib/raif/model_manifest/dsl.rb', line 29 def lifecycle @lifecycle end |
#max_completion_tokens ⇒ Object
Returns the value of attribute max_completion_tokens
29 30 31 |
# File 'lib/raif/model_manifest/dsl.rb', line 29 def max_completion_tokens @max_completion_tokens end |
#pricing ⇒ Object
Returns the value of attribute pricing
29 30 31 |
# File 'lib/raif/model_manifest/dsl.rb', line 29 def pricing @pricing end |
#source_path ⇒ Object
Returns the value of attribute source_path
29 30 31 |
# File 'lib/raif/model_manifest/dsl.rb', line 29 def source_path @source_path end |