"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: "3-Pipeline Activation", description: "All 3 pipelines execute simultaneously: LLM-Only (no retrieval), 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: "Any of 12 LLM providers (Gemini, GPT-4, Llama, etc.) generates answers. Evaluated with F1, Exact Match, LLM-as-a-Judge (PASS/FAIL), and BERTScore 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}
))}
); }