Zack Saadioui
8/27/2024
1
2
bash
$ curl -fsSL https://ollama.com/install.sh | sh
1
2
bash
$ ollama run mistral
1
2
3
python
response = ollama.chat(model='mistral', messages=[{'role': 'user', 'content': 'What are the average sales per month?'}])
print(response['message']['content'])
Copyright © Arsturn 2025