Build Anything With ChatGPT API, Here’s How

Sdílet
Vložit
  • čas přidán 19. 02. 2024
  • Don't watch the AI Revolution from the sidelines. Be part of it. Act now and join us: www.skool.com/new-society
    Follow me on Twitter - x.com/DavidOndrej1
    Please Subscribe.
    OpenAI Documentation: platform.openai.com/docs/
    Read the Naval book here: www.navalmanack.com/
    Building your own AI app is surprisingly easy - watch me build an AI book summarizer from scratch using Python, VS Code and the GPT-4 API.

Komentáře • 55

  • @DavidOndrej
    @DavidOndrej  Před 4 měsíci +2

    🧑‍💻 All of my code, prompts, GPTs, custom instructions and other projects are available inside the community. If you're serious about AI, make sure to join: www.skool.com/new-society

    • @vigneshsiva5989
      @vigneshsiva5989 Před 4 měsíci

      Unable to join in group.shows you should upload photo but it is not taking 😂

    • @ValYOU-Pops
      @ValYOU-Pops Před 3 měsíci

      Would this be appropriate for a beginner who doesn’t know coding?

  • @lofigaming258
    @lofigaming258 Před 2 měsíci +2

    I am attempting to follow this guide and as I have followed everything to a T, i am getting the error "AttirbuteError: module 'prompts' has no attruibute 'system_message'" despite me having system message in that module. if anyone can help I'd love that as I am trying to wokr and learn more about AI

  • @trademarkfactory
    @trademarkfactory Před měsícem +4

    Question: what is the benefit of coding the functionality of the model into your code vs. setting up your custom GPTs and using api to talk to it?

    • @Rafael-yo6hd
      @Rafael-yo6hd Před 6 dny

      Mostly for 2 reasons:
      1) Reducing the cost of the API usage, every time you use it, you get charged.
      2) Consistency. If you code the functionality, the code will execute exactly what you write.
      But in the end, both of the sides have their pros and cons.

  • @Ben_D.
    @Ben_D. Před 4 měsíci +18

    'You dont need to know an coding'
    Then spends ten minutes coding

    • @radicalaim
      @radicalaim Před 4 měsíci +3

      fr, I know python but this seems near impossible to follow for someone who doesn't know how to code

    • @DavidOndrej
      @DavidOndrej  Před 4 měsíci +6

      I learned Python almost exclusively from ChatGPT - as I said, if some part seems hard or you don't know what to do simply ASK the AI for help, you'll be surprised how far you get

    • @claragoodlow4377
      @claragoodlow4377 Před 3 měsíci +1

      Id love to make a tool but this seems hard to do

    • @FilmGuyJ
      @FilmGuyJ Před 3 měsíci

      Exactly

    • @karrehuff
      @karrehuff Před měsícem

      @@radicalaim I know a just a little coding and I watched the first 4 minutes 3 times, and I was like, only a coder can follow what you are saying, especially as fast as he's moving. I would love to figure it all out though.

  • @schirmcharmemelone
    @schirmcharmemelone Před 4 měsíci +2

    can i write my own api chat gpt for the terminal?
    Will i run into limits of essages back and forth?
    i remember you made a video about only being able to send like 40 messages even as a paid user.

    • @BenjaminJamesBush
      @BenjaminJamesBush Před 4 měsíci

      The API uses completely different usage caps and it depends on how many credits you have purchased and how old your developer account is.

    • @DavidOndrej
      @DavidOndrej  Před 4 měsíci +1

      Exactly, the API has no message cap - you pay for the tokens you use

  • @ianwhite6808
    @ianwhite6808 Před 3 měsíci +1

    Thanks for the video. I am a complete novice and I'm wondering where I'm going wrong. I'm on mac and had to use pip3 install openai in the terminal. It worked, but when I go back to the code "from openai" still isn't recognizing the packages? What am I doing wrong?

    • @milindusha
      @milindusha Před 2 měsíci +1

      you might not be using pip3, try pip instead, the packager downloader is most likely not pip3 for you

  • @NiceMoKnows
    @NiceMoKnows Před 28 dny

    This is awesome!!! I am new to python and I was able to follow it. Thank you!!

  • @toso1038
    @toso1038 Před měsícem

    Ondro super video! Hezky to vysvětluješ

  • @mahtablahijany3500
    @mahtablahijany3500 Před 22 dny

    mate, you are fast! i did several back and forth to be able to follow you! good work, please keep going with it. would be amazing if you can simplify it little a bit for the people like me who loves Tech but are not advance like you and your generations.

  • @Corteum
    @Corteum Před 4 měsíci

    David, assuming i learned everything in this video, what is possible to actually build with it? Can we explore some examples or possibilities? I've got lots of ideas, ideas to create value in the form of apps or platforms, etc.... But can these ideas be translated into actuality using this approach?

    • @DavidOndrej
      @DavidOndrej  Před 4 měsíci +2

      Without knowing what those ideas are I can't give you any advice :D
      But the first step is the same - replicate everything I did in the video, build exactly what I've built and then start experimenting with your own use cases. Take it one step at a time, build something every day and soon you'll have something worthy of your potential.

    • @JhonataCosmo
      @JhonataCosmo Před 3 měsíci

      I don't know anything about programming, and I created a Google Chrome extension that analyzes marketing campaigns using the open ai api, everything was done with the help of Mistral.

  • @dorukilhan4329
    @dorukilhan4329 Před měsícem

    What is the difference of this from,giving the book to the normal chatgpt and make chatgpt summarize for you ?

  • @bennguyen1313
    @bennguyen1313 Před 3 měsíci

    I'd like to prototype an OCR application using Custom GPT.. but is it possible to use Vision/Ai PDF plugin with the free account.. or would I need a ChatGPT4 subscription?
    Is OpenAI's Assistant API totally different from the API to programmatically interact with Au Mistral, Gemini Pro, llama2 , etc?
    BTW, I imagine there's a limit but I've seen some people use Google Colab to run models for free?! I understand, I could use ChatGPT4 Assistant API and then I , as the developer , would incur the API call cost whenever the app is used. Alternatively, I could host a model like Ollama, on my own computer or on the cloud (beam cloud/ Replicate/Streamlit/replit)?

    • @DavidOndrej
      @DavidOndrej  Před 3 měsíci +1

      You don't need to pay for ChatGPT Plus to build with the GPT4-Vision API, here's how to do it: platform.openai.com/docs/guides/vision

  • @LRSKWTKWSK
    @LRSKWTKWSK Před 3 měsíci +10

    Nice video. But it is not for non coders like you stated. Every non cider will have no single clue how to write something similar after this video, even with explanation from ChatGPT or reading the documentation.

  • @brightfuture8638
    @brightfuture8638 Před 3 měsíci

    How old are you ? how did you learn programming ?

  • @brightfuture8638
    @brightfuture8638 Před 3 měsíci

    Great video

  • @talhamunir1051
    @talhamunir1051 Před měsícem

    amazing explanation bro ❤

  • @viny0048
    @viny0048 Před 3 měsíci

    so can i get job doing this?

  • @nhtna4706
    @nhtna4706 Před 3 měsíci

    But what about the cost of using the api ? Is there a pricing table ?

    • @DavidOndrej
      @DavidOndrej  Před 3 měsíci

      Of course, here it is: help.openai.com/en/articles/7127956-how-much-does-gpt-4-cost

  • @LyadinDima
    @LyadinDima Před 3 měsíci

    is the community you created suitable for beginners?

    • @DavidOndrej
      @DavidOndrej  Před 3 měsíci

      Absolutely, I designed it for all levels of AI knowledge

    • @stephenmatthew7869
      @stephenmatthew7869 Před 9 dny

      ​@@DavidOndrej so how can we join this community sir

  • @user-my5fq6sd4g
    @user-my5fq6sd4g Před 27 dny

    thank youuu

  • @thepsychonaut6919
    @thepsychonaut6919 Před 13 dny

    I love listening to your accent

  • @faneleshezi9348
    @faneleshezi9348 Před 4 měsíci +2

    I'm guessing this requires a gpt-4 subscription

    • @DavidOndrej
      @DavidOndrej  Před 4 měsíci +3

      Not really, you can use Gemini Advanced which has a 2 month free trial

    • @petersobolewski1354
      @petersobolewski1354 Před 4 měsíci +2

      You don't need subscription for API access

  • @oMnImAnIc
    @oMnImAnIc Před 15 dny

    Nvidia CEO was right. Absolutely crazy

  • @ItalianoYMexicano
    @ItalianoYMexicano Před hodinou

    Let's just be absolutely clear, you need to pay money to actually use the API or it will just tell you you exceeded your current quota and to spend money to up your usage limit. Sure, it is technically free to put the ChatGPT API in whatever project you want, but it isn't going to work until you spend money.

  • @andrewmorris5947
    @andrewmorris5947 Před 4 měsíci +1

    How much would you charge to do this as a service…?

    • @DavidOndrej
      @DavidOndrej  Před 4 měsíci +2

      That depends on the project. Email me the details - david@davidondrej.com

    • @andrewmorris5947
      @andrewmorris5947 Před 4 měsíci

      Thank you. And I’ll be joining your skool community.

  • @kdt85
    @kdt85 Před 6 dny

    $87 a month!

  • @aradhyagaonkar9542
    @aradhyagaonkar9542 Před 3 měsíci

    🙂 bro ur key dont make it public

    • @DavidOndrej
      @DavidOndrej  Před 3 měsíci +1

      I don't mind if people use it

    • @aradhyagaonkar9542
      @aradhyagaonkar9542 Před 3 měsíci +2

      @@DavidOndrej it will cost u money though I hope u revoked it