Zack Saadioui
8/26/2024
1
2
bash
 ollama create my_creative_bot -f Modelfile1
2
3
plaintext
 # Set temperature for creativity
 PARAMETER temperature 1.21
2
3
plaintext
 # Set temperature for clarity
 PARAMETER temperature 0.21
2
bash
curl -X POST http://localhost:11434/api/generate -H "Content-Type: application/json" -d '{ "model": "mistral", "prompt": "What is the weather today?", "temperature": 0.4 }'1
2
bash
ollama run -s "Set temperature 0.5"Copyright © Arsturn 2025