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.
324 |
# File 'sig/types.rbs', line 324
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.
318 319 320 |
# File 'sig/types.rbs', line 318 def backend @backend end |
#categories ⇒ Array[EntityCategory]?
Returns the value of attribute categories.
319 320 321 |
# File 'sig/types.rbs', line 319 def categories @categories end |
#custom_labels ⇒ Array[String]?
Returns the value of attribute custom_labels.
322 323 324 |
# File 'sig/types.rbs', line 322 def custom_labels @custom_labels end |
#llm ⇒ LlmConfig?
Returns the value of attribute llm.
321 322 323 |
# File 'sig/types.rbs', line 321 def llm @llm end |
#model ⇒ String?
Returns the value of attribute model.
320 321 322 |
# File 'sig/types.rbs', line 320 def model @model end |