Class: Xberg::PageClassificationConfig
- Inherits:
-
Object
- Object
- Xberg::PageClassificationConfig
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#labels ⇒ Array[String]
readonly
Returns the value of attribute labels.
-
#llm ⇒ LlmConfig
readonly
Returns the value of attribute llm.
-
#multi_label ⇒ Boolean
readonly
Returns the value of attribute multi_label.
-
#prompt_template ⇒ String
readonly
Returns the value of attribute prompt_template.
Instance Method Summary collapse
-
#initialize ⇒ PageClassificationConfig
constructor
A new instance of PageClassificationConfig.
Constructor Details
#initialize ⇒ PageClassificationConfig
Returns a new instance of PageClassificationConfig.
43 |
# File 'sig/types.rbs', line 43
def initialize: (?prompt_template: String, labels: Array[String], multi_label: bool, llm: LlmConfig) -> void
|
Instance Attribute Details
#labels ⇒ Array[String] (readonly)
Returns the value of attribute labels.
39 40 41 |
# File 'sig/types.rbs', line 39 def labels @labels end |
#llm ⇒ LlmConfig (readonly)
Returns the value of attribute llm.
41 42 43 |
# File 'sig/types.rbs', line 41 def llm @llm end |
#multi_label ⇒ Boolean (readonly)
Returns the value of attribute multi_label.
40 41 42 |
# File 'sig/types.rbs', line 40 def multi_label @multi_label end |
#prompt_template ⇒ String (readonly)
Returns the value of attribute prompt_template.
38 39 40 |
# File 'sig/types.rbs', line 38 def prompt_template @prompt_template end |