from agno.models.ollama.chat import Ollama, model=Ollama(host=“xxxx”, provider=“Ollama”, id=“xxxx”),How to set the temperature value for the Ollama agent?
Hey @hope_321
thanks for reaching out and supporting Agno. I’ve shared this with the team, we’re working through all requests one by one and will get back to you soon.If it’s urgent, please let us know. We appreciate your patience!
Wednesday, 9 April
Hi @hope_321
You can set the temperature by using the options
parameter when creating your agent
agent = Agent(model=Ollama(id="llama3.2", options={"temperature": 0.9}), markdown=True)
Let us know if this works for you.