IncrementalSource

interface IncrementalSource<T>

Represents a source of items that grows over time. Used for incremental processing of conversations, listening history, etc.

The source provides indexed access to items, allowing windowed processing with overlap for context preservation.

Parameters

T

The type of items in the source

Inheritors

Properties

Link copied to clipboard
abstract val id: String

Unique identifier for this source. Used to track processing history across sessions.

Link copied to clipboard
abstract val size: Int

Current number of items in the source.

Functions

Link copied to clipboard
abstract fun getItems(start: Int, end: Int): List<T>

Get items in the specified range.