Skip to main content
This example shows how to use ReasoningTools with an Ollama model.

Code

cookbook/reasoning/tools/ollama_reasoning_tools.py

Usage

1

Create a virtual environment

Open the Terminal and create a python virtual environment.
2

Install libraries

3

Run Example