Class: Xberg::NerConfig

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeNerConfig

Returns a new instance of NerConfig.

Parameters:



348
# File 'sig/types.rbs', line 348

def initialize: (?backend: NerBackendKind, ?categories: Array[EntityCategory], ?model: String, ?llm: LlmConfig, ?custom_labels: Array[String]) -> void

Instance Attribute Details

#backendNerBackendKind?

Returns the value of attribute backend.

Returns:



342
343
344
# File 'sig/types.rbs', line 342

def backend
  @backend
end

#categoriesArray[EntityCategory]?

Returns the value of attribute categories.

Returns:



343
344
345
# File 'sig/types.rbs', line 343

def categories
  @categories
end

#custom_labelsArray[String]?

Returns the value of attribute custom_labels.

Returns:

  • (Array[String], nil)


346
347
348
# File 'sig/types.rbs', line 346

def custom_labels
  @custom_labels
end

#llmLlmConfig?

Returns the value of attribute llm.

Returns:



345
346
347
# File 'sig/types.rbs', line 345

def llm
  @llm
end

#modelString?

Returns the value of attribute model.

Returns:

  • (String, nil)


344
345
346
# File 'sig/types.rbs', line 344

def model
  @model
end