Every banker question is automatically classified by keyword intent before hitting any backend.
No manual switching — the system picks the right engine every time.
how many · count · total · breakdown · per year · by branch · which RM · average · trend
↳ Any of these keywords → routed to ClickHouse NL→SQL (full dataset scan, no limit)
↳ All other questions → routed to ChromaDB semantic vector search (summarise, explain, what did, show case)
⚡ Why Two Engines?
ClickHouse — scans ALL 1,000+ docs, perfect for counts & trends.
ChromaDB — semantic search for what was said inside a specific case.
Neither alone is sufficient — together they cover every question type.