CodexDB
Immanuel Trummer · Proceedings of the VLDB Endowment · 2022
CodexDB enables users to customize SQL query processing via natural language instructions. CodexDB is based on OpenAI's GPT-3 Codex model which translates text into code. It is a framework on top of GPT-3 Codex that decomposes complex SQL queries into a series of simple processing steps, described in natural language. Processing steps are enriched with user-provided instructions and descriptions of database properties. Codex translates the resulting text into query processing code. An early prototype of CodexDB is able to generate correct code for up to 81% of queries for the WikiSQL benchmark and for up to 62% on the SPIDER benchmark.
Cited by 65 works. doi:10.14778/3551793.3551841
Authors
References
- Access path selection in a relational database management system
- On the Dangers of Stochastic Parrots
- Transformers: State-of-the-Art Natural Language Processing
- AutoPrompt: Eliciting Knowledge from Language Models with Automatically Generated Prompts
- Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Task
- How good are query optimizers, really?
- Transfer Learning in Natural Language Processing
- Neo
- PICARD: Parsing Incrementally for Constrained Auto-Regressive Decoding from Language Models
- NaLIR