Class: Raif::ModelManifest::EmbeddingEntry
- Inherits:
-
Struct
- Object
- Struct
- Raif::ModelManifest::EmbeddingEntry
- Defined in:
- lib/raif/model_manifest.rb
Instance Attribute Summary collapse
-
#adapter_class_name ⇒ Object
Returns the value of attribute adapter_class_name.
-
#api_name ⇒ Object
Returns the value of attribute api_name.
-
#default_output_vector_size ⇒ Object
Returns the value of attribute default_output_vector_size.
-
#display_name ⇒ Object
Returns the value of attribute display_name.
-
#input_per_million ⇒ Object
Returns the value of attribute input_per_million.
-
#key ⇒ Object
Returns the value of attribute key.
-
#lifecycle ⇒ Object
Returns the value of attribute lifecycle.
-
#provider_name ⇒ Object
Returns the value of attribute provider_name.
-
#source_path ⇒ Object
Returns the value of attribute source_path.
Instance Method Summary collapse
Instance Attribute Details
#adapter_class_name ⇒ Object
Returns the value of attribute adapter_class_name
115 116 117 |
# File 'lib/raif/model_manifest.rb', line 115 def adapter_class_name @adapter_class_name end |
#api_name ⇒ Object
Returns the value of attribute api_name
115 116 117 |
# File 'lib/raif/model_manifest.rb', line 115 def api_name @api_name end |
#default_output_vector_size ⇒ Object
Returns the value of attribute default_output_vector_size
115 116 117 |
# File 'lib/raif/model_manifest.rb', line 115 def default_output_vector_size @default_output_vector_size end |
#display_name ⇒ Object
Returns the value of attribute display_name
115 116 117 |
# File 'lib/raif/model_manifest.rb', line 115 def display_name @display_name end |
#input_per_million ⇒ Object
Returns the value of attribute input_per_million
115 116 117 |
# File 'lib/raif/model_manifest.rb', line 115 def input_per_million @input_per_million end |
#key ⇒ Object
Returns the value of attribute key
115 116 117 |
# File 'lib/raif/model_manifest.rb', line 115 def key @key end |
#lifecycle ⇒ Object
Returns the value of attribute lifecycle
115 116 117 |
# File 'lib/raif/model_manifest.rb', line 115 def lifecycle @lifecycle end |
#provider_name ⇒ Object
Returns the value of attribute provider_name
115 116 117 |
# File 'lib/raif/model_manifest.rb', line 115 def provider_name @provider_name end |
#source_path ⇒ Object
Returns the value of attribute source_path
115 116 117 |
# File 'lib/raif/model_manifest.rb', line 115 def source_path @source_path end |
Instance Method Details
#active? ⇒ Boolean
122 |
# File 'lib/raif/model_manifest.rb', line 122 def active? = status == :active |
#deprecated? ⇒ Boolean
123 |
# File 'lib/raif/model_manifest.rb', line 123 def deprecated? = status == :deprecated |
#retired? ⇒ Boolean
124 |
# File 'lib/raif/model_manifest.rb', line 124 def retired? = status == :retired |
#status ⇒ Object
121 |
# File 'lib/raif/model_manifest.rb', line 121 def status = lifecycle.fetch(:status) |