Install
openclaw skills install nl-to-sql-query-builderConvert natural language queries into SQL with intent classification, schema context, confidence scoring, interactive disambiguation, and audit logging acros...
openclaw skills install nl-to-sql-query-builderProduction-grade natural language to SQL system based on battle-tested patterns from serving 100+ daily users across 10+ business domains.
query_classifier.py - Classify query intent (metric, list, comparison, trend)schema_context_builder.py - Generate rich schema context from database metadataconfidence_scorer.py - Calculate confidence based on schema match, ambiguity, edge casesdisambiguation_ui.py - Flask components for user clarificationfallback_handler.py - Route low-confidence queries to human reviewaudit_logger.py - Track all queries and interpretationspip install -r requirements.txt
python schema_context_builder.py --db-url your_db --output schema.json
python query_classifier.py --query "Show me sales by category" --schema schema.json
$149 one-time (lifetime updates included)
Built by: Abhi (100+ daily users production system)