ChatGPT .NET API Client

Поделиться
HTML-код
  • Опубликовано: 8 янв 2023
  • In this video we use the OpenAI GPT-3 API to create “ChatGPT-like” .NET command line tool. Additionally, we deploy this as a single file app.
    🌐 Links 🌐
    💾 GitHub Repo: github.com/binarythistle/S06E...
    🎓 My other courses: lesjackson.net
    📕 My Book: link.springer.com/book/10.100...
    🤩 Patreon: / binarythistle
    🌲 Linktree: linktr.ee/binarythistle
    🔗 OpenAPI Docs: beta.openai.com/docs/introduc...
    🔗 GPT-3 Tool: gpttools.com/comparisontool
    🔗 Single File Apps: learn.microsoft.com/en-us/dot...
    ⏲️ Time Codes ⏲️
    Introduction & Theory
    - 1:17 - Welcome
    - 2:08 - Application Demo
    - 5:47 - ChatGPT Overview
    - 7:23 - GPT-3 API Docs
    - 9:23 - Create an API Key
    - 10:07 - GPT API Comparison Tool
    - 11:49 - Scaffold App
    - 15:54 - Making our 1st API call
    - 29:01 - Deserializing or JSON payload
    - 35:32 - Extracting the command prompt
    - 43:39 - Single file deployment and executable
    - 50:35 - Supporter Credits

Комментарии • 75

  • @Rinat.Saitov
    @Rinat.Saitov Год назад +3

    The channel moves confidently to 100k subscribers!!! Nice work, Les! You really deserve it and much more!
    Thanks for your work full of kindness!

  • @unhandledexception1948
    @unhandledexception1948 Год назад +5

    really love this guy, the way he presents is simply so engaging, can make any dull topic captivating

  • @deepanshukumar3943
    @deepanshukumar3943 Год назад +12

    The champ is back.

  • @Tanaka-Buchou
    @Tanaka-Buchou Год назад +2

    Thank you, Les. You have really done well by creating such an amazing free course.

  • @pincode7983
    @pincode7983 Год назад +5

    Les as always perfect!🎉

  • @rmclean101
    @rmclean101 Год назад +2

    Awesome, thank you! I hadn't seen this intro before, it is very cool.

  • @karthiksreenivasan
    @karthiksreenivasan Год назад

    Thank you very much for introducing us to the ChatGPT API and how it can be used with ChatGPT's "completions" endpoint.
    I wish you and your team nothing but success and prosperity.

  • @davidharper8132
    @davidharper8132 Год назад

    Thanks Les, awesome Video, Happy New Year!

  • @artemartem6993
    @artemartem6993 Год назад

    Nice tool)) Thanks a lot, Les!

  • @abhaypandey6664
    @abhaypandey6664 5 месяцев назад

    You truly are an API guru! Thank you, Les!

  • @Dmitry-Moiseenko
    @Dmitry-Moiseenko Год назад

    Les, thank you for another great video!

  • @Vinaykumar-mysore
    @Vinaykumar-mysore Год назад

    Awesome. Thank You Les

  • @andyhunt5150
    @andyhunt5150 8 месяцев назад

    Awesome man! Thanks for sharing!

  • @jafarfatollahi6735
    @jafarfatollahi6735 9 месяцев назад

    Thank you Les Jackson for this pretty cool educational and motivating video to implement some fantastic ideas.

  • @cverde1234
    @cverde1234 Год назад +12

    I wanted to buy your new course just to support you since I like your free content. It's only 10 bucks and looks amazing. Keep being awesome!

  • @ahmadjehangir1356
    @ahmadjehangir1356 Год назад +1

    Thank you so much for giving us LATEST knowledge everytime and making us aware about new things in the COMPUTER WORLD.
    May you progress day by day. We have learnt a lot from YOU SIR ❤️❤️

  • @JamieHicks154
    @JamieHicks154 Год назад

    Bought the course as Learning Dotnet as a Front-end Developer and your content is great, also helps that get to support a fellow Scot.

  • @chrismcclure4264
    @chrismcclure4264 Год назад

    You the best in the business. Keep it up.

  • @ibrahimhaouari6425
    @ibrahimhaouari6425 Год назад

    Great video, and for not getting the command guess right issue the solution is to ask ChatGPT to respond with the command only by adding after user input "(respond with the command only)"

  • @worldisone2429
    @worldisone2429 Год назад +2

    Awesome 😀

  • @Jishnu_Nath
    @Jishnu_Nath Год назад

    Love the opening title

  • @jhormangarcia4937
    @jhormangarcia4937 Год назад +1

    so thanks for this video so ilustrative

  • @RafCalg
    @RafCalg Год назад

    Wonderful. Thanks.

  • @tokyrak
    @tokyrak Год назад

    Happy new year!!!

  • @aikidoshi007
    @aikidoshi007 Год назад

    Nice! Hi from Forest Hill Les!

  • @jak3f
    @jak3f Год назад

    Sweet, got this on queue

  • @Radhakrishna-pq3yj
    @Radhakrishna-pq3yj Год назад

    Finally. 😍

  • @mohammadramezani1233
    @mohammadramezani1233 Год назад

    Please more video you are the best

  • @DimagKiDahii
    @DimagKiDahii Год назад

    👏👏👏👏👏👏👏👏👏 Thank you !!!

  • @ever-modern
    @ever-modern Год назад

    It's Chat GPT that seems to have been living under the rock for the last two ... years. What does it mean it doesn't know Les Jackson?

  • @tulahean5334
    @tulahean5334 Год назад

    Thanks you

  • @ahmadmasri5353
    @ahmadmasri5353 Год назад

    Good video

  • @OdieFighter
    @OdieFighter Год назад

    cool idea, something like this would lessen distractions whilst googling things xD

  • @AbhinavKumardns
    @AbhinavKumardns Год назад

    My guru

  • @madhusudansharma344
    @madhusudansharma344 Год назад

    Thanks for sharing your knowledge with us. You are really doing awesome work. Could you make a video on authentication and authorization in microservices?

  • @tedduck800
    @tedduck800 Год назад +1

    Good video!
    What I did was to set the temperature to 0. But then you only get the command.

  • @InterplainMusic
    @InterplainMusic Год назад

    I used this the other day to help me write parts of a program I developed in visual studio. A database program wrote functions and SQL queries. Amazing tool for learning. And the best part of it, is you don't have to put up with a condescending arse hole trying to make you look small..

  •  Год назад

    This channel has more producers than Avatar.

  • @pontiacgtx4801
    @pontiacgtx4801 Год назад

    why didn't you use C# 11 string interpolation to escape those chars? or even you could use System.Text.Json

  • @tamaratiny
    @tamaratiny Год назад

    We know you wouldn't do that :))
    Thanks for the code.

  • @technickr
    @technickr Год назад

    Do I understand it right, that ChatGPT does not have an API right now and you are buildung on GPT-3 API only with text-davinci-003 model?

    • @technickr
      @technickr Год назад

      bytheway, why are you showing your bearer API Key?

  • @user-od2fz2tl7d
    @user-od2fz2tl7d Год назад

    Like first, watching video - next

  • @tsachimalik
    @tsachimalik Год назад

    To get only the command you can add at the end of the sentence ", output only the command"

  • @andruhevich4641
    @andruhevich4641 8 месяцев назад

    Hi guys. I have an issue. After a request to ChatGptApi I received 500 Error One or more errors occurred. (A task was canceled.). Do you know how can I fix this?

  • @Btrninja
    @Btrninja Год назад

    Hello me friend can I help I want to register in chat gpt does not support my country

  • @hunggiap3174
    @hunggiap3174 Год назад

    "message": "You exceeded your current quota, please check your plan and billing details. Can u help me .Please

  • @neerajanand8567
    @neerajanand8567 Год назад

    Can I build this in Ruby on rails?

    • @binarythistle
      @binarythistle  Год назад +1

      You should absolutely be able to write a Ruby app that runs at the command line and does something similar. Maybe just ask ChatGPT: "how do I make a HTTP POST request with ruby" 🤣 Fundamentally that's all we're really doing here.

  • @pryeshgohil3118
    @pryeshgohil3118 Год назад +1

    The ChatGPT tool is mainly will be used for helping for references - but it can't develop full fledged system architecture - so i don't think developer jobs are at risk with this

  • @tuankiet6754
    @tuankiet6754 Год назад

    Iam newbie and don't understand about API, what is it

  • @shittusulaimon2716
    @shittusulaimon2716 Год назад

    Pls do a .net7 full api tutorial

  • @ytsks
    @ytsks Год назад +1

    Could have asked ChatGPT to write your code, would've been shorter video :D :D

  • @distinguishedmoments2277
    @distinguishedmoments2277 Год назад

    I love this guy, please adopt me

    • @binarythistle
      @binarythistle  Год назад

      🤣 I have a hard enough time looking after myself!

  • @sevensolutions77
    @sevensolutions77 Год назад

    Make another request to GPT and let it extract the command 😜

  • @ravindrakumartanwar2617
    @ravindrakumartanwar2617 Год назад

    Sir imporve visibility of vedio

  • @sdwone
    @sdwone Год назад +3

    I wonder what Les actually makes of all this? Is he concerned, like some developers, that this tool might be taking things a little too far? I.e. with our job security?

    • @binarythistle
      @binarythistle  Год назад +11

      It's a really interesting question. At the moment, no I'm not worried about developers job security. Yes, something like ChatGPT can write bits of code, but creating an entire system I think is outside it's capabilities, (for now anyway I think!) There's also a lot more to software development that just writing code: there's human nuance, soft skills, historical context as to why an existing system was written a particular way etc...
      Or maybe this isn't me writing, and it's a bot instead...?

    • @volkerengels5298
      @volkerengels5298 Год назад

      @@binarythistle Some they this speeds up development 10fold. 10 devs - 9 do something else tomorrow? Or an incredible growth in Software industries....
      With a rapid growing IT-Industrie - you'll leave behind the _people less smart_ totally outperformed. That's a mass....

  • @konstantinewhite614
    @konstantinewhite614 Год назад

    Hmmm🤔
    ------------
    using System.Windows.Forms;
    [STAThread]
    Clipboard.SetText("text");
    -------------
    No?

  • @dhiraj027in
    @dhiraj027in Год назад

    Is this free? I see there is a pricing associated with this?

    • @binarythistle
      @binarythistle  Год назад

      As far as I can see you get free credit when you sign up (that can be used in the 1st 3 months). Then yes I think you will get charged. Current pricing here: openai.com/api/pricing/ (I've not been charged yet anyway!)

  • @eilamcohen2
    @eilamcohen2 Год назад

    Why not ask chat gpt.....
    Write me a code to get an answer from chat gpt api that will return only code section

  • @danrulez
    @danrulez Год назад

    Misleading title, GPT3 is NOT ChatGPT

  • @ashwinikumarshende
    @ashwinikumarshende Год назад

    Is calling chatgpt api free?

  • @gregd6022
    @gregd6022 Год назад

    Dude asks if chatGPT knows who he is.. then lists a zillion APs.. perfect example of what i like about ChatGPT... get ride of these vanity queens who spend an hour talking about something that can be communicated in 5 mins. they love to hear themselves talk..

  • @ricardomartinez1
    @ricardomartinez1 Год назад

    52 minutes to create a client?

  • @yasser2768
    @yasser2768 Год назад

    Whomever is using this tool will regret it after all when his brain becomes small and the tool becomes Paid 😂

  • @azad2096
    @azad2096 Год назад

    this is bad news for developers!! please stop using this!! :(