Tool Calling and Function Calling for LLMs: Building the Model-Tool-Model Loop

<p>This project teaches you to build the model-tool-model loop that lets LLMs safely call real functions instead of hallucinating answers. You'll design tight JSON tool schemas, implement a guarded orchestration loop with retry and error handling, run the exact same loop against OpenAI, OpenAI-compatible providers, and local Ollama models, and apply the safety, validation, and observability practices needed to run tool calling in production.</p>

Tools: python, function calling, openai api, ollama