{"id":26320964,"url":"https://github.com/ravirch/chat-interfaces-with-langchain","last_synced_at":"2025-06-11T07:40:10.554Z","repository":{"id":278378690,"uuid":"935426108","full_name":"ravirch/Chat-Interfaces-with-LangChain","owner":"ravirch","description":"Build interactive chatbots with LangChain, including Q\u0026A bots, RAG-based chat, SQL chatbots, and search engine assistants using Streamlit.","archived":false,"fork":false,"pushed_at":"2025-02-19T12:33:45.000Z","size":29751,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-19T13:31:41.605Z","etag":null,"topics":["agentic-ai","generative-ai","langchain-python"],"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/ravirch.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":"2025-02-19T12:29:32.000Z","updated_at":"2025-02-19T12:33:48.000Z","dependencies_parsed_at":"2025-02-19T13:41:45.686Z","dependency_job_id":null,"html_url":"https://github.com/ravirch/Chat-Interfaces-with-LangChain","commit_stats":null,"previous_names":["ravirch/chat-interfaces-with-langchain"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ravirch%2FChat-Interfaces-with-LangChain","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ravirch%2FChat-Interfaces-with-LangChain/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ravirch%2FChat-Interfaces-with-LangChain/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ravirch%2FChat-Interfaces-with-LangChain/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ravirch","download_url":"https://codeload.github.com/ravirch/Chat-Interfaces-with-LangChain/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243754090,"owners_count":20342543,"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":["agentic-ai","generative-ai","langchain-python"],"created_at":"2025-03-15T16:15:42.875Z","updated_at":"2025-03-15T16:15:43.390Z","avatar_url":"https://github.com/ravirch.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# **Chat Interfaces with LangChain**  \n\nThis section covers multiple chat-based projects using **LangChain**, demonstrating different techniques for building interactive AI-powered chat applications.\n\n---\n\n## **📌 Features**  \n✅ **Conversational AI with OpenAI \u0026 Ollama**  \n✅ **RAG-based chatbots for document interaction**  \n✅ **Conversational memory for contextual responses**  \n✅ **SQL-integrated chatbot for structured queries**  \n✅ **Search engine chatbot using LangChain agents**  \n\n---\n\n## **📂 Folder Structure**  \n\n```\n│── 1-Q\u0026A Chatbot Using OpenAI/\n│   ├── app.py                  # Chatbot powered by OpenAI LLM  \n│── 2-Q\u0026A Chatbot Using Ollama/\n│   ├── app.py                  # Chatbot using Ollama models  \n│── 3-RAG Document Q\u0026A/\n│   ├── research_papers/        # Sample documents for testing  \n│   ├── app_huggingfaceembedding.py # Chatbot using Hugging Face embeddings  \n│   ├── main.py                 # Main script for RAG-based interaction  \n│── 4-RAG Q\u0026A Conversation/\n│   ├── app.py                  # Chatbot with memory-enhanced Q\u0026A  \n│   ├── temp.pdf                # Example document for testing  \n│── 5-Search Engine/\n│   ├── app.py                  # Chatbot acting as a search engine  \n│   ├── tools_agents.ipynb       # LangChain tools \u0026 agents integration  \n│── 6-Chat SQL/\n│   ├── app.py                  # SQL chatbot for structured queries  \n│   ├── sqlite.py               # SQLite database management  \n│   ├── student.db              # Sample database  \n```\n\n---\n\n## **🚀 Project Descriptions \u0026 Usage**  \n\n### **1️⃣ Q\u0026A Chatbot Using OpenAI**\n- Uses **OpenAI LLMs** to answer queries.  \n- Run the chatbot:  \n  ```bash\n  streamlit run 1-Q\u0026A Chatbot Using OpenAI/app.py\n  ```\n\n### **2️⃣ Q\u0026A Chatbot Using Ollama**\n- Uses **Ollama models** for answering queries.  \n- Run the chatbot:  \n  ```bash\n  streamlit run 2-Q\u0026A Chatbot Using Ollama/app.py\n  ```\n\n### **3️⃣ RAG Document Q\u0026A**\n- Implements **Retrieval-Augmented Generation (RAG)** with **Hugging Face embeddings**.  \n- Run the chatbot:  \n  ```bash\n  streamlit run 3-RAG Document Q\u0026A/main.py\n  ```\n\n### **4️⃣ RAG Q\u0026A Conversation**\n- Chatbot with **memory-enabled document interaction**.  \n- Run the chatbot:  \n  ```bash\n  streamlit run 4-RAG Q\u0026A Conversation/app.py\n  ```\n\n### **5️⃣ Search Engine with LangChain Agents**\n- Uses **LangChain tools \u0026 agents** to perform intelligent search.  \n- Run the chatbot:  \n  ```bash\n  streamlit run 5-Search Engine/app.py\n  ```\n\n### **6️⃣ Chat SQL – SQL-Based Chatbot**\n- Chatbot capable of querying an **SQLite database**.  \n- Run the chatbot:  \n  ```bash\n  streamlit run 6-Chat SQL/app.py\n  ```\n\n---\n\nThis **Chat Interfaces** section is part of the **[Generative AI with LangChain Python](https://github.com/ravirch/Generative-AI-with-LangChain-Python)** repository. 🚀  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fravirch%2Fchat-interfaces-with-langchain","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fravirch%2Fchat-interfaces-with-langchain","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fravirch%2Fchat-interfaces-with-langchain/lists"}