Extractor
Defined in: src/memory/extraction/types.ts:67
Transforms conversation messages into discrete, searchable entries.
Implementations distill raw turns into facts worth remembering. Optional on a store’s ExtractionConfig: when absent, the manager passes messages straight to the store (see the no-extractor passthrough on MemoryStore), which is the right path for backends that extract server-side.
Methods
Section titled “Methods”extract()
Section titled “extract()”extract(messages, context?): Promise<ExtractionResult[]>;Defined in: src/memory/extraction/types.ts:75
Extract entries from a batch of messages.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
messages | MessageData[] | The filtered messages to extract from |
context? | ExtractorContext | Optional context (e.g. a fallback model) |
Returns
Section titled “Returns”Promise<ExtractionResult[]>
The entries to write to the store