- Clone the repository:
git clone https://github.com/vindiw/mistral-streamlit-chat.git
- Navigate to the cloned directory:
cd mistral-streamlit-chat
- Set your Mistral API key as an environment variable. You can do this in the terminal with the following command or by adding it to a
.env
file in the project root directory.
export MISTRAL_API_KEY=your_api_key
- Run the application:
streamlit run mistral_chat.py
Please note that you need a Mistral API key to use this application. You can sign up for one at the Mistral Console.
- This app was built following Streamlit's tutorial on building conversational apps.
- For more information on using Mistral's client-side library, refer to the Mistral documentation.
Feel free to contact me on Twitter if you have any questions or feedback.