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:

  • strategy: (enum_SummaryStrategy)
  • max_tokens: (Integer)
  • llm: (LlmConfig)


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

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

Instance Attribute Details

#llmLlmConfig? (readonly)

Returns the value of attribute llm.

Returns:



2451
2452
2453
# File 'sig/types.rbs', line 2451

def llm
  @llm
end

#max_tokensInteger? (readonly)

Returns the value of attribute max_tokens.

Returns:

  • (Integer, nil)


2450
2451
2452
# File 'sig/types.rbs', line 2450

def max_tokens
  @max_tokens
end

#strategyenum_SummaryStrategy (readonly)

Returns the value of attribute strategy.

Returns:

  • (enum_SummaryStrategy)


2449
2450
2451
# File 'sig/types.rbs', line 2449

def strategy
  @strategy
end