Python + AI: Tool calling

Publicado em: 01 Janeiro 1970
no canal de: Microsoft Reactor
3,561
116

For the final week of our Python + AI series, we're focusing on the technologies needed to build AI agents, starting with the foundation: tool calling (also known as function calling).

We will define our tool call definitions using both JSON schema and Python function definitions, and send those tool definitions to the LLM. We will discover how to properly handle tool call responses from LLMs, enable "parallel" tool calling, and iterate over multiple tool calls.

It is absolutely essential to understand tool calling before diving into agents, so do not miss this foundational session.

If you'd like to follow along with the live examples, make sure you've got a GitHub account.

📌 This session is a part of a series. Learn more here: https://aka.ms/PythonAI/2
Explore the slides and episode resources: https://aka.ms/pythonai/resources
Check out the demos: https://aka.ms/python-openai-demos

Chapters:
00:06 - Welcome and Housekeeping with Anna Heffernan
01:01 - Introduction to Tool Calling with Pamela Fox
03:04 - What is Tool Calling and Why It Matters
07:10 - Step-by-Step: Calling LLMs from Python
10:44 - Defining Function Schemas with JSON
14:00 - Executing Tool Calls in Python
18:44 - Full Tool Calling Flow with LLM Responses
24:03 - Handling Multiple Tools: Parallel vs Looping
35:53 - Tool Calling Support Across Models
41:00 - Error Handling and Model Limitations
47:14 - Improving Reliability with Few-Shot Examples
54:57 - Tool Calling for RAG and SQL Queries
58:26 - What’s Next: Agents, LangChain, and Live Streams

#MicrosoftReactor #learnconnectbuild

[eventID:26298]


Nesta página do site você pode assistir ao vídeo on-line Python + AI: Tool calling duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Microsoft Reactor 01 Janeiro 1970, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 3,561 vezes e gostou 116 espectadores. Boa visualização!