This project is a Retail Store Database Assistant that uses LangChain and Google Palm Language Model to interact with a MySQL database. Users can ask questions about the database, and the assistant will generate MySQL queries to retrieve relevant information.
-
Clone the repository:
git clone https://github.com/shaadclt/Retail-Store-Database-Assistant.git
-
Install dependencies:
pip install -r requirements.txt
-
Set up your MySQL database and update the connection details in the code.
-
Create a
.envfile and add your Google API key:GOOGLE_API_KEY=your_google_api_key
-
Run the Streamlit application:
streamlit run main.py
-
Enter your questions in the provided input field.
-
The application will interact with the MySQL database and provide answers.
- Modify
langchain_helper.pyand other relevant files to adjust configurations and database details.
If you would like to contribute to this project, please follow the contribution guidelines.
This project is licensed under the MIT License.
For issues and inquiries, please contact Mohamed Shaad.
Made with ❤️ by Mohamed Shaad
