In this video we will go through the new feature "Function calling" of the OpenAI API (see more info here: https://openai.com/blog/function-call.... First, I talk about the concepts and then I code up a small example where we implement a "financial analyst" bot.
Code from the video:
https://github.com/jankrepl/mildlyove...
00:00 Intro
00:15 Chat completions endpoint overview
01:26 Old API explanation
03:31 New API explanation
08:48 [Code] Setting things up
12:30 [Code] Defining 2 functions
15:51 [Code] Providing function metadata
20:55 [Code] Conversation loop
31:33 [Code] Trying things out
37:55 Outro
If you have any video suggestions or you just wanna chat feel free to join the discord server: / discord
Twitter: / moverfitted
Watch video OpenAI function calling online without registration, duration hours minute second in high quality. This video was added by user mildlyoverfitted 15 June 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 2,930 once and liked it 92 people.