Class: Xberg::NerConfig
- Inherits:
-
Object
- Object
- Xberg::NerConfig
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#backend ⇒ NerBackendKind?
Returns the value of attribute backend.
-
#categories ⇒ Array[EntityCategory]?
Returns the value of attribute categories.
-
#custom_labels ⇒ Array[String]?
Returns the value of attribute custom_labels.
-
#llm ⇒ LlmConfig?
Returns the value of attribute llm.
-
#model ⇒ String?
Returns the value of attribute model.
Instance Method Summary collapse
-
#initialize ⇒ NerConfig
constructor
A new instance of NerConfig.
Constructor Details
#initialize ⇒ NerConfig
Returns a new instance of NerConfig.
306 |
# File 'sig/types.rbs', line 306
def initialize: (?backend: NerBackendKind, ?categories: Array[EntityCategory], ?model: String, ?llm: LlmConfig, ?custom_labels: Array[String]) -> void
|
Instance Attribute Details
#backend ⇒ NerBackendKind?
Returns the value of attribute backend.
300 301 302 |
# File 'sig/types.rbs', line 300 def backend @backend end |
#categories ⇒ Array[EntityCategory]?
Returns the value of attribute categories.
301 302 303 |
# File 'sig/types.rbs', line 301 def categories @categories end |
#custom_labels ⇒ Array[String]?
Returns the value of attribute custom_labels.
304 305 306 |
# File 'sig/types.rbs', line 304 def custom_labels @custom_labels end |
#llm ⇒ LlmConfig?
Returns the value of attribute llm.
303 304 305 |
# File 'sig/types.rbs', line 303 def llm @llm end |
#model ⇒ String?
Returns the value of attribute model.
302 303 304 |
# File 'sig/types.rbs', line 302 def model @model end |