File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- This client is inspired from [ cohere-python] ( https://github.com/cohere-ai/cohere-python )
2-
31# Mistral Python Client
42
3+ This client is inspired from [ cohere-python] ( https://github.com/cohere-ai/cohere-python )
4+
55You can use the Mistral Python client to interact with the Mistral AI API.
66
77## Installing
@@ -31,10 +31,12 @@ poetry install
3131You can run the examples in the ` examples/ ` directory using ` poetry run ` or by entering the virtual environment using ` poetry shell ` .
3232
3333### API Key Setup
34+
3435Running the examples requires a Mistral AI API key.
3536
36- 1 . Get your own Mistral API Key: https://docs.mistral.ai/#api-access
37- 2 . Set your Mistral API Key as an environment variable. You only need to do this once.
37+ 1 . Get your own Mistral API Key: < https://docs.mistral.ai/#api-access >
38+ 2 . Set your Mistral API Key as an environment variable. You only need to do this once.
39+
3840``` bash
3941# set Mistral API Key (using zsh for example)
4042$ echo ' export MISTRAL_API_KEY=[your_key_here]' >> ~ /.zshenv
You can’t perform that action at this time.
0 commit comments