Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shashankdeshpande/langchain-chatbot
Examples of chatbot implementations with Langchain and Streamlit
https://github.com/shashankdeshpande/langchain-chatbot
chatbot chatgpt langchain openai-api streamlit
Last synced: 5 days ago
JSON representation
Examples of chatbot implementations with Langchain and Streamlit
- Host: GitHub
- URL: https://github.com/shashankdeshpande/langchain-chatbot
- Owner: shashankdeshpande
- Created: 2023-07-05T12:10:56.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-04-13T20:41:13.000Z (10 months ago)
- Last Synced: 2024-04-14T06:59:40.019Z (10 months ago)
- Topics: chatbot, chatgpt, langchain, openai-api, streamlit
- Language: Python
- Homepage: https://langchain-chatbot.streamlit.app
- Size: 14.6 KB
- Stars: 97
- Watchers: 1
- Forks: 79
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-ChatGPT-repositories - langchain-chatbot - Examples of chatbot implementations with Langchain and Streamlit (Chatbots)
README
# Chatbot Implementations with Langchain + Streamlit
[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/shashankdeshpande/langchain-chatbot?quickstart=1)
Langchain is a powerful framework designed to streamline the development of applications using Language Models (LLMs). \
It provides a comprehensive integration of various components, simplifying the process of assembling them to create robust applications.## 💬 Sample chatbot use cases
Here are a few examples of chatbot implementations using Langchain and Streamlit:
- **Basic Chatbot** \
Engage in interactive conversations with the LLM.- **Context aware chatbot** \
A chatbot that remembers previous conversations and provides responses accordingly.- **Chatbot with Internet Access** \
An internet-enabled chatbot capable of answering user queries about recent events.- **Chat with your documents** \
Empower the chatbot with the ability to access custom documents, enabling it to provide answers to user queries based on the referenced information.- **Chat with SQL database** \
Enable the chatbot to interact with a SQL database through simple, conversational commands.- **Chat with Websites** \
Enable the chatbot to interact with website contents.##
Streamlit App
Created a multi-page streamlit app containing all sample chatbot use cases. \
You can access this app through this link: [langchain-chatbot.streamlit.app](https://langchain-chatbot.streamlit.app)[![Streamlit App](https://static.streamlit.io/badges/streamlit_badge_black_white.svg)](https://langchain-chatbot.streamlit.app/)
## 🖥️ Running locally
```shell
# Run main streamlit app
$ streamlit run Home.py
```## 📦 Running with Docker
```shell
# To generate image
$ docker build -t langchain-chatbot .# To run the docker container
$ docker run -p 8501:8501 langchain-chatbot
```## 💁 Contributing
Planning to add more chatbot examples over time. PRs are welcome.