ChatGPT Functions - Full Tutorial for using OpenAI Functions

Ғылым және технология

Learn OpenAI ChatGPT Functions and how to properly integrate them. In this video I'll cover Chat GPT functions and how to integrate ai into function calling. ChatGPT Function can be used to talk directly between your terminal and request Open AI to call specific commands based on what is written.
Bright Data: (free $15 credit when using link below)
Proxy Network and Scraping Tool
brdta.com/adrian_twarog
GitHub Project: (Download to try!)
github.com/adriantwarog/chatg...
OpenAI - GPT4 and ChatGPT Homepage:
openai.com/
OpenAI Documentation:
platform.openai.com/docs/intr...
00:00 - Introduction
00:45 - What are ChatGPT Functions
06:58 - OpenAI Setup and API Key
07:49 - VSCode NodeJS Setup for OpenAI Key
09:25 - ChatGPT Functions - Basic Example - Hello World
10:00 - Step 1 - Initialise API call to OpenAI ChatGPT Functions
11:11 - Step 1 - Setup OpenAI Function Call Syntax
12:24 - Step 2 - Check if ChatGPT wants to call a Function
14:08 - Step 3 - Identify Function To Call - Pass Variables - Call Function
15:18 - Step 4 - Prepare a return response from the function to ChatGPT
17:57 - Step 4 - Send ChatGPT Functions the return response
18:39 - Test ChatGPT Function - Summary
20:08 - ChatGPT Functions - Create Function - Time of day
23:17 - ChatGPT Functions - Expert Function - Web Scraper
28:31 - Conclusion - Download GitHub Project
This video is a tutorial on how to use ChatGPT Functions. It is essentially a Crash Course for Open AI Chat GPT Functions. This is a beginners guide to functions chatgpt. Hopefully this will show you how to use chatgpt functions.
#gpt #functions #openai
Want to learn more? ⭐ Check out my courses! ⭐
📘 Teach Me Design - Course: www.enhanceui.com/
📚 OpenAI + GPT - Course & Templates: enhanceui.gumroad.com/
Software & Discounts:
✖ Editor X: www.editorx.com/adrian-twarog
🚾 Webflow: webflow.grsm.io/adrian
🌿 Envato: 1.envato.market/yRZjz2
🌿 Envato Elements: 1.envato.market/LP0OJZ
🔴 Elementor: elementor.com/adrian/?ref=23140
Computer Gear:
⬛ Monitor: amzn.to/3f9DOQI
⌨ Keyboard: amzn.to/3eA5UFD
🐁 Mouse: amzn.to/3xVJO8l
🎤 Mic: amzn.to/3hgCfms
📱 Tablet: amzn.to/3ewt7sa
💡 Lighting: amzn.to/3vOZeZY
💡 Key Lighting: amzn.to/3f6qP2f
Camera Equipment:
📷 Camera: amzn.to/3uCv4J9
📸 Primary Lens: amzn.to/3vT6wMm
📸 Secondary Lens: amzn.to/3tyqWIX
🎥 Secondary Camera: amzn.to/3o2zCGi
🎙 Camera Mic: amzn.to/33tCz9l
🎞 USB to HDMI: amzn.to/33yW9RE
Other Title: GPT Functions - How to Create Your Own Ai Web Scraping / Proxy

Пікірлер: 60

  • @AdrianTwarog
    @AdrianTwarog8 ай бұрын

    Bright Data: (Feel free to check out Bright Data, it's pretty easy to setup web access and scraping directly with Open AI based on the example I've provided!) brdta.com/adrian_twarog

  • @KylePrinsloo
    @KylePrinsloo8 ай бұрын

    Love this crash course! 🔥

  • @AbrahamAlsop
    @AbrahamAlsop8 ай бұрын

    Excellent tutorial. Thank you.

  • @malipetek
    @malipetek8 ай бұрын

    This is wonderful thanks. OpenAI's doc is so static I procrastinated trying checking functions.

  • @alexeilevinzon2916
    @alexeilevinzon29167 ай бұрын

    thats a GREAT tutorial man! you are the BEST :) thanks alot!

  • @BunniesAI
    @BunniesAI8 ай бұрын

    This was brilliant 😍😍

  • @casdio
    @casdioАй бұрын

    This tutorial is great! Thanks a lot for it, it's super helpful :)

  • @cyrielgaisenkounkouboubote3726
    @cyrielgaisenkounkouboubote37267 ай бұрын

    Thank you for this video. What font do you use because I'm interested ?

  • @JustCode39
    @JustCode395 ай бұрын

    this was wonderful

  • @pranitmane
    @pranitmane8 ай бұрын

    You Rock!! thanks..

  • @fredericherrera
    @fredericherrera8 ай бұрын

    very good potential - will check brightdata capabilities

  • @AdrianTwarog

    @AdrianTwarog

    8 ай бұрын

    Awesome!

  • @mihaiudvar9830
    @mihaiudvar98304 ай бұрын

    Nice one, thanks

  • @kfliden
    @kfliden7 күн бұрын

    Fantastic video!

  • @sparsha1000
    @sparsha10007 ай бұрын

    Great video, how can we access pandasai through function rather than providing open ai key

  • @mohammadkermani2987
    @mohammadkermani29876 ай бұрын

    Thanks for the tutorial. I think the hello world example just made everything way more confusing. It could be better if you could make a simple math function, like a function that gets two value and return the sum

  • @calebsuh
    @calebsuh7 ай бұрын

    Thanks for your tutorial Adrian! One question: could a function be a GPT call itself?

  • @AIonRails

    @AIonRails

    5 ай бұрын

    Why not, just create new call. Or you mean can we define function that can call chat gpt without your backend?

  • @user-zx4tf8pt7g
    @user-zx4tf8pt7g7 ай бұрын

    which tool are you using zoom-in out for recording the screen? Thankyou..!

  • @AdrianTwarog

    @AdrianTwarog

    7 ай бұрын

    Screen studio!

  • @AvinashGadiraju
    @AvinashGadiraju7 ай бұрын

    Great video. What tool are you using to draw those arrows and underlines on the screen?

  • @AdrianTwarog

    @AdrianTwarog

    7 ай бұрын

    Screenbrush!

  • @AvinashGadiraju

    @AvinashGadiraju

    7 ай бұрын

    @@AdrianTwarog Thanks a lot. Your videos rock!! Great quality and to the point. Added a bunch of them to my watch list for later. Thank you!!

  • @kevinthomas1727
    @kevinthomas17278 ай бұрын

    Great video! What are you using to do the disappearing on screen annotation?

  • @CristianPenarrietaCornejo

    @CristianPenarrietaCornejo

    8 ай бұрын

    I have the sane question, It looks great

  • @AdrianTwarog

    @AdrianTwarog

    8 ай бұрын

    Oh? Which do you mean, timestamps?

  • @kevinthomas1727

    @kevinthomas1727

    8 ай бұрын

    No when you are hand drawing on the screen with what must be some sort of stylus. Those “pencil” lines slowly fade away so you can keep pointing out and highlighting other elements of the code. I was just asking what software you’re using to draw those disappearing lines on screen. It makes it very easy to follow each new thing you’re explaining

  • @alpha0xide9

    @alpha0xide9

    7 ай бұрын

    ​@@kevinthomas1727Screenbrush

  • @gandharvgarg3444

    @gandharvgarg3444

    4 ай бұрын

    @@AdrianTwarog can you please help out with the tool name?

  • @xsploit
    @xsploit8 ай бұрын

    Next implment langchain with functions and make a personal assistants

  • @mrslake7096
    @mrslake70963 ай бұрын

    Thanks

  • @techliv753
    @techliv7538 ай бұрын

    Make Full stack saas project with membership

  • @brienaustinclayton
    @brienaustinclayton8 ай бұрын

    I hadn't used the API yet , but i am getting the error message as a API response that message: 'You exceeded your current quota, please check your plan and billing details.', type: 'insufficient_quota', param: null, code: 'insufficient_quota' How to fix this

  • @AdrianTwarog

    @AdrianTwarog

    8 ай бұрын

    You may have used up the free tier usage, and need to add credit to your api account!

  • @namesare4fools
    @namesare4fools7 ай бұрын

    please make step by step tutorial on pg-vector or pg embedding using neon

  • @slashbrackets3397
    @slashbrackets33977 ай бұрын

    What I don't get is if I want the weather I can just ask chatgpt, why all the extra code? I mean what are the applications of this complexity?

  • @AIonRails

    @AIonRails

    5 ай бұрын

    ChatGPT under the hood doing the same. When new model are announced, they present date till they know. ChatGPT didn't know what the weather or time it is. So in UI they just handle the same processes

  • @candressen4354
    @candressen4354Ай бұрын

    Can u call external api’s through gpt functions?

  • @Painuzumaki0016
    @Painuzumaki00168 ай бұрын

    Which is better android development vs web development in Australia???

  • @avidlearner8117

    @avidlearner8117

    7 ай бұрын

    ....wait, what?!?

  • @Painuzumaki0016

    @Painuzumaki0016

    7 ай бұрын

    @@avidlearner8117 i mean i am coming to australia to study software development can u help me like ehich has more scope in australia web dev or android development

  • @munzernaim6778
    @munzernaim67787 ай бұрын

    It seems like some of these function names have changed or something. the chat completions function call name is completely different now edit: Ah, I see that you are using version 3.3

  • @AIonRails

    @AIonRails

    5 ай бұрын

    Also looking for updated tutorial, but anyway this video one of the best explainer in KZread

  • @bhaveshgavali1598
    @bhaveshgavali15987 ай бұрын

    Is this what we call openapi ??

  • @kassimsantone7451
    @kassimsantone74512 ай бұрын

    Which version of OpenAI are you using? I'm using version 4.28.0 and it doesn't seem to have a createChatCompletion method. It only has completions.create and chat.completions.create so now I'm trying to find out why.

  • @dclxviclan
    @dclxviclan8 ай бұрын

    Cooo 🎉

  • @mrtbh
    @mrtbh8 ай бұрын

    2rd Person Here!

  • @HamedAbdollahpour
    @HamedAbdollahpour7 ай бұрын

    And just like that they double request/token counts for getting information from them. We need to pay more now!

  • @aliveandwellinisrael2507
    @aliveandwellinisrael25075 ай бұрын

    6:13 lol, their example has a typo on line 56

  • @ginocote
    @ginocote7 ай бұрын

    You do not have to scap weather. There's a lot of free wheater API out there. To call a function, we have to know if the user is asking or talking about the weather.

  • @urbaninja1181
    @urbaninja11815 ай бұрын

    just an advice for u ,- zooming in and out periodically on ur screen makes learning experience much stressful

  • @MrTalhakamran2006
    @MrTalhakamran200614 күн бұрын

    this is so confusing where have we defined which weather api to use?

  • @jkc467
    @jkc4672 ай бұрын

    play Kirby return will Kirby is the best❤😂

  • @andredejager3637
    @andredejager36378 ай бұрын

    Wtf just happened 😂

  • @sealandland3959
    @sealandland39593 ай бұрын

    How dare you do this in JS.... 😭😭😭😭😭😭😭 I though it would be in Python...

  • @adrienkwong

    @adrienkwong

    2 ай бұрын

    I was gonna say the exact opposite. Thanks so much for doing it in JS 😂. Very helpful for folks like me who prefers Next.js serverless to handle backend too🎉

  • @SogMosee
    @SogMosee8 ай бұрын

    Good shit bud

Келесі