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

  Рет қаралды 4,950

Unconventional Coding

Unconventional Coding

Күн бұрын

Пікірлер: 35
@unconv
@unconv Жыл бұрын
There's now a new version with a standalone package for Windows (and Linux) on my GitHub. Just download, extract and run.
@slayermm1122
@slayermm1122 Жыл бұрын
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
@unconv
@unconv Жыл бұрын
Thanks!
@fraternitas5117
@fraternitas5117 Жыл бұрын
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.
@unconv
@unconv Жыл бұрын
Cool! I'm glad you like it. Thanks!
@aidrivendesigners
@aidrivendesigners Жыл бұрын
Dying for gpt 4 api access been here for months
@laptopuser5198
@laptopuser5198 Жыл бұрын
Great video, I'm tired of checking the weather in Boston.
@TomCourtney
@TomCourtney Жыл бұрын
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!
@ramsesramos2192
@ramsesramos2192 Жыл бұрын
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
@unconv
@unconv Жыл бұрын
That is awesome!! I'm on BuyMeACoffee with the name unconv. The link is in my channel banner and about tab. Thanks!
@skylark8828
@skylark8828 Жыл бұрын
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 :)
@CAMILOH
@CAMILOH Жыл бұрын
Awesome video, really helpful ❤
@kubasmide223
@kubasmide223 5 ай бұрын
Mind blowing
@billythekid9714
@billythekid9714 Жыл бұрын
WOW just WOW, love you
@unconv
@unconv Жыл бұрын
I love you too
@joelducram7590
@joelducram7590 Жыл бұрын
I'm confused where you passed the function definitions to gpt?
@unconv
@unconv Жыл бұрын
In the current version on GitHub, there's a separate file "gpt_functions\.py" which I import in the main script. It contains all the actual functions and a list of function definitions for GPT. The definitions are then passed to the API in the functions parameter
@RodrigoMaca
@RodrigoMaca Жыл бұрын
You have really amazing videos. Congratulations. I'm trying your code and I'm getting this error: openai.error.InvalidRequestError: The model: `gpt-4-0613` does not exist. I'm using my API Key. Am I missing something that I need to add? Thanks!
@unconv
@unconv Жыл бұрын
Thank you! That means you don't have access to GPT-4 yet. You can change the model to gpt-3.5-turbo-0613 in config.json but note that it is not as good as GPT-4. You need to submit a request for OpenAI to allow GPT-4 API for you
@RodrigoMaca
@RodrigoMaca Жыл бұрын
Found it, I only have access to gpt-3.x. Still not able to run it. It only show Waiting for chat gpt :(
@unconv
@unconv Жыл бұрын
@@RodrigoMaca If it's repeating "Waiting for ChatGPT" you have put in the wrong model to the config. You need to use the model ending in "-0613" that supports function calling. So "gpt-3.5-turbo-0613" or "gpt-4-0613"
@brofessorsbooks3352
@brofessorsbooks3352 Жыл бұрын
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
@unconv
@unconv Жыл бұрын
Yes, it's possible and I will try it out at some point. I connected a ChatGPT chatbot to Google before, but it wasn't that amazing, but there was no function calling back then
@brofessorsbooks3352
@brofessorsbooks3352 Жыл бұрын
@@unconv I am actually running autopilot as we speak! Amazing stuff you wrote. I am using it to write a financial calculator for work! Did you have any other ideas on getting pass the 2021 knowledge base? Or even advice on how I code the Bing search function for your autopilot?
@brofessorsbooks3352
@brofessorsbooks3352 Жыл бұрын
Also, did you offer consultations?
@unconv
@unconv Жыл бұрын
That's great! You could try asking GPT-AutoPilot to write the code haha. Or if you know exactly the information you need, put it in a text file in the project and tell it to read it before starting the project. My email is unconventionalcoding at gmail
@shawnmckenzie_offcial9598
@shawnmckenzie_offcial9598 Жыл бұрын
WoW!!! This is cool. Can this function calling be implemented in PHP? and does this one only works with GPT-4 API?
@unconv
@unconv Жыл бұрын
It can definitely be implemented in PHP, too. I just used Python here since their example is in Python and it's been implemented in the openai Python package already. There's a GPT-3.5 model for function calling, too. But it's not as good. For generating code it's basically useless since it almost always generates invalid JSON
@shawnmckenzie_offcial9598
@shawnmckenzie_offcial9598 Жыл бұрын
@@unconv I see then. It's seems that GPT3.5 is somewhat accurate as compares to GPT-4. I still waiting for GPT4 API waiting list.
@austinpowers8966
@austinpowers8966 Жыл бұрын
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
@unconv
@unconv Жыл бұрын
Can you share the errors? There has been problems with the GPT-4 API today, so it might be that too.
@OmarAl-Khattab-rg9en
@OmarAl-Khattab-rg9en Жыл бұрын
this might be a little selfish. but is it possible for me to get your api key?
@unconv
@unconv Жыл бұрын
No 😄
@pooflakes1
@pooflakes1 Жыл бұрын
Joker
@edmundkudzayi7571
@edmundkudzayi7571 Жыл бұрын
Sharing is caring, enjoy my brother sk-03b0aZsWYS79P0n4rwHvW3ElblFJJ8JhQRliWxhb4wyZqMy2
Python Docker Web Apps and PHP PDF Generators with GPT-AutoPilot
11:39
Unconventional Coding
Рет қаралды 271
ChatGPT Prompts to Full Code Projects with GPT-AutoPilot (No Python needed!)
31:02
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 120 МЛН
Function Calling via ChatGPT API - First Look With LangChain
16:19
Greg Kamradt
Рет қаралды 45 М.
GPT Engineer... Generate an entire codebase with one prompt
13:10
Dave Ebbelaar
Рет қаралды 218 М.
How To Web Scrape with Python (even sites that block you!)
28:07
Unconventional Coding
Рет қаралды 6 М.
How to integrate OpenAI GPT3 with a Databases - Crash Course
16:49
Adrian Twarog
Рет қаралды 303 М.
100% Offline ChatGPT Alternative?
16:01
Rob Mulla
Рет қаралды 640 М.