An AI-powered tool that converts natural language into SQL queries. It enables users to interact with databases using simple text prompts, automatically generating the corresponding SQL queries, making database interaction intuitive and accessible for both technical and non-technical users.
Ensure you have the following installed before running the setup script:
- Python 3.7+ (Check with
python --versionorpython3 --version) - Git (Optional, but recommended for version control)
-
Clone the Repository
git clone https://github.com/SuddhashilSarkar/text2sql.git cd text2sql -
Run the Setup Script
python setup.py
This script will:
- Create a virtual environment (
venv). - Activate the virtual environment.
- Install dependencies from
requirements.txt.
- Create a virtual environment (
-
Activate the Virtual Environment (If Not Automatically Activated)
-
Windows (CMD/PowerShell):
venv\Scripts\activate
-
Mac/Linux:
source venv/bin/activate
-
-
Run the Application
python main.py
(Replace
main.pywith the actual entry point of your application.) -
Deactivate the Virtual Environment
deactivate
- Fork the repository.
- Create a feature branch (
git checkout -b feature-name). - Commit your changes (
git commit -m "Added new feature"). - Push to the branch (
git push origin feature-name). - Open a pull request.