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:



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

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:



300
301
302
# File 'sig/types.rbs', line 300

def backend
  @backend
end

#categoriesArray[EntityCategory]?

Returns the value of attribute categories.

Returns:



301
302
303
# File 'sig/types.rbs', line 301

def categories
  @categories
end

#custom_labelsArray[String]?

Returns the value of attribute custom_labels.

Returns:

  • (Array[String], nil)


304
305
306
# File 'sig/types.rbs', line 304

def custom_labels
  @custom_labels
end

#llmLlmConfig?

Returns the value of attribute llm.

Returns:



303
304
305
# File 'sig/types.rbs', line 303

def llm
  @llm
end

#modelString?

Returns the value of attribute model.

Returns:

  • (String, nil)


302
303
304
# File 'sig/types.rbs', line 302

def model
  @model
end