Class: Xberg::PageClassificationConfig

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializePageClassificationConfig

Returns a new instance of PageClassificationConfig.

Parameters:

  • prompt_template: (String)
  • labels: (Array[String])
  • multi_label: (Boolean)
  • llm: (LlmConfig)


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

def initialize: (?prompt_template: String, labels: Array[String], multi_label: bool, llm: LlmConfig) -> void

Instance Attribute Details

#labelsArray[String] (readonly)

Returns the value of attribute labels.

Returns:

  • (Array[String])


39
40
41
# File 'sig/types.rbs', line 39

def labels
  @labels
end

#llmLlmConfig (readonly)

Returns the value of attribute llm.

Returns:



41
42
43
# File 'sig/types.rbs', line 41

def llm
  @llm
end

#multi_labelBoolean (readonly)

Returns the value of attribute multi_label.

Returns:

  • (Boolean)


40
41
42
# File 'sig/types.rbs', line 40

def multi_label
  @multi_label
end

#prompt_templateString (readonly)

Returns the value of attribute prompt_template.

Returns:

  • (String)


38
39
40
# File 'sig/types.rbs', line 38

def prompt_template
  @prompt_template
end