Skip to content

This is a simple full-stack side project designed to practice and demonstrate the integration of OpenAI's GPT technology for converting natural language into SQL queries.

Notifications You must be signed in to change notification settings

Phoenix0415/AI_SQL_Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Natural Language to SQL Query Generator

This full stack application utilizes OpenAI's GPT-4 to convert natural language descriptions into SQL queries. It comprises a React-based frontend and a Node.js/Express backend.

Features

  • Convert plain English to SQL
  • Interactive web interface

Technologies

  • Frontend: React
  • Backend: Node.js, Express
  • AI model: OpenAI GPT-4 (configurable to use different models based on your needs)

Showcase

Here's how the Natural Language to SQL Query Generator works:

Generate SQL with AI Screenshot

Getting Started

To get started, clone the repository to your local machine and navigate to the root directory. There are two folders in the root directory: client and server. Each folder has its own package.json file and node_modules folder.

Installing Dependencies

To install the dependencies for the client, navigate to the client folder and run the following command:

npm install

Running the Client

To run the client, navigate to the client folder and run the following command:

npm run dev

The client will be available at http://localhost:5173/.

Running the Server

To run the server, navigate to the server folder and run the following command:

npm start

GPLv3 License

About

This is a simple full-stack side project designed to practice and demonstrate the integration of OpenAI's GPT technology for converting natural language into SQL queries.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published