filmov
tv
How to Use The GPT-4 API With Function Calling | Your Own ChatGPT Plugins | TypeScript
Показать описание
OpenAI just released a massive update to the GPT-3.5 and GPT-4 API's!
Just like you have plugins in ChatGPT, now this functionality is available to all developers. You do it by giving the API a list of functions that it can invoke. Then, the assistant response can either be a direct response or a function cal. You then execute the function, give back the results into another call to GPT and you can use the final result as an natural language response.
In this video I'll show you what changed in the API and how you can use it, in TypeScript.
00:00 - Introduction: What Happened?
00:41 - How It Used To Be
03:17 - Using the updated Chat Completion API
03:49 - New request parameters: functions and function_call
04:33 - The functions array
05:56 - New return value: assistant message with function_call
07:23 - Adding your function results back into the AI
07:58 - Gotcha: Repeating the function_call message
08:59 - Recap
09:58 - Conlusion
Just like you have plugins in ChatGPT, now this functionality is available to all developers. You do it by giving the API a list of functions that it can invoke. Then, the assistant response can either be a direct response or a function cal. You then execute the function, give back the results into another call to GPT and you can use the final result as an natural language response.
In this video I'll show you what changed in the API and how you can use it, in TypeScript.
00:00 - Introduction: What Happened?
00:41 - How It Used To Be
03:17 - Using the updated Chat Completion API
03:49 - New request parameters: functions and function_call
04:33 - The functions array
05:56 - New return value: assistant message with function_call
07:23 - Adding your function results back into the AI
07:58 - Gotcha: Repeating the function_call message
08:59 - Recap
09:58 - Conlusion
ChatGPT 4 Tutorial: How to Use Chat GPT 4 For Beginners 2024
What is GPT4 and How You Can Use OpenAI GPT 4
The ULTIMATE Guide to ChatGPT 4o | Beginner to Advanced
GPT-4 - Complete Beginners Guide
ChatGPT 4 Tutorial - How to Use Chat GPT 4 For Beginners
What GPT-4 Can Really Do
Actually, ChatGPT is INCREDIBLY Useful (15 Surprising Examples)
How To Use GPT-4o (GPT4o Tutorial) Complete Guide With Tips and Tricks
[Mid-2024] Purpose Specific Fine-Tuning GPT-4o-mini For Free | Code Included
OpenAI GPT-4: THE SECRET PROMPT You Need To Know 🤐 #shorts
How to Use GPT-4 for FREE 👀
GPT-4o talking to GPT-4o
How to Use GPT-4 with Images?!! 🤔#shorts
26 Incredible Use Cases for the New GPT-4o
GPT-4 - How does it work, and how do I build apps with it? - CS50 Tech Talk
ChatGPT Tutorial: How to Use Chat GPT For Beginners 2024
The Difference between GPT-3.5 and GPT- 4 #openai #chatgpt
How to Use GPT-4 to Write an Essay in 10 Minutes or Less
How to Use GPT 4 Free (without ChatGPT Plus)
How to Use GPT4 for Free (In 2 Minutes)
GPT-4 has been unleashed
I Paid for Chat GPT-4 So You Don't Have To.
GPT-4o WILL CHANGE EVERYTHING!! 🤯🤯🤯
GPT-4o - Full Breakdown + Bonus Details
Комментарии