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)


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

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


1886
1887
1888
# File 'sig/types.rbs', line 1886

def labels
  @labels
end

#llmLlmConfig (readonly)

Returns the value of attribute llm.

Returns:



1888
1889
1890
# File 'sig/types.rbs', line 1888

def llm
  @llm
end

#multi_labelBoolean (readonly)

Returns the value of attribute multi_label.

Returns:

  • (Boolean)


1887
1888
1889
# File 'sig/types.rbs', line 1887

def multi_label
  @multi_label
end

#prompt_templateString? (readonly)

Returns the value of attribute prompt_template.

Returns:

  • (String, nil)


1885
1886
1887
# File 'sig/types.rbs', line 1885

def prompt_template
  @prompt_template
end