{"id":23409694,"url":"https://github.com/vidhi1290/chatbot-with-rasa-nlu-model-and-python","last_synced_at":"2026-04-11T04:33:36.277Z","repository":{"id":269291744,"uuid":"906971581","full_name":"Vidhi1290/Chatbot-with-RASA-NLU-Model-and-Python","owner":"Vidhi1290","description":"This project builds an intelligent chatbot using Rasa NLU for an E-Commerce business 🛍️. The chatbot can handle user queries like product information, pricing, and order management 💬. With spacy and TensorFlow pipelines 🧠 for training, and MongoDB for storing data 📦, it offers seamless, context-aware conversations","archived":false,"fork":false,"pushed_at":"2024-12-22T13:26:14.000Z","size":1799,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-21T23:36:05.579Z","etag":null,"topics":["aichatbot","artificial-intelligence","chatbot","jupyter-notebook","matplotlib","nlu","nlu-chatbot","pandas","pymongo","python","rasa-chatbot","rasa-nlu","spacy","spacy-nlp","tensorflow"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Vidhi1290.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-12-22T13:08:26.000Z","updated_at":"2025-06-10T19:05:04.000Z","dependencies_parsed_at":"2024-12-22T14:24:09.149Z","dependency_job_id":"f63b5fca-3198-4ae8-a088-838ef075fe49","html_url":"https://github.com/Vidhi1290/Chatbot-with-RASA-NLU-Model-and-Python","commit_stats":null,"previous_names":["vidhi1290/chatbot-with-rasa-nlu-model-and-python"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Vidhi1290/Chatbot-with-RASA-NLU-Model-and-Python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vidhi1290%2FChatbot-with-RASA-NLU-Model-and-Python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vidhi1290%2FChatbot-with-RASA-NLU-Model-and-Python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vidhi1290%2FChatbot-with-RASA-NLU-Model-and-Python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vidhi1290%2FChatbot-with-RASA-NLU-Model-and-Python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Vidhi1290","download_url":"https://codeload.github.com/Vidhi1290/Chatbot-with-RASA-NLU-Model-and-Python/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vidhi1290%2FChatbot-with-RASA-NLU-Model-and-Python/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261211683,"owners_count":23125543,"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":["aichatbot","artificial-intelligence","chatbot","jupyter-notebook","matplotlib","nlu","nlu-chatbot","pandas","pymongo","python","rasa-chatbot","rasa-nlu","spacy","spacy-nlp","tensorflow"],"created_at":"2024-12-22T16:12:32.237Z","updated_at":"2025-12-30T22:27:43.624Z","avatar_url":"https://github.com/Vidhi1290.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🌟 Chatbot with RASA and NLU Model 🌟  \n\n**An AI-powered conversational assistant designed to revolutionize user interaction for E-commerce.**\n\n---\n\n## 🎯 **Business Objective**\nA chatbot serves as a digital assistant, engaging users in natural conversations—whether to fetch product details, provide support, or process requests seamlessly. This project focuses on building an **AI-based chatbot** using the **Rasa NLU framework**, enabling dynamic and intelligent communication.  \n\n**Use Case:** An E-commerce assistant capable of:  \n- 📦 Providing product information (`product_info`)  \n- 💰 Answering price inquiries (`ask_price`)  \n- ❌ Handling order cancellations (`cancel_order`)  \n\n---\n\n## 🚀 **Project Overview**\n\n### **What’s Inside?**  \n- **Intents:** Understanding user goals (e.g., `ask_price`, `cancel_order`)  \n- **Entities:** Extracting contextual data (e.g., `product`, `order_id`, `location`)  \n- **Pipeline:** Built using **Spacy** and **TensorFlow** for robust natural language understanding.  \n\n### **Tech Stack** 🛠️  \n- **Language:** Python 🐍  \n- **Libraries:** `pandas`, `matplotlib`, `rasa`, `pymongo`, `tensorflow`, `spacy`  \n- **Database:** MongoDB  \n\n---\n\n## 📁 **Folder Structure**\n\n### 🔹 **Input:**  \nContains training data, configurations, and sample intents/entities:  \n- `data.json`  \n- `spacy_config.yml`  \n- `tensorflow_config.yml`  \n\n### 🔹 **Src (Source Code):**  \nThe backbone of the project, containing modularized code:  \n- **`Engine.py`**: The main script orchestrating all functions.  \n- **`ML_Pipeline` folder**: Contains modular Python functions for:  \n  - Data preparation 📊  \n  - Model training 🤖  \n  - Evaluation metrics 📈  \n\n### 🔹 **Output:**  \nPre-trained models for instant deployment. No need to retrain from scratch—just load and go! 🚀  \n\n### 🔹 **Lib (Reference Materials):**  \nIncludes Jupyter notebooks, reference slides, and notes for deeper understanding.  \n\n---\n\n## 🛠️ **Key Features**\n1. **Intent and Entity Recognition:**  \n   - Captures user intent (`product_info`, `ask_price`) and extracts relevant entities (`product`, `order_id`).  \n2. **Model Training Pipelines:**  \n   - Supports **Spacy** and **TensorFlow** pipelines for intent classification and entity recognition.  \n3. **Data Visualization \u0026 Insights:**  \n   - Exploratory Data Analysis (EDA) for a deeper understanding of dataset patterns.  \n4. **MongoDB Integration:**  \n   - Efficiently manages session-based interactions.  \n\n---\n\n## 📚 **How It Works**\n1. 🧹 **Data Preparation**: Curate datasets from tools like [Rasa NLU Trainer](https://rasahq.github.io/rasa-nlu-trainer/) or [Chatito](https://rodrigopivi.github.io/Chatito/).  \n2. 🧩 **Modular Code**: Functions are neatly organized for clarity and scalability.  \n3. 🎛️ **Model Configuration**: YAML files for **Spacy** and **TensorFlow** pipelines.  \n4. 🏋️ **Training**: Models trained on annotated datasets for intent and entity recognition.  \n5. 📊 **Evaluation**: Confusion matrix plots to compare models and select the best one.  \n6. 🤝 **Chatbot Testing**: Seamless real-time testing for robust performance validation.  \n\n---\n\n## 💡 **Project Takeaways**\nBy the end of this project, you’ll learn:  \n- The fundamentals of **AI-based chatbots**.  \n- How to configure pipelines with **Rasa NLU**, **Spacy**, and **TensorFlow**.  \n- MongoDB integration for chatbot sessions.  \n- Building modularized, scalable Python codebases.  \n\n---\n\n## 🎉 **Want to Explore?**\n### **Try it Out!**\n1. Clone this repo:  \n   ```bash\n   git clone https://github.com/Vidhi1290/Chatbot-with-RASA-NLU-Model-and-Python.git\n   ```\n2. Install dependencies:  \n   ```bash\n   pip install -r requirements.txt\n   ```\n3. Train the model:  \n   ```bash\n   python src/engine.py\n   ```\n4. Test the chatbot:  \n   ```bash\n   python src/test_chatbot.py\n   ```\n\n---\n\n## 📞 **Connect with Me!**  \n**Vidhi Waghela**  \n- ✉️ Email: [vidhiwaghela99@gmail.com](mailto:vidhiwaghela99@gmail.com)  \n- 📞 Contact: +91 9152257810  \n- 🌐 [GitHub](https://github.com/Vidhi1290) | [Kaggle](https://www.kaggle.com/vidhikishorwaghela)  \n- 💼 [LinkedIn](https://www.linkedin.com/in/vidhi-waghela-434663198/)  \n- 📸 [Instagram](https://www.instagram.com/vidhi_waghela__/)  \n- 🐦 [X (Twitter)](https://x.com/VidhiWaghela)  \n- ✍️ [Medium](https://medium.com/@datasciencemeetscybersecurity)  \n\n---\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvidhi1290%2Fchatbot-with-rasa-nlu-model-and-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvidhi1290%2Fchatbot-with-rasa-nlu-model-and-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvidhi1290%2Fchatbot-with-rasa-nlu-model-and-python/lists"}