Class: Xberg::NerConfig
- Inherits:
-
Object
- Object
- Xberg::NerConfig
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#backend ⇒ enum_NerBackendKind
readonly
Returns the value of attribute backend.
-
#categories ⇒ Array[EntityCategory]
readonly
Returns the value of attribute categories.
-
#custom_labels ⇒ Array[String]
readonly
Returns the value of attribute custom_labels.
-
#llm ⇒ LlmConfig?
readonly
Returns the value of attribute llm.
-
#model ⇒ String?
readonly
Returns the value of attribute model.
Instance Method Summary collapse
-
#initialize ⇒ NerConfig
constructor
A new instance of NerConfig.
Constructor Details
#initialize ⇒ NerConfig
1648 |
# File 'sig/types.rbs', line 1648
def initialize: (?backend: enum_NerBackendKind, ?categories: Array[EntityCategory], ?model: String, ?llm: LlmConfig, ?custom_labels: Array[String]) -> void
|
Instance Attribute Details
#backend ⇒ enum_NerBackendKind (readonly)
Returns the value of attribute backend.
1642 1643 1644 |
# File 'sig/types.rbs', line 1642 def backend @backend end |
#categories ⇒ Array[EntityCategory] (readonly)
Returns the value of attribute categories.
1643 1644 1645 |
# File 'sig/types.rbs', line 1643 def categories @categories end |
#custom_labels ⇒ Array[String] (readonly)
Returns the value of attribute custom_labels.
1646 1647 1648 |
# File 'sig/types.rbs', line 1646 def custom_labels @custom_labels end |
#llm ⇒ LlmConfig? (readonly)
Returns the value of attribute llm.
1645 1646 1647 |
# File 'sig/types.rbs', line 1645 def llm @llm end |
#model ⇒ String? (readonly)
Returns the value of attribute model.
1644 1645 1646 |
# File 'sig/types.rbs', line 1644 def model @model end |