Earlier you could only do function calling on OpenAI (afaik) but now in a recent blog update and sample code you can do function calling on open-source models. Saves lots of money :)
romyilano/ollama_tooling
messing around with ollama tools sample code. thanks ollama!!! I love you!
Python