{"id":23555584,"url":"https://github.com/trups39/rag-chatbot-using-langchain","last_synced_at":"2026-04-13T14:32:08.656Z","repository":{"id":268941324,"uuid":"901559053","full_name":"Trups39/RAG-chatbot-using-Langchain","owner":"Trups39","description":"Build a production-ready RAG based AI LLM chatbot that can answer questions based on your own documents using Langchain.","archived":false,"fork":false,"pushed_at":"2024-12-19T20:10:20.000Z","size":63,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-24T10:33:02.168Z","etag":null,"topics":["fastapi","langchain","llm","openai","python","rag","streamlit"],"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/Trups39.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-10T22:12:03.000Z","updated_at":"2025-06-02T05:51:23.000Z","dependencies_parsed_at":"2024-12-19T21:20:01.744Z","dependency_job_id":"068da903-58b5-4b68-b6cc-639de61d3716","html_url":"https://github.com/Trups39/RAG-chatbot-using-Langchain","commit_stats":null,"previous_names":["trups39/rag-chatbot-using-langchain"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Trups39/RAG-chatbot-using-Langchain","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Trups39%2FRAG-chatbot-using-Langchain","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Trups39%2FRAG-chatbot-using-Langchain/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Trups39%2FRAG-chatbot-using-Langchain/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Trups39%2FRAG-chatbot-using-Langchain/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Trups39","download_url":"https://codeload.github.com/Trups39/RAG-chatbot-using-Langchain/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Trups39%2FRAG-chatbot-using-Langchain/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31757477,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T13:27:56.013Z","status":"ssl_error","status_checked_at":"2026-04-13T13:21:23.512Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["fastapi","langchain","llm","openai","python","rag","streamlit"],"created_at":"2024-12-26T13:19:05.989Z","updated_at":"2026-04-13T14:32:08.638Z","avatar_url":"https://github.com/Trups39.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RAG Chatbot with FastAPI Backend and Streamlit Frontend\n\u003cimg width=\"773\" alt=\"RAG_Chatboat\" src=\"https://github.com/user-attachments/assets/b135dd2e-abab-4b59-9051-795bda13e6b2\" /\u003e\n\n## Overview\n\nThis project demonstrates how to build a **multi-user RAG chatbot** that answers questions based on your own documents. The system utilizes **LangChain** for the RAG (Retrieval-Augmented Generation) component, **FastAPI** for the backend API, and **Streamlit** for the frontend interface.\n\nThis project covers:\n\n- Implementing a **RAG system** using LangChain to combine document retrieval and response generation.\n- Processing and storing documents for efficient retrieval in the RAG system.\n- Building a **conversational AI** that handles multi-turn interactions.\n- **Modularizing the code** for integration with FastAPI, enabling production-grade deployment.\n- Creating an interactive **Streamlit frontend** that communicates with the FastAPI backend for real-time data management.\n\n## What’s Built\n\n- **RAG System**: Fundamentals of RAG and how to use LangChain’s models, prompts, and retrievers to create a system that answers document-based questions.\n  \n- **FastAPI Backend**: API endpoints for managing document uploads, processing queries, and delivering responses to the frontend.\n  \n- **Streamlit Frontend**: An intuitive interface that allows users to interact with the backend for uploading documents and asking questions.\n\u003cimg width=\"699\" alt=\"langchain2\" src=\"https://github.com/user-attachments/assets/5c44562e-e468-4967-8004-1cded80f4a04\" /\u003e\n\n\n## Prerequisites\n\nBefore starting, ensure the following:\n\n- **Python 3.8+** installed on the system.\n- **pip** for managing dependencies.\n- Basic understanding of **Python**, **FastAPI**, **Streamlit**, and **RESTful APIs**.\n- Knowledge of **RAG systems** and **LangChain**.\n\n### Required Packages\n\nThe following Python packages are required:\n\n- `fastapi`\n- `uvicorn`\n- `streamlit`\n- `langchain`\n- `langchain-openai`\n- `langchain-chroma`\n- `python-multipart`\n- `docx2txt`\n- `pypdf`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrups39%2Frag-chatbot-using-langchain","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrups39%2Frag-chatbot-using-langchain","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrups39%2Frag-chatbot-using-langchain/lists"}