Class: Xberg::NerConfig

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeNerConfig



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

#backendenum_NerBackendKind (readonly)

Returns the value of attribute backend.



1642
1643
1644
# File 'sig/types.rbs', line 1642

def backend
  @backend
end

#categoriesArray[EntityCategory] (readonly)

Returns the value of attribute categories.



1643
1644
1645
# File 'sig/types.rbs', line 1643

def categories
  @categories
end

#custom_labelsArray[String] (readonly)

Returns the value of attribute custom_labels.



1646
1647
1648
# File 'sig/types.rbs', line 1646

def custom_labels
  @custom_labels
end

#llmLlmConfig? (readonly)

Returns the value of attribute llm.



1645
1646
1647
# File 'sig/types.rbs', line 1645

def llm
  @llm
end

#modelString? (readonly)

Returns the value of attribute model.



1644
1645
1646
# File 'sig/types.rbs', line 1644

def model
  @model
end