Skip to main content

Interface: RetrievalResult

Defined in: packages/agentos/src/query-router/types.ts:149

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

Properties

chunks

chunks: RetrievedChunk[]

Defined in: packages/agentos/src/query-router/types.ts:151

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


durationMs

durationMs: number

Defined in: packages/agentos/src/query-router/types.ts:166

Wall-clock duration of the retrieval phase in milliseconds.


graphEntities?

optional graphEntities: object[]

Defined in: packages/agentos/src/query-router/types.ts:157

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

description

description: string

name

name: string

type

type: string


researchSynthesis?

optional researchSynthesis: string

Defined in: packages/agentos/src/query-router/types.ts:163

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