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:



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

#backendNerBackendKind?

Returns the value of attribute backend.

Returns:



318
319
320
# File 'sig/types.rbs', line 318

def backend
  @backend
end

#categoriesArray[EntityCategory]?

Returns the value of attribute categories.

Returns:



319
320
321
# File 'sig/types.rbs', line 319

def categories
  @categories
end

#custom_labelsArray[String]?

Returns the value of attribute custom_labels.

Returns:

  • (Array[String], nil)


322
323
324
# File 'sig/types.rbs', line 322

def custom_labels
  @custom_labels
end

#llmLlmConfig?

Returns the value of attribute llm.

Returns:



321
322
323
# File 'sig/types.rbs', line 321

def llm
  @llm
end

#modelString?

Returns the value of attribute model.

Returns:

  • (String, nil)


320
321
322
# File 'sig/types.rbs', line 320

def model
  @model
end