{"id":26149229,"url":"https://github.com/himanshubhosale25/custom-web-rag-chatbot","last_synced_at":"2026-04-09T07:03:57.916Z","repository":{"id":276482254,"uuid":"929414076","full_name":"HimanshuBhosale25/Custom-Web-RAG-Chatbot","owner":"HimanshuBhosale25","description":"This project implements a Retrieval-Augmented Generation (RAG) chatbot using LangChain, OpenAI embeddings, and FAISS for vector storage. It scrapes web data, generates contextual responses, and provides a Flask API for integration with a React frontend.","archived":false,"fork":false,"pushed_at":"2025-02-25T21:14:07.000Z","size":849,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-07T23:05:21.310Z","etag":null,"topics":["chatbot","flask","langchain","openai","rag"],"latest_commit_sha":null,"homepage":"","language":"CSS","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/HimanshuBhosale25.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-02-08T13:52:34.000Z","updated_at":"2025-02-25T21:14:12.000Z","dependencies_parsed_at":"2025-02-08T15:19:25.193Z","dependency_job_id":"2f7a69b9-c867-407d-9864-470bd743e4a3","html_url":"https://github.com/HimanshuBhosale25/Custom-Web-RAG-Chatbot","commit_stats":null,"previous_names":["himanshubhosale25/langchain-rag-chatbot","himanshubhosale25/custom-web-rag-chatbot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/HimanshuBhosale25/Custom-Web-RAG-Chatbot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HimanshuBhosale25%2FCustom-Web-RAG-Chatbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HimanshuBhosale25%2FCustom-Web-RAG-Chatbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HimanshuBhosale25%2FCustom-Web-RAG-Chatbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HimanshuBhosale25%2FCustom-Web-RAG-Chatbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HimanshuBhosale25","download_url":"https://codeload.github.com/HimanshuBhosale25/Custom-Web-RAG-Chatbot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HimanshuBhosale25%2FCustom-Web-RAG-Chatbot/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261397374,"owners_count":23152488,"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","flask","langchain","openai","rag"],"created_at":"2025-03-11T05:29:21.449Z","updated_at":"2025-12-30T22:27:13.934Z","avatar_url":"https://github.com/HimanshuBhosale25.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🤖 LangChain RAG Chatbot\n\nA **Retrieval-Augmented Generation (RAG) chatbot** built using **LangChain, OpenAI, FAISS, and Flask**. This chatbot can scrape web data, store embeddings, and retrieve relevant information to generate intelligent responses.\n\n## 🚀 Features\n- 🌐 **Web Scraping**: Uses `WebBaseLoader` to collect and preprocess data.\n- 🧠 **Vector Storage**: Stores embeddings using FAISS for efficient retrieval.\n- 🔍 **Contextual Search**: Enhances responses with relevant context.\n- 🗣️ **Flask REST API**: Serves responses via a backend API.\n- ⚡ **Optimized Processing**: Avoids redundant embedding generations.\n\n## 📷 Screenshots\n### **Chat Interface**\n![Chat UI](images/c1.png)\n\n### **Chat Interface**\n![Chat UI](images/c2.png)\n\n### **Chat Interface**\n![Chat UI](images/c3.png)\n\n### **Chat Interface**\n![Chat UI](images/c4.png)\n\n\n## 🏗️ Tech Stack\n- **Backend**: Python, Flask, LangChain\n- **Embeddings**: OpenAI `text-embedding-3-large`\n- **Vector Storage**: FAISS\n- **Frontend**: React (for chatbot UI)\n\n## 🔧 Setup \u0026 Installation\n### 1️⃣ **Clone the Repository**\n```sh\ngit clone https://github.com/HimanshuBhosale25/langchain-rag-chatbot.git\ncd langchain-rag-chatbot\n```\n\n### 2️⃣ **Backend Setup**\n```sh\ncd backend\nconda activate your_env_name\npip install -r requirements.txt\npython app.py\n```\n\n### 3️⃣ **Frontend Setup**\n```sh\ncd frontend\nnpm install\nnpm run dev\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhimanshubhosale25%2Fcustom-web-rag-chatbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhimanshubhosale25%2Fcustom-web-rag-chatbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhimanshubhosale25%2Fcustom-web-rag-chatbot/lists"}