Skip to content

salimdallal/MSBA316-langchain-chatbot

 
 

Repository files navigation

Chatbot Implementations with Langchain + Streamlit

Open in GitHub Codespaces

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:

  • 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.

Streamlit App

Created a multi-page streamlit app containing all sample chatbot use cases. Streamlit cloud does not work well with Chroma. As such the app is not functional and only codespace works.

🖥️ Running locally

# Run main streamlit app
$ streamlit run Home.py

📦 Running with Docker

# 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.

About

Examples of chatbot implementations with Langchain and Streamlit

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.1%
  • Dockerfile 1.9%