Function Calling in Ollama: Control Python Tools with Just a Prompt

preview_player
Показать описание
In this second episode, we take our local AI assistant to the next level by integrating function calling! You’ll learn how to expose safe and powerful tools to your LLM, allowing it to retrieve data from a MongoDB database, or even connect directly to Cisco devices.

⏱️ Timeline:
00:00 – Introduction
01:10 – Sending available tools to the LLM
02:44 – Functions that access routers and databases
03:56 – Updating the initial prompt
04:44 – Debugging function selection
05:27 – Implementing function calling logic
06:40 – Example: MongoDB response to a tool
07:10 – LLM connecting to Cisco devices
visit shbcf.ru