Skip to content

ModelExtractorOptions

Defined in: src/memory/extraction/model-extractor.ts:18

Options for ModelExtractor.

optional model?: Model;

Defined in: src/memory/extraction/model-extractor.ts:20

Model used to extract facts. Resolution order: this model > agent.auxModel > agent.model.


optional systemPrompt?: string;

Defined in: src/memory/extraction/model-extractor.ts:25

System prompt steering what counts as a fact. Defaults to a general fact-extraction prompt. The JSON output format the extractor parses is always appended after it.