ChatGPT API Function Calling with Python: JSON Output Example
How to use the ChatGPT Function Calling feature in Python, so you can get a JSON object as the output from the API response in your programs.
Note this is a developer tutorial and assumes you already know how to use the ChatGPT API.
Get the source code here:
https://puppycoding.com/2023/07/07/json-object-from-chatgpt-api/
00:00 Introduction
00:44 Handling the OpenAI API key
02:21 Preparing the input
03:10 Defining the function call
06:50 Creating the API request
10:55 Handling the ChatGPT JSON output response
#Python #programming #ChatGPT #JSON
Видео ChatGPT API Function Calling with Python: JSON Output Example канала PuppyCoding – for Python & AI
Note this is a developer tutorial and assumes you already know how to use the ChatGPT API.
Get the source code here:
https://puppycoding.com/2023/07/07/json-object-from-chatgpt-api/
00:00 Introduction
00:44 Handling the OpenAI API key
02:21 Preparing the input
03:10 Defining the function call
06:50 Creating the API request
10:55 Handling the ChatGPT JSON output response
#Python #programming #ChatGPT #JSON
Видео ChatGPT API Function Calling with Python: JSON Output Example канала PuppyCoding – for Python & AI
ChatGPT OpenAI function calling howto tutorial python API ChatGPT API function call programming coding chatgpt function calling chatgpt api function calling chatgpt function feature chatgpt api function feature chatgpt function call chatgpt api function call PuppyCoding function calling chatgpt chatgpt functions openai function calling gpt function calling function calling gpt chatgpt function chatgpt functions calling example explained JSON JSON output response
Комментарии отсутствуют
Информация о видео
14 июня 2023 г. 22:00:43
00:13:42
Другие видео канала