Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 1.35 KB

README.md

File metadata and controls

34 lines (23 loc) · 1.35 KB

🤖 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.