Class: Xberg::SummarizationConfig
- Inherits:
-
Object
- Object
- Xberg::SummarizationConfig
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#llm ⇒ LlmConfig?
readonly
Returns the value of attribute llm.
-
#max_tokens ⇒ Integer?
readonly
Returns the value of attribute max_tokens.
-
#strategy ⇒ enum_SummaryStrategy
readonly
Returns the value of attribute strategy.
Instance Method Summary collapse
-
#initialize ⇒ SummarizationConfig
constructor
A new instance of SummarizationConfig.
Constructor Details
#initialize ⇒ SummarizationConfig
Returns a new instance of SummarizationConfig.
2453 |
# File 'sig/types.rbs', line 2453
def initialize: (?strategy: enum_SummaryStrategy, ?max_tokens: Integer, ?llm: LlmConfig) -> void
|
Instance Attribute Details
#llm ⇒ LlmConfig? (readonly)
Returns the value of attribute llm.
2451 2452 2453 |
# File 'sig/types.rbs', line 2451 def llm @llm end |
#max_tokens ⇒ Integer? (readonly)
Returns the value of attribute max_tokens.
2450 2451 2452 |
# File 'sig/types.rbs', line 2450 def max_tokens @max_tokens end |
#strategy ⇒ enum_SummaryStrategy (readonly)
Returns the value of attribute strategy.
2449 2450 2451 |
# File 'sig/types.rbs', line 2449 def strategy @strategy end |