OpenAI Function Calling | LLM Tools Essentials

Code with Irtiza ยท Intermediate ยท๐Ÿ“ฐ AI News & Updates ยท3mo ago
๐Ÿ“ Get notes and diagrams: https://irtizahafiz.com/newsletter?utm_source=yt โ–ถ๏ธ Get the code: https://github.com/irtiza07/public_api/tree/main/projects/openai-simple-tool-function-calling In this video, we explore how to leverage function calling with the OpenAI API, enabling your code to interact seamlessly with OpenAI by executing local functions and returning results. 0:00 Introduction to Function Calling with OpenAI API 0:41 Demo: Weather Query Example 1:40 Understanding Function Calls with OpenAI 2:32 Diagram Explanation: Server and OpenAI Interaction 3:33 Passing Functioโ€ฆ
Watch on YouTube โ†— (saves to browser)

Chapters (15)

Introduction to Function Calling with OpenAI API
0:41 Demo: Weather Query Example
1:40 Understanding Function Calls with OpenAI
2:32 Diagram Explanation: Server and OpenAI Interaction
3:33 Passing Function Schemas to OpenAI
4:38 How the Model Decides to Call a Function
6:01 Executing and Returning Function Results
7:02 API Call and Response Handling
8:02 Demo: High Priority Tasks Query
9:02 Grounding Model Parameters with Function Schema
10:41 Example: Travel and Family Tasks Queries
11:41 Recap of Diagram and System Workflow
12:14 Code Walkthrough: Initial API Call and Function Schema
13:34 Handling Function Call Responses in Code
14:35 Conclusion and Additional Resources
OpenAI Just Made History (Holy Sh*t?!)
Next Up
OpenAI Just Made History (Holy Sh*t?!)
Matt Wolfe