MistralChatBotUpdated is a ChatBot that utilizes Streamlit as the graphical user interface (GUI) and integrates with the Mistral API as its large language model (LLM). While there are several examples available, many rely on outdated versions of the Mistralai library (e.g., version 0.4.2). This project updates the libraries and provides an up-to-date implementation.
Mistral AI is a French company focused on developing open-source models for developers and small businesses. You can think of Mistral AI as an open-source alternative to OpenAI.
To use the application, follow these steps:
-
Fork this repository.
-
Obtain your Mistral API key by visiting Mistral API Documentation.
-
Save the API key in your
.env
file. -
Navigate to the
src
folder. -
Install dependencies by running:
pip install -r packages.txt
Once all dependencies are installed, you can start the Streamlit server by running:
streamlit run mistral_chatbot.py
Pull requests are welcome! For major changes, please open an issue first to discuss your proposed modifications.
Make sure to update any tests as needed to reflect your changes.
This project is licensed under the MIT License.