Class: Xberg::SummarizationConfig

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeSummarizationConfig

Returns a new instance of SummarizationConfig.

Parameters:



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

def initialize: (?strategy: SummaryStrategy, ?max_tokens: Integer, ?llm: LlmConfig) -> void

Instance Attribute Details

#llmLlmConfig?

Returns the value of attribute llm.

Returns:



500
501
502
# File 'sig/types.rbs', line 500

def llm
  @llm
end

#max_tokensInteger?

Returns the value of attribute max_tokens.

Returns:

  • (Integer, nil)


499
500
501
# File 'sig/types.rbs', line 499

def max_tokens
  @max_tokens
end

#strategySummaryStrategy?

Returns the value of attribute strategy.

Returns:



498
499
500
# File 'sig/types.rbs', line 498

def strategy
  @strategy
end