In this video the OpenAI Function Calling example is explained line by line in a Jupyter Notebook.
Two prompts are compared to each other, one using a function call and another without.
00:00 Setup venv and Jupyter notebook and getting started
01:32 Create OpenAI Key and copy the function calling example
04:39 Define a function to be called by gpt-3.5-turbo-0613
05:53 Describe available functions to gpt-3.5-turbo-0613
09:32 Get the Messages Response without function_call
12:07 Change the prompt to use OpenAI function calling
13:01 Check the function_call part with arguments
16:22 Append message with role function and content function_response
18:48 ChatGPT converted the Json to a user friendly message
On this page of the site you can watch the video online OpenAI function calling example explained line by line with a duration of hours minute second in good quality, which was uploaded by the user AI Agents by BUSINESS24 AI 10 July 2023, share the link with friends and acquaintances, this video has already been watched 589 times on youtube and it was liked by 13 viewers. Enjoy your viewing!