Interface RetrievalPlanSources

Flags controlling which retrieval sources are queried.

See

RetrievalPlan.sources

interface RetrievalPlanSources {
    vector: boolean;
    bm25: boolean;
    graph: boolean;
    raptor: boolean;
    memory: boolean;
    multimodal: boolean;
}

Properties

vector: boolean

Dense vector similarity search. Default: true for all strategies except 'none'.

bm25: boolean

BM25 sparse keyword search. Default: true — catches exact term matches.

graph: boolean

GraphRAG entity/relationship traversal. Default: true for moderate+.

raptor: boolean

RAPTOR hierarchical summary tree. Default: true for moderate+.

memory: boolean

Cognitive memory (episodic/semantic/procedural). Default: true for simple+.

multimodal: boolean

Multimodal content (images/audio/video). Default: false unless modalities include non-text.