Skip to content

mowa-ai/sql-copilot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🤖 SQL-Copilot

Your personal SQL Copilot created by mowaAI. Query your SQLite database with Natural Language.

License Python Version

Table of contents

Usage

❓ Ask questions in Natural Language, Mowa Copilot will write an SQL for you.

img

📝 Edit SQL before execution if needed.

img

👀 Preview database structure.

img

🕹️ Control which tables are seen by the Copilot.

img

Installation and running

  1. Put your *.db dataset to folder data and change PATH_TO_DATA in a Dockerfile. By default it's set to bookstore_v4.db dataset.
  2. Run bash setup.sh to build a Docker with application.
  3. After the previous command is finished run the following command to run a container. Replace your-openai-key with your OpenAI access token. docker run -p 8081:8081 -e OPENAI_API_KEY="your-openai-key" sql-copilot
  4. Service must be up and running under http://0.0.0.0:8081.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published