This example demos how to invoke tool call with local model using Ollama and AutoGen.Net
- Ollama >= 0.3.0
- dotnet sdk >= 8.0
- Clone this repository
- start
ollamaserver. Suppose the server is running athttp://localhost:11434 - run
dotnet runin this directory. And you will see the output like below:
TextMessage from assistant
--------------------
The current temperature in New York is 25°C (77°F), and it's a sunny day.
--------------------