{"id":25877190,"url":"https://github.com/chahiriabderrahmane/cdiscount_assistant_chatbot","last_synced_at":"2026-05-01T23:31:57.202Z","repository":{"id":280193919,"uuid":"941255749","full_name":"ChahiriAbderrahmane/CDiscount_Assistant_Chatbot","owner":"ChahiriAbderrahmane","description":"Cdiscount Assistant Bot - AI-Powered Chatbot for Customer Service with Memory","archived":false,"fork":false,"pushed_at":"2025-03-01T22:04:34.000Z","size":1162,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-01T22:20:39.537Z","etag":null,"topics":["chatbot","gemini-ai","langchain","llama2","pinecone","streamlit"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ChahiriAbderrahmane.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-01T21:16:27.000Z","updated_at":"2025-03-01T22:04:37.000Z","dependencies_parsed_at":"2025-03-01T22:31:49.001Z","dependency_job_id":null,"html_url":"https://github.com/ChahiriAbderrahmane/CDiscount_Assistant_Chatbot","commit_stats":null,"previous_names":["chahiriabderrahmane/cdiscount_assistant_chatbot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChahiriAbderrahmane%2FCDiscount_Assistant_Chatbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChahiriAbderrahmane%2FCDiscount_Assistant_Chatbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChahiriAbderrahmane%2FCDiscount_Assistant_Chatbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChahiriAbderrahmane%2FCDiscount_Assistant_Chatbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ChahiriAbderrahmane","download_url":"https://codeload.github.com/ChahiriAbderrahmane/CDiscount_Assistant_Chatbot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241494532,"owners_count":19971934,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chatbot","gemini-ai","langchain","llama2","pinecone","streamlit"],"created_at":"2025-03-02T11:19:11.158Z","updated_at":"2026-05-01T23:31:57.186Z","avatar_url":"https://github.com/ChahiriAbderrahmane.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ca \u003e\n    \u003cimg src=\"https://github.com/ChahiriAbderrahmane/CDiscount_Assistant_Chatbot/blob/master/assets/openart-image_4UuZ2nYy_1740848959131_raw.jpg\" alt=\"Banner\" width=\"150\"\u003e\u003cbr\u003e\n  \u003c/a\u003e\n\n  \u003cdiv id=\"user-content-toc\"\u003e\n    \u003cul\u003e\n      \u003csummary\u003e\u003ch1 style=\"display: inline-block;\"\u003eCdiscount Chatbot Assistant\u003c/h1\u003e\u003c/summary\u003e\n    \u003c/ul\u003e\n  \u003c/div\u003e\n  \n  \u003cp\u003eA Customer Service Chatbot Trained on Cdiscount Data\u003c/p\u003e\n    🏓\n    \u003ca href=\"https://youtu.be/slYyGwTECTQ\" target=\"_blank\"\u003eDemo YouTube\u003c/a\u003e\n    🔮\n    \u003ca href=\"https://github.com/ChahiriAbderrahmane/CDiscount_Assistant_Chatbot/issues\" target=\"_blank\"\u003eRequest Feature\u003c/a\u003e\n\u003c/div\u003e\n\u003cbr\u003e\n\u003cdiv align=\"center\"\u003e\n      \u003cimg src=\"https://github.com/ChahiriAbderrahmane/CDiscount_Assistant_Chatbot/blob/master/assets/Logo_Cdiscount.svg\" alt=\"Banner\" width=\"150\"\u003e\u003cbr\u003e\n\u003c/div\u003e\n\n## 📝 Table of Contents\n\n1. [Project Overview](#project-overview)\n2. [Chatbot Description](#chatbot-description)\n3. [Technologies Used](#technologies-used)\n4. [Disclaimer](#disclaimer)\n5. [Installation](#installation)\n6. [Contact](#contact)\n\u003chr\u003e\n\n### 💬 Chatbot Pages\n\nCheck out some examples of the chatbot in action:\n\n1. **Example 1:**\n   ![image](https://github.com/ChahiriAbderrahmane/CDiscount_Assistant_Chatbot/blob/master/assets/1.png)\n\n2. **Example 2:**\n   ![image](https://github.com/ChahiriAbderrahmane/CDiscount_Assistant_Chatbot/blob/master/assets/2.png)\n\n3. **Example 3:**\n   ![image](https://github.com/ChahiriAbderrahmane/CDiscount_Assistant_Chatbot/blob/master/assets/3.png)\n\n\u003ca name=\"project-overview\"\u003e\u003c/a\u003e\n## 🔬 **Project Overview** :\n\n### 🎯 **Goal** :\n\nThe 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\u0026A section to provide accurate and interactive information.\n\n\u003ca name=\"chatbot-description\"\u003e\u003c/a\u003e\n## 💬 **Chatbot Description** :\n\nThe **Cdiscount Chatbot** works as follows:\n\n1. **Data Scraping**: Data is extracted from the official Cdiscount Q\u0026A pages using **Langchain's WebBaseLoader**.\n2. **Data Processing**: The scraped content is processed using **Langchain's RecursiveCharacterTextSplitter**.\n3. **Embedding**: The processed data is converted into vectors with **llama-text-embed-v2** and stored in **Pinecone**.\n4. **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.\n\n🔎 **Memory Feature**:  \nThis 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.\n\n## **📝 Chatbot Architecture**\n\n![chatbot-architecture](https://github.com/ChahiriAbderrahmane/CDiscount_Assistant_Chatbot/blob/master/assets/Architecture_Cdiscount_bot.jpg)\n\n\n\u003ca name=\"technologies-used\"\u003e\u003c/a\u003e\n## 🛠️ **Technologies Used** :\n  \n![LangChain](https://img.shields.io/badge/LangChain-000000?style=for-the-badge\u0026logo=python\u0026logoColor=white)  ![Pinecone](https://img.shields.io/badge/Pinecone-412991?style=for-the-badge\u0026logo=Pinecone\u0026logoColor=white) ![Llama](https://img.shields.io/badge/Llama2-000000?style=for-the-badge\u0026logo=meta\u0026logoColor=white) ![Gemini](https://img.shields.io/badge/Gemini%202.0%20Flash-000000?style=for-the-badge\u0026logo=google\u0026logoColor=white)\n\n\u003ca name=\"disclaimer\"\u003e\u003c/a\u003e\n\n## **🚨 Disclaimer :**\nThis project is a personal initiative and is not affiliated with Cdiscount. It was created for educational and personal development purposes.\n\n\u003ca name=\"contact\"\u003e\u003c/a\u003e\n\n\u003ca name=\"installation\"\u003e\u003c/a\u003e\n## 🖥️ Installation : \n1. Clone the repository:\n\n```git clone it's_private_repository_link```\n\n2. Install the required packages:\n\n```pip install -r .\\chatbot_Cdiscount\\requirements.txt```\n\n### Usage : \n\n1. Change directory to :\n\n```cd Chatbot-Cdsicount```\n\n2. Run the app:\n\n```streamlit run .\\chatbot_Cdiscount\\CdiscountMarketplaceBot.py  ```\n\n\u003ca name=\"contact\"\u003e\u003c/a\u003e\n## 📨 Contact Me\n[LinkedIn](https://www.linkedin.com/in/abderrahmane-chahiri-151b26237/) •\n[Gmail](chahiri.abderrahmane.eng@gmail.com) •\n[Demo on Youtube](https://youtu.be/slYyGwTECTQ)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchahiriabderrahmane%2Fcdiscount_assistant_chatbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchahiriabderrahmane%2Fcdiscount_assistant_chatbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchahiriabderrahmane%2Fcdiscount_assistant_chatbot/lists"}