Database Talk is an innovative project integrating PandasAI with SQL databases to facilitate database interactions via conversational AI. This project allows users to execute SQL queries through natural language prompts, enhancing accessibility and efficiency in database management.
- Natural language processing for SQL query execution.
- Support for multiple database schemas.
- User-friendly for non-technical users.
Follow these instructions to set up and run a Database-Talk project on your local machine.
- Python 3.8 or newer
- SQLite database setup
- PandasAI library
- PandasAI API key (obtain yours at PandasAI API Keys)
To set up the Database Talk environment, follow these steps:
- Clone the repository:
git clone https://github.com/kushalpatel0265/Database-Talk.git
- Install the required Python libraries:
pip install pandasai
- Start the project by running the main script:
python main.py
- Upload your database file and integrate in the code.
- Integrate API key of Pandas AI.
- "Show all records from the customer table."
- "List all invoices for a specific customer."
- "Give the artist name who create highest number of albums"
Contributions to this project are welcome! Please fork the repository and submit a pull request with your features or corrections.
Distributed under the MIT License. See LICENSE
for more information.
- Gmail: kushalpatel0265@gmail.com
- Project Link: https://github.com/kushalpatel0265/Database-Talk