Skip to content

Tool that allows users to ask for an SQL request in plain English and is returned in SQL. Created with Typescript, Node.js, and OpenAI

Notifications You must be signed in to change notification settings

dcheung11/openai-sql-trainer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Description

SQL Request Tool that allows users to ask for a SQL request in plain English. Created with TypeScript, Node.js, and OpenAI

Installation

Setup

To setup,

  • Clone repository
  • Navigate to root directory
  • run npm install in the project terminal
  • Create and copy a secret API key at https://openai.com/
  • In the root directory, create a .env file with API_KEY = {YOUR_API_KEY}
  • run npm run start:frontend
  • run npm run start:backend
  • Navigate to web app at http://localhost:3000/

Usage

To use

  • Enter a prompt and click the Query button

Example usage

SQL trainer

About

Tool that allows users to ask for an SQL request in plain English and is returned in SQL. Created with Typescript, Node.js, and OpenAI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published