IngestionSettings
constructor(storage: IngestionStorage, memoryRecordExtractor: MemoryRecordExtractor? = null, timing: IngestionTiming = IngestionTiming.ON_LLM_CALL, namespace: String? = null)(source)
Parameters
storage
The ingestion storage where memory records will be persisted.
memoryRecordExtractor
The extractor that defines how to transform messages into memory records. Pre-built ingesters are available:
ai.koog.agents.longtermmemory.ingestion.extraction.FilteringMemoryRecordExtractor - Filters messages by role Custom ingesters can be provided as lambdas via the ai.koog.agents.longtermmemory.ingestion.extraction.MemoryRecordExtractor SAM interface.
timing
When to mapMessages messages. Defaults to IngestionTiming.ON_LLM_CALL.
namespace
Namespace (table/collection name) for a request