Json mode

Binder

from llamabot import SimpleBot

bot = SimpleBot("You are a bot proficient at returning JSON.", model_name="ollama/mistral", json_mode=True)
bot("What is the weather like today? Return in JSON with the following structure: {'location': 'City Name', 'temperature': 'Temperature in Celsius', 'description': 'Weather Description'}")