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
The channel moves confidently to 100k subscribers!!! Nice work, Les! You really deserve it and much more!
Thanks for your work full of kindness!
really love this guy, the way he presents is simply so engaging, can make any dull topic captivating
The champ is back.
Thank you, Les. You have really done well by creating such an amazing free course.
Les as always perfect!🎉
Awesome, thank you! I hadn't seen this intro before, it is very cool.
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.
Thanks Les, awesome Video, Happy New Year!
Nice tool)) Thanks a lot, Les!
You truly are an API guru! Thank you, Les!
Les, thank you for another great video!
Awesome. Thank You Les
Awesome man! Thanks for sharing!
Thank you Les Jackson for this pretty cool educational and motivating video to implement some fantastic ideas.
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!
Thank you!
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 ❤️❤️
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.
You the best in the business. Keep it up.
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)"
Awesome 😀
Love the opening title
so thanks for this video so ilustrative
Wonderful. Thanks.
Happy new year!!!
Nice! Hi from Forest Hill Les!
Sweet, got this on queue
Finally. 😍
Please more video you are the best
👏👏👏👏👏👏👏👏👏 Thank you !!!
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?
Thanks you
Good video
cool idea, something like this would lessen distractions whilst googling things xD
My guru
Thanks for sharing your knowledge with us. You are really doing awesome work. Could you make a video on authentication and authorization in microservices?
Good video!
What I did was to set the temperature to 0. But then you only get the command.
Excellent - great tip!
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.
why didn't you use C# 11 string interpolation to escape those chars? or even you could use System.Text.Json
We know you wouldn't do that :))
Thanks for the code.
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?
bytheway, why are you showing your bearer API Key?
Like first, watching video - next
To get only the command you can add at the end of the sentence ", output only the command"
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?
Hello me friend can I help I want to register in chat gpt does not support my country
"message": "You exceeded your current quota, please check your plan and billing details. Can u help me .Please
Can I build this in Ruby on rails?
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.
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
Iam newbie and don't understand about API, what is it
Pls do a .net7 full api tutorial
Could have asked ChatGPT to write your code, would've been shorter video :D :D
I love this guy, please adopt me
🤣 I have a hard enough time looking after myself!
Make another request to GPT and let it extract the command 😜
Sir imporve visibility of vedio
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?
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...?
@@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....
Hmmm🤔
------------
using System.Windows.Forms;
[STAThread]
Clipboard.SetText("text");
-------------
No?
Is this free? I see there is a pricing associated with this?
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!)
Why not ask chat gpt.....
Write me a code to get an answer from chat gpt api that will return only code section
Misleading title, GPT3 is NOT ChatGPT
Is calling chatgpt api free?
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..
52 minutes to create a client?
Whomever is using this tool will regret it after all when his brain becomes small and the tool becomes Paid 😂
this is bad news for developers!! please stop using this!! :(