- Switch among multiple models
- Session save and resume
Before proceeding, make sure you have poetry installed. To install this project, follow these steps:
- Clone the repository.
- Navigate to the project directory.
- Install the dependencies using
poetry install
. - Configure the models in config.yaml according to your needs.
To run this project, use the following command:
poetry run streamlit run ai_chat_streamlit/chat/streamlit_chat.py
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.
Apache License