GPT-4 API Function Calling: Create Full Apps / Websites With a Single Prompt

preview_player
Показать описание
So I tried the new GPT-4 API with Function Calling... It was awesome! I spent a few hours coding a GPT-AutoPilot that can build a complex, multi-file application from scratch (a game, a website, an application, etc.) with a single prompt (and it will ask clarification questions)

In the video I explain how the GPT-4 API Function Calling works and demonstrate a program (GPT-AutoPilot) that I created with using the function calling. I create a fully functioning PHP application and a website with a contact form with my program.

00:00 Intro
01:44 OpenAI Example Code
03:49 My Example Code
05:47 GPT-AutoPilot Demo 1 (PHP Inventory App)
10:14 GPT-AutoPilot Demo 2 (Snake Game)
12:12 GPT-AutoPilot Demo 3 (Product Search)
14:36 GPT-AutoPilot Demo 4 (Platform Jumper Game)
16:13 GPT-AutoPilot Demo 5 (Website)
18:51 Prompting examples
20:26 Outro
Рекомендации по теме
Комментарии
Автор

There's now a new version with a standalone package for Windows (and Linux) on my GitHub. Just download, extract and run.

unconv
Автор

this is the best func calling video i have ever watched; as most of other youtuber simply elaborate openai exaample while you are wirting your own code

slayermm
Автор

I got this working and stayed up until 4am figuring out how it works. This has been a dream come true I have been trying to get working for months, I will sing your praises to the end of time.

fraternitas
Автор

Great video, I'm tired of checking the weather in Boston.

laptopuser
Автор

WOW, like WOW. This is one of the best things (if not the best thing) I've seen someone get ChatGPT to do so far. Well done!

TomCourtney
Автор

Im never dissapointed by this Channel I actually once a week search if there’s a new video from you, thanks to you i actually landed the best job ive had cus on the interview i showed my custom version of your ChatWTF and my customized version of your wordpress plugin chatgpt chatbot, please post your donations link, and also please keep this openai tutorials on php coming

ramsesramos
Автор

Wow, this is the best app I've seen using openAI's function calling feature. I was trying to do the exact same thing by modding SMOL before function calling came out, and still had to filter out loads of ``` characters and explanations in the output whenever the ChatGPT API returned the code I asked for. I'm automating Cucumber and Behave feature files into tests, but I also do ad-hoc stuff and GPT-Autopilot is going to make this much more reliable :)

skylark
Автор

WoW!!! This is cool. Can this function calling be implemented in PHP? and does this one only works with GPT-4 API?

shawnmckenzie_offcial
Автор

I'm confused where you passed the function definitions to gpt?

joelducram
Автор

Truly amazing. Could a Bing search function be implemented for the autopilot to be able to search and adapt to code changes since 2021 (as GPT is only limited to knowledge from 2021 and before)? I am writing a streamlit app but running into bugs because my current streamlit version is the latest version haha

brofessorsbooks
Автор

sorry couldn't make it work, I reallly like the idea but it gives me several errors, can you expand more on the env setup please. I am missing something for sure. thank you

austinpowers
Автор

You have really amazing videos. Congratulations. I'm trying your code and I'm getting this error: The model: `gpt-4-0613` does not exist. I'm using my API Key. Am I missing something that I need to add?

Thanks!

RodrigoMaca
Автор

this might be a little selfish. but is it possible for me to get your api key?

OmarAl-Khattab-rgen