ChatGPT .NET API Client

  Рет қаралды 108,874

Les Jackson

Les Jackson

Күн бұрын

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/bin...
🎓 My other courses: lesjackson.net
📕 My Book: link.springer....
🤩 Patreon: / binarythistle
🌲 Linktree: linktr.ee/bina...
🔗 OpenAPI Docs: beta.openai.co...
🔗 GPT-3 Tool: gpttools.com/c...
🔗 Single File Apps: learn.microsof...
⏲️ 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
@cverde1234
@cverde1234 Жыл бұрын
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!
@binarythistle
@binarythistle Жыл бұрын
Thank you!
@unhandledexception1948
@unhandledexception1948 Жыл бұрын
really love this guy, the way he presents is simply so engaging, can make any dull topic captivating
@Rinat.Saitov
@Rinat.Saitov Жыл бұрын
The channel moves confidently to 100k subscribers!!! Nice work, Les! You really deserve it and much more! Thanks for your work full of kindness!
@deepanshukumar3943
@deepanshukumar3943 Жыл бұрын
The champ is back.
@Tanaka-Buchou
@Tanaka-Buchou Жыл бұрын
Thank you, Les. You have really done well by creating such an amazing free course.
@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.
@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.
@rmclean101
@rmclean101 Жыл бұрын
Awesome, thank you! I hadn't seen this intro before, it is very cool.
@pincode7983
@pincode7983 Жыл бұрын
Les as always perfect!🎉
@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)"
@abhaypandey6664
@abhaypandey6664 7 ай бұрын
You truly are an API guru! Thank you, Les!
@jafarfatollahi6735
@jafarfatollahi6735 11 ай бұрын
Thank you Les Jackson for this pretty cool educational and motivating video to implement some fantastic ideas.
@aikidoshi007
@aikidoshi007 Жыл бұрын
Nice! Hi from Forest Hill Les!
@andyhunt5150
@andyhunt5150 10 ай бұрын
Awesome man! Thanks for sharing!
@Vinaykumar-mysore
@Vinaykumar-mysore Жыл бұрын
Awesome. Thank You Les
@Jishnu_Nath
@Jishnu_Nath Жыл бұрын
Love the opening title
@davidharper8132
@davidharper8132 Жыл бұрын
Thanks Les, awesome Video, Happy New Year!
@Dmitry-Moiseenko
@Dmitry-Moiseenko Жыл бұрын
Les, thank you for another great video!
@jhormangarcia4937
@jhormangarcia4937 Жыл бұрын
so thanks for this video so ilustrative
@ahmadjehangir1356
@ahmadjehangir1356 Жыл бұрын
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 ❤️❤️
@artemartem6993
@artemartem6993 Жыл бұрын
Nice tool)) Thanks a lot, Les!
@tedduck800
@tedduck800 Жыл бұрын
Good video! What I did was to set the temperature to 0. But then you only get the command.
@binarythistle
@binarythistle Жыл бұрын
Excellent - great tip!
@chrismcclure4264
@chrismcclure4264 Жыл бұрын
You the best in the business. Keep it up.
@worldisone2429
@worldisone2429 Жыл бұрын
Awesome 😀
@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?
@jak3f
@jak3f Жыл бұрын
Sweet, got this on queue
@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..
@OdieFighter
@OdieFighter Жыл бұрын
cool idea, something like this would lessen distractions whilst googling things xD
@tokyrak
@tokyrak Жыл бұрын
Happy new year!!!
@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?
Жыл бұрын
This channel has more producers than Avatar.
@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?
@mohammadramezani1233
@mohammadramezani1233 Жыл бұрын
Please more video you are the best
@RafCalg
@RafCalg Жыл бұрын
Wonderful. Thanks.
@Radhakrishna-pq3yj
@Radhakrishna-pq3yj Жыл бұрын
Finally. 😍
@tsachimalik
@tsachimalik Жыл бұрын
To get only the command you can add at the end of the sentence ", output only the command"
@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.
@pryeshgohil3118
@pryeshgohil3118 Жыл бұрын
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
@DimagKiDahii
@DimagKiDahii Жыл бұрын
👏👏👏👏👏👏👏👏👏 Thank you !!!
@tulahean5334
@tulahean5334 Жыл бұрын
Thanks you
@ytsks
@ytsks Жыл бұрын
Could have asked ChatGPT to write your code, would've been shorter video :D :D
@ahmadmasri5353
@ahmadmasri5353 Жыл бұрын
Good video
@user-od2fz2tl7d
@user-od2fz2tl7d Жыл бұрын
Like first, watching video - next
@tuankiet6754
@tuankiet6754 Жыл бұрын
Iam newbie and don't understand about API, what is it
@andruhevich4641
@andruhevich4641 10 ай бұрын
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?
@hunggiap3174
@hunggiap3174 Жыл бұрын
"message": "You exceeded your current quota, please check your plan and billing details. Can u help me .Please
@konstantinewhite614
@konstantinewhite614 Жыл бұрын
Hmmm🤔 ------------ using System.Windows.Forms; [STAThread] Clipboard.SetText("text"); ------------- No?
@AbhinavKumardns
@AbhinavKumardns Жыл бұрын
My guru
@Btrninja
@Btrninja Жыл бұрын
Hello me friend can I help I want to register in chat gpt does not support my country
@sdwone
@sdwone Жыл бұрын
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 Жыл бұрын
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....
@shittusulaimon2716
@shittusulaimon2716 Жыл бұрын
Pls do a .net7 full api tutorial
@distinguishedmoments2277
@distinguishedmoments2277 Жыл бұрын
I love this guy, please adopt me
@binarythistle
@binarythistle Жыл бұрын
🤣 I have a hard enough time looking after myself!
@ravindrakumartanwar2617
@ravindrakumartanwar2617 Жыл бұрын
Sir imporve visibility of vedio
@neerajanand8567
@neerajanand8567 Жыл бұрын
Can I build this in Ruby on rails?
@binarythistle
@binarythistle Жыл бұрын
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.
@sevensolutions77
@sevensolutions77 Жыл бұрын
Make another request to GPT and let it extract the command 😜
@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
@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!)
@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!! :(
3 Frameworks / 3 APIs - Step by Step Builds
2:21:14
Les Jackson
Рет қаралды 13 М.
Deploy a .NET Core API with Docker (Step-by-Step)
36:17
Les Jackson
Рет қаралды 257 М.
ПРИКОЛЫ НАД БРАТОМ #shorts
00:23
Паша Осадчий
Рет қаралды 4,7 МЛН
АЗАРТНИК 4 |СЕЗОН 1 Серия
40:47
Inter Production
Рет қаралды 1,3 МЛН
My daughter is creative when it comes to eating food #funny #comedy #cute #baby#smart girl
00:17
ChatGPT Tutorial for Developers - 38 Ways to 10x Your Productivity
28:13
Programming with Mosh
Рет қаралды 3,5 МЛН
Cursor Is Beating VS Code (...by forking it)
18:00
Theo - t3․gg
Рет қаралды 95 М.
Let's build GPT: from scratch, in code, spelled out.
1:56:20
Andrej Karpathy
Рет қаралды 4,6 МЛН
C6 W20D2: Blog: Comments, File Upload, & Database Seeding
2:06:02
ChatGPT Tutorial - A Crash Course on Chat GPT for Beginners
34:05
Adrian Twarog
Рет қаралды 6 МЛН
GraphQL API with .NET 5 and Hot Chocolate
3:49:42
Les Jackson
Рет қаралды 238 М.
gRPC Service with .NET 7
1:17:49
Les Jackson
Рет қаралды 39 М.
Build and Deploy Your Own ChatGPT AI App in JavaScript | OpenAI, Machine Learning
1:01:47
Cursor AI Tutorial: Automating My LinkedIn With AI
1:41:09
Inner Maps
Рет қаралды 163
Custom HTTPS Dev Environment using .NET Core, Kestrel & certificates
1:01:33
ПРИКОЛЫ НАД БРАТОМ #shorts
00:23
Паша Осадчий
Рет қаралды 4,7 МЛН