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:



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

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

Instance Attribute Details

#llmLlmConfig?

Returns the value of attribute llm.

Returns:



556
557
558
# File 'sig/types.rbs', line 556

def llm
  @llm
end

#max_tokensInteger?

Returns the value of attribute max_tokens.

Returns:

  • (Integer, nil)


555
556
557
# File 'sig/types.rbs', line 555

def max_tokens
  @max_tokens
end

#strategySummaryStrategy?

Returns the value of attribute strategy.

Returns:



554
555
556
# File 'sig/types.rbs', line 554

def strategy
  @strategy
end