Skip to main content

Interface: GraphTraversalConfig

Defined in: packages/agentos/src/cognition/rag/unified/types.ts:232

Graph traversal configuration for GraphRAG.

See

RetrievalPlan.graphConfig

Properties

maxDepth

maxDepth: number

Defined in: packages/agentos/src/cognition/rag/unified/types.ts:237

Maximum depth to traverse from seed entities.

Default

2

minEdgeWeight

minEdgeWeight: number

Defined in: packages/agentos/src/cognition/rag/unified/types.ts:243

Minimum edge weight to follow during traversal. Edges below this weight are pruned.

Default

0.3