I explain how function calling works with LLM. This is often confused concept, LLM doesn't call a function - LLM retuns JSON response with values to be used for function call from your environment. In this example I'm using Sparrow agent, to call a function.
Sparrow GitHub repo:
https://github.com/katanaml/sparrow
Reference:
• Ollama Function Calling Advanced: Make you...
0:00 LLM and Function Calling
1:45 Example
4:25 Code
7:00 Summary
CONNECT:
Subscribe to this YouTube channel
Twitter: / andrejusb
LinkedIn: / andrej-baranovskij
Medium: / andrejusb
#llm #functions #ollama