"use client"; const STEPS = [ { number: "01", title: "Query Enters the System", description: "A natural language question arrives. The Adaptive Router analyzes complexity, entity count, and multi-hop indicators to classify the query.", detail: "Complexity score: 0.0–1.0 | Types: bridge, comparison, factoid", color: "#FF6B00", }, { number: "02", title: "Dual Pipeline Activation", description: "Both pipelines execute simultaneously: Baseline RAG (vector search → LLM) and GraphRAG (entity extraction → graph traversal → LLM).", detail: "Schema-bounded extraction ensures valid entities | GSQL multi-hop traversal", color: "#0072CE", }, { number: "03", title: "Graph Traversal & Evidence", description: "TigerGraph traces entity→relation→entity paths through the knowledge graph, collecting structured evidence that the LLM can follow.", detail: "2-hop traversal | Reasoning paths | Dual-level keywords", color: "#5db8a6", }, { number: "04", title: "LLM Generation & Evaluation", description: "Claude (or any of 12 providers) generates answers from the structured context. RAGAS evaluates F1, Exact Match, and quality metrics in real-time.", detail: "Cost tracking | Token counting | Latency measurement", color: "#cc785c", }, ]; export function HowItWorks() { return (
How It Works

From query to answer
in four steps

{STEPS.map((step, i) => (
{/* Step Number */}
{step.number}
{step.number}

{step.title}

{step.description}

{step.detail}
))}
); }