Cyber-MySQL-OpenAI
JSON →Cyber-MySQL-OpenAI is a Node.js library that translates natural language questions into SQL, executes them against MySQL databases, and returns results with human-readable explanations. Version 0.3.3 provides features such as self-correcting error handling (up to 3 reflection attempts), structured output via OpenAI function calling, business context awareness, foreign key relationship detection, confidence scoring, multi-language support (English and Spanish), in-memory caching, token optimization, and query validation. It is actively maintained with frequent updates and full TypeScript support.
Resources
packagecyber-mysql-openai ↗
API endpoints
full doc /v1/registry/cyber-mysql-openai