This chatbot is designed to provide dynamic responses based on the data stored in various types of databases such as MySQL, PostgreSQL, Oracle, SQLite, and MongoDB. By leveraging the capabilities of natural language processing (NLP) and integrating with the databases, the chatbot can fetch real-time data and answer user queries accordingly.
- Dynamic Database Connection: Connects to various SQL and NoSQL databases based on configuration.
- Natural Language Processing: Understands user queries and fetches the relevant data from the database.
- Mock Data Integration: Can operate with mock data for testing and demonstration purposes.
- Scalability: Designed with best practices to ensure scalability and maintainability.
- Python 3.x
- Required Python libraries listed in
requirements.txt
.
- Clone the repository:
git clone https://github.com/yossilevi94/db-gpt-chatbot
- Navigate to the project directory:
cd db-gpt-chatbot
- Install the required Python libraries:
pip install -r requirements.txt
-
Set up your
.env
file with the appropriate database configurations. An example.env
file (example.env
) is provided for reference. -
Run the application:
python main.py
- Start the chatbot.
- Ask queries related to the data present in your database.
- Receive dynamic responses based on real-time database data.
- Integration with more NLP tools: To enhance the understanding of complex user queries.
- Support for more databases: Extend support to other popular databases.
- Enhanced Security: Implement more security features to ensure safe database transactions.
- Optimization: Further optimize the database querying mechanism for faster responses.
Contributions are welcome! Please ensure that you test the changes locally before creating a pull request.
This project is licensed under the MIT License.