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.
60 |
# File 'sig/types.rbs', line 60
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.
56 57 58 |
# File 'sig/types.rbs', line 56 def labels @labels end |
#llm ⇒ LlmConfig (readonly)
Returns the value of attribute llm.
58 59 60 |
# File 'sig/types.rbs', line 58 def llm @llm end |
#multi_label ⇒ Boolean (readonly)
Returns the value of attribute multi_label.
57 58 59 |
# File 'sig/types.rbs', line 57 def multi_label @multi_label end |
#prompt_template ⇒ String (readonly)
Returns the value of attribute prompt_template.
55 56 57 |
# File 'sig/types.rbs', line 55 def prompt_template @prompt_template end |