CodexDB: Generating Code for Processing SQL Queries using GPT-3 Codex

04/19/2022
by   Immanuel Trummer, et al.
0

CodexDB is an SQL processing engine whose internals can be customized 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 a majority of queries of the WikiSQL benchmark and can be customized in various ways.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
05/15/2018

NEURON: An Interactive Natural Language Interface for Understanding Query Execution Plans in RDBMS

Natural language interfaces for relational databases have been explored ...
research
06/14/2023

SQL2Circuits: Estimating Metrics for SQL Queries with A Quantum Natural Language Processing Method

Quantum computing has developed significantly in recent years. Developin...
research
08/29/2023

Natural language to SQL in low-code platforms

One of the developers' biggest challenges in low-code platforms is retri...
research
08/22/2022

Recent Advances in Text-to-SQL: A Survey of What We Have and What We Expect

Text-to-SQL has attracted attention from both the natural language proce...
research
03/01/2021

Towards Enhancing Database Education: Natural Language Generation Meets Query Execution Plans

The database systems course is offered as part of an undergraduate compu...
research
11/13/2018

Translating Natural Language to SQL using Pointer-Generator Networks and How Decoding Order Matters

Translating natural language to SQL queries for table-based question ans...
research
04/26/2019

One-Shot Learning for Text-to-SQL Generation

Most deep learning approaches for text-to-SQL generation are limited to ...

Please sign up or login with your details

Forgot password? Click here to reset