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:



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

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

Instance Attribute Details

#llmLlmConfig?

Returns the value of attribute llm.

Returns:



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

def llm
  @llm
end

#max_tokensInteger?

Returns the value of attribute max_tokens.

Returns:

  • (Integer, nil)


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

def max_tokens
  @max_tokens
end

#strategySummaryStrategy?

Returns the value of attribute strategy.

Returns:



496
497
498
# File 'sig/types.rbs', line 496

def strategy
  @strategy
end