OpenAI function calling example explained line by line

Veröffentlicht am: 10 Juli 2023
auf dem Kanal: AI Agents by BUSINESS24 AI
589
13

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


Auf dieser Seite können Sie das Online-Video OpenAI function calling example explained line by line mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer AI Agents by BUSINESS24 AI 10 Juli 2023 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 589 Mal angesehen und es wurde von 13 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!