IngestionSettings

data class IngestionSettings(val storage: IngestionStorage, val memoryRecordExtractor: MemoryRecordExtractor? = null, val timing: IngestionTiming = IngestionTiming.ON_LLM_CALL, val namespace: String? = null)(source)

Settings controlling how messages are persisted (ingested) into the memory repository.

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:

timing

When to mapMessages messages. Defaults to IngestionTiming.ON_LLM_CALL.

namespace

Namespace (table/collection name) for a request

Constructors

Link copied to clipboard
constructor(storage: IngestionStorage, memoryRecordExtractor: MemoryRecordExtractor? = null, timing: IngestionTiming = IngestionTiming.ON_LLM_CALL, namespace: String? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard