🟦 Tool calling in LLMs with Python — Microsoft Foundry 🔹
Andrew Hess demos a pro-code pattern: let the model request a function, execute it in Python, and return the real-world result (weather example). This keeps tool use explicit and execution under developer control.
💡 • Model decides when to call a tool; Python runs the call and feeds back results
🔍 • Uses Foundry/Azure SDK flows: define tools, pass to agents, handle tool_call IDs
⚖️ • Outcome: predictable, secure integrations with RAG and managed compute
▶︎https://www.hubsite365.com/en-ww/pro-office-365/?id=4e3e04e2-c4d9-f011-8544-7ced8d5e0a26&topic=&theater=true
Watch the walkthrough and grab the examples from the repo. 🚀
#MicrosoftFoundry #LLM #Python #AIDevelopment