Interface RetrievalResult

Aggregated result of the retrieval phase across all active retrieval strategies (vector search, graph traversal, deep research).

interface RetrievalResult {
    chunks: RetrievedChunk[];
    graphEntities?: {
        name: string;
        type: string;
        description: string;
    }[];
    researchSynthesis?: string;
    durationMs: number;
}

Properties

chunks: RetrievedChunk[]

Retrieved content chunks, sorted by relevance (highest first).

graphEntities?: {
    name: string;
    type: string;
    description: string;
}[]

Entities discovered via knowledge graph traversal. Present only when graph retrieval was used (tier >= 2).

Type declaration

  • name: string
  • type: string
  • description: string
researchSynthesis?: string

Synthesized narrative from the deep research phase. Present only when research retrieval was used (tier 3).

durationMs: number

Wall-clock duration of the retrieval phase in milliseconds.