Skip to content

bochen0909/llm-chat-streamlit

Repository files navigation

LLM Chatbot

Features:

  • Switch among multiple models
  • Session save and resume

Installation

Before proceeding, make sure you have poetry installed. To install this project, follow these steps:

  1. Clone the repository.
  2. Navigate to the project directory.
  3. Install the dependencies using poetry install.
  4. Configure the models in config.yaml according to your needs.

Running the Project

To run this project, use the following command:

poetry run streamlit run ai_chat_streamlit/chat/streamlit_chat.py

Adding More Models

Currently, three types of models are supported: gpt, bedrock, and ollama. However, it's straightforward to add other types of models using the langchain API. Refer to model.py and config.yaml for examples on how to add new models.

License

Apache License

Releases

No releases published

Packages

No packages published

Languages