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:



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

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

Instance Attribute Details

#llmLlmConfig?

Returns the value of attribute llm.

Returns:



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

def llm
  @llm
end

#max_tokensInteger?

Returns the value of attribute max_tokens.

Returns:

  • (Integer, nil)


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

def max_tokens
  @max_tokens
end

#strategySummaryStrategy?

Returns the value of attribute strategy.

Returns:



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

def strategy
  @strategy
end