Skip to Content

AutoExtractor

Defined in: src/lib/memory/autoExtractWorker.ts:95 

Methods

dispose()

dispose(): void

Defined in: src/lib/memory/autoExtractWorker.ts:105 

Stop accepting new turns. In-flight work continues to completion.

Returns

void


isProcessing()

isProcessing(): boolean

Defined in: src/lib/memory/autoExtractWorker.ts:103 

True while a turn’s extraction is in flight.

Returns

boolean


processTurn()

processTurn(messages: AutoExtractMessage[], conversationId?: string): boolean

Defined in: src/lib/memory/autoExtractWorker.ts:101 

Kick off extraction for the most recent turn. Returns immediately (async, fire-and-forget). The returned promise resolves to true if extraction was scheduled, false if skipped (in-flight or no messages).

Parameters

ParameterType

messages

AutoExtractMessage[]

conversationId?

string

Returns

boolean

Last updated on