struct

Fm::CompactionConfig

Inherits Struct < Value < Object

Configuration for transcript compaction.

Constructors

new(chunk_tokens : Int32 = 800, max_summary_tokens : Int32 = 400, instructions : String = "Summarize the conversation for future context. Preserve user intent, key facts, decisions, and open questions. Keep the summary concise.", summary_options : GenerationOptions = GenerationOptions.new(temperature: 0.2, max_response_tokens: 256_u32), chars_per_token : Int32 = 4)
Source

Instance methods

chars_per_token
Source
chunk_tokens
Source
instructions
Source
max_summary_tokens
Source
summary_options
Source