Class: OpenSearch::Sugar::Models::ML_INFO
- Inherits:
-
Struct
- Object
- Struct
- OpenSearch::Sugar::Models::ML_INFO
- Defined in:
- lib/opensearch/sugar/models.rb,
sig/opensearch/sugar.rbs
Overview
Struct holding name, version, and id for a deployed ML model.
Instance Attribute Summary collapse
-
#id ⇒ String
readonly
The internal OpenSearch model ID (used in API calls).
-
#name ⇒ String
readonly
The model name.
-
#version ⇒ String
readonly
The model version string.
Instance Method Summary collapse
-
#initialize ⇒ ML_INFO
constructor
A new instance of ML_INFO.
Constructor Details
#initialize ⇒ ML_INFO
Returns a new instance of ML_INFO.
136 |
# File 'sig/opensearch/sugar.rbs', line 136
def initialize: (String name, String version, String id) -> void
|
Instance Attribute Details
#id ⇒ String (readonly)
Returns The internal OpenSearch model ID (used in API calls).
23 |
# File 'lib/opensearch/sugar/models.rb', line 23 ML_INFO = Struct.new(:name, :version, :id) |
#name ⇒ String (readonly)
Returns The model name.
23 |
# File 'lib/opensearch/sugar/models.rb', line 23 ML_INFO = Struct.new(:name, :version, :id) |
#version ⇒ String (readonly)
Returns The model version string.
23 |
# File 'lib/opensearch/sugar/models.rb', line 23 ML_INFO = Struct.new(:name, :version, :id) |