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)


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

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])


56
57
58
# File 'sig/types.rbs', line 56

def labels
  @labels
end

#llmLlmConfig (readonly)

Returns the value of attribute llm.

Returns:



58
59
60
# File 'sig/types.rbs', line 58

def llm
  @llm
end

#multi_labelBoolean (readonly)

Returns the value of attribute multi_label.

Returns:

  • (Boolean)


57
58
59
# File 'sig/types.rbs', line 57

def multi_label
  @multi_label
end

#prompt_templateString (readonly)

Returns the value of attribute prompt_template.

Returns:

  • (String)


55
56
57
# File 'sig/types.rbs', line 55

def prompt_template
  @prompt_template
end