Executive Summary
In 10 days, we took the FLY System Copilot from concept to fully operational production system. It serves as LaMonte's digital sales funnel — engaging prospects with NAAP content, handling objections, sharing testimonials, and guiding users toward booking clarity sessions.
Production Metrics
71,819
Knowledge Graph Edges
3,072
Embedding Dimensions
What We Built
Technology Stack
LangGraph
FastAPI
Claude Sonnet 4.5
Claude Haiku
pgvector
Redis
Railway
SSE Streaming
OpenAI Embeddings
Mermaid Diagrams
-
✓
LangGraph Conversational AI Pipeline
4-node StateGraph: classify intent → hybrid retrieval → generate response → post-validation. Every response grounded in LaMonte's actual content.
-
✓
4-Layer Hybrid Retrieval
Semantic search (pgvector cosine, 50%) + knowledge graph traversal (35%) + full-text keyword (tsvector, 15%) + Reciprocal Rank Fusion. Far beyond basic chatbot search.
-
✓
Anti-Hallucination Validation
Every response validated against source documents. Critical errors (fabricated principles/pricing) blocked. Minor embellishments logged. Zero hallucination risk.
-
✓
Real-Time SSE Token Streaming
Responses appear token-by-token in real time via Server-Sent Events. Rich markdown rendering with headings, lists, and bold text. Live Mermaid diagram rendering.
-
✓
Smart Artifact System
Concept cards with Mermaid diagrams when NAAP principles are discussed. Testimonial cards for social proof. CTA cards with booking links on readiness signals.
-
✓
Conversation Persistence
Redis checkpoint system means prospects can close the browser and return later to continue their conversation exactly where they left off.
Pipeline Architecture
Every user message flows through a 4-node LangGraph StateGraph — from intent classification through validated response delivery.
Conversational AI Pipeline — classify → retrieve → generate → validate
Hybrid Retrieval System
Unlike single-method search, FLY combines four retrieval strategies fused via Reciprocal Rank Fusion for optimal relevance.
| Layer | Method | Weight | Purpose |
| Semantic | pgvector cosine distance | 50% | Meaning-based search |
| Graph | Edge traversal | 35% | Connected concepts |
| Keyword | tsvector full-text | 15% | Exact term matching |
| Fusion | Reciprocal Rank Fusion | — | Optimal combination |
4-Layer Hybrid Retrieval with RRF Fusion
Content Ingestion
174 MB of source material — LaMonte's documents, presentations, and video transcripts — processed into a searchable knowledge base.
Source Material → Processing → Embeddings → Production Database
Production Infrastructure
Three Railway services working together: FastAPI application, PostgreSQL with pgvector, and Redis for conversation persistence.
Railway Production Topology — 3 services, 2 external APIs
Value Delivered
24/7 Sales Presence
Bot handles prospect conversations around the clock. No scheduling, no availability constraints. Every visitor gets immediate, personalized engagement.
Consistent Voice
Every response uses LaMonte's actual language and NAAP framework. The copilot speaks with authenticity because it's grounded in real source material.
Scale Without Dilution
Replaces 1:1 clarity session time with automated engagement. LaMonte's expertise reaches more people without losing the personal touch.
Zero Hallucination Risk
Anti-hallucination validation checks every response against source documents. Fabricated claims are blocked before reaching the prospect.
Visual Knowledge Transfer
Mermaid diagrams explain NAAP principles visually. Complex neurochemical concepts become interactive, shareable SVG illustrations.
Conversion Optimized
CTA cards with booking links appear at the right moment — when readiness signals are detected. Smart timing, not pushy selling.
What's Next
Event Integration
Waiting on LaMonte's first live event date. Infrastructure ready — just needs FLY_EVENT_DATE and FLY_EVENT_URL environment variables.
Analytics Dashboard
Ready to implement once we have 30+ days of conversation data. Track patterns, gaps, and conversion metrics.
Content Expansion
Pipeline ready for new source material. LaMonte's new recordings and materials can be ingested and searchable within hours.
Access Model
Custom domain, embedded widget, or QR codes for events — pending client decision on distribution strategy.
Your Input Needed
4 decisions to shape the next phase of FLY. Takes about 2 minutes.
Review Decisions →