This AI-powered chatbot enhances the shopping experience by offering personalized recommendations, and seamless customer support.
- AI-driven product recommendations
- Multi-platform integration (Web, WhatsApp, Telegram, etc.)
- Natural Language Understanding (NLU) with NLP models
- LangChain – AI Framework
- LangChain-AstraDB – Vector storage
- LangChain-Community – LangChain tools
- LangChain-Groq – Fast inference
- LangChain-HuggingFace – Provides embeddings
- Flask – Deploys the chatbot as
To get started with this project locally, you’ll need Python 3.10+ installed on your machine along with the necessary Python packages. You can either clone the repository and install dependencies manually or use Docker for an isolated environment.
-
Clone the repository:
- Open your terminal or command prompt.
- Navigate to the directory where you want to install the project.
- Run the following command to clone the GitHub repository:
git clone https://github.com/shubhamprajapati7748/ecommerce-chatbot.git
-
Create a Virtual Environment (Optional):
- It's recommended to use a virtual environment to manage dependencies. Run the following command:
conda create -p <Environment_Name> python==<python version> -y
-
Activate the Virtual Environment (Optional):
- Activate the virtual environment based on your operating system:
conda activate <Environment_Name>/
-
Install Dependencies:
- Navigate to the project directory:
cd [project_directory]
- Run the following command to install project dependencies:
pip install -r requirements.txt
-
Create
.env
file and add your API keys:- Create a
.env
file in the root directory and add your Google Gemini API key for LLM interaction.
- Create a
-
Run the Project:
- To start the application, run the following command:
python app.py
-
Access the Project:
- Visit
http://127.0.0.1:5000
in your browser to use the app.
- Visit
Contributions to the Google Gemini-Pro Chat Application are welcome! If you have suggestions, enhancements, or bug fixes, please follow the steps below:
- Fork the project.
- Create your feature branch (
git checkout -b feature/YourFeature
). - Commit your changes (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature/YourFeature
). - Open a pull request.
Distributed under the MIT License. See LICENSE.txt
for more information.
- Shubham Prajapati - shubhamprajapati7748@gmail.com
- Google Gemini for providing LLM to process the user requests and generate the response in this project.