https://github.com/chahiriabderrahmane/cdiscount_assistant_chatbot
Cdiscount Assistant Bot - AI-Powered Chatbot for Customer Service with Memory
https://github.com/chahiriabderrahmane/cdiscount_assistant_chatbot
chatbot gemini-ai langchain llama2 pinecone streamlit
Last synced: about 2 months ago
JSON representation
Cdiscount Assistant Bot - AI-Powered Chatbot for Customer Service with Memory
- Host: GitHub
- URL: https://github.com/chahiriabderrahmane/cdiscount_assistant_chatbot
- Owner: ChahiriAbderrahmane
- License: mit
- Created: 2025-03-01T21:16:27.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-03-01T22:04:34.000Z (over 1 year ago)
- Last Synced: 2025-03-01T22:20:39.537Z (over 1 year ago)
- Topics: chatbot, gemini-ai, langchain, llama2, pinecone, streamlit
- Homepage:
- Size: 1.11 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

Cdiscount Chatbot Assistant
A Customer Service Chatbot Trained on Cdiscount Data
🏓
Demo YouTube
🔮
Request Feature

## 📝 Table of Contents
1. [Project Overview](#project-overview)
2. [Chatbot Description](#chatbot-description)
3. [Technologies Used](#technologies-used)
4. [Disclaimer](#disclaimer)
5. [Installation](#installation)
6. [Contact](#contact)
### 💬 Chatbot Pages
Check out some examples of the chatbot in action:
1. **Example 1:**

2. **Example 2:**

3. **Example 3:**

### 🎯 **Goal** :
The goal is to develop an AI-powered chatbot that interacts with users by providing relevant and professional responses. This chatbot uses data sourced from the official Cdiscount Q&A section to provide accurate and interactive information.
## 💬 **Chatbot Description** :
The **Cdiscount Chatbot** works as follows:
1. **Data Scraping**: Data is extracted from the official Cdiscount Q&A pages using **Langchain's WebBaseLoader**.
2. **Data Processing**: The scraped content is processed using **Langchain's RecursiveCharacterTextSplitter**.
3. **Embedding**: The processed data is converted into vectors with **llama-text-embed-v2** and stored in **Pinecone**.
4. **User Interaction**: The **Gemini 2.0 Flash** model utilizes the data in Pinecone to interact with users and respond to their questions in a credible and professional manner.
🔎 **Memory Feature**:
This chatbot has a memory feature that allows it to remember the last 5 messages of the conversation, and this number is scalable, ensuring more context-aware and coherent interactions. By retaining this context, it provides more relevant, personalized responses, improving the overall user experience and maintaining continuity throughout the interaction.
## **📝 Chatbot Architecture**

## 🛠️ **Technologies Used** :
   
## **🚨 Disclaimer :**
This project is a personal initiative and is not affiliated with Cdiscount. It was created for educational and personal development purposes.
## 🖥️ Installation :
1. Clone the repository:
```git clone it's_private_repository_link```
2. Install the required packages:
```pip install -r .\chatbot_Cdiscount\requirements.txt```
### Usage :
1. Change directory to :
```cd Chatbot-Cdsicount```
2. Run the app:
```streamlit run .\chatbot_Cdiscount\CdiscountMarketplaceBot.py ```
## 📨 Contact Me
[LinkedIn](https://www.linkedin.com/in/abderrahmane-chahiri-151b26237/) •
[Gmail](chahiri.abderrahmane.eng@gmail.com) •
[Demo on Youtube](https://youtu.be/slYyGwTECTQ)