Тёмный

Github Copilot vs. ChatGPT: Which one should you use, and when? 

Doing It With A.I.
Подписаться 1,4 тыс.
Просмотров 37 тыс.
50% 1

Everyone is familiar with #chatgpt at this point. It has been literally everywhere lately - the subject of countless videos, blogs, and news articles. However, if you're a technician, aspiring developer, or even senior developer, did you know Github's #copilot uses the same #ai technology and is far more capable at increasing your efficiency, productivity and overall output than ChatGPT?
Well, in my opinion, Copilot is vastly superior to ChatGPT when it comes to writing and generating reliable code, though there is still a time and place for ChatGPT in the code-writing process, as well. Check out this video to learn the value proposition, when to use which tool, and why I'm so excited by Github Copilot.
0:00 Intro
0:38 Why am I talking about this?
1:06 What is Copilot?
2:15 What will I see in this video?
2:56 Quick look at Copilot's website
4:41 Asking ChatGPT to write PowerShell
5:49 Iterating on ChatGPT's script
6:42 More iteration to fix the script
7:20 What I liked/disliked about ChatGPT's response
8:38 If ChatGPT is so good, why use something else?
10:10 Feeding Copilot the ChatGPT prompt
11:46 Exploring Copilot's basic capabilities
12:40 Copilot gives me full script options
16:02 Copilot gives me autocomplete suggestions
22:13 Combining methodologies
23:20 Value proposition
25:00 So is Copilot the right tool for the job?

Наука

Опубликовано:

 

4 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 55   
@gillesashley9314
@gillesashley9314 Год назад
This is definitely a good video. I use copilot to generate the codes, when I do not understand the codes, I let ChatGPT do the explanation.
@DoingItWithAI
@DoingItWithAI Год назад
It's a great combo. Check out Copliot Chat for VS Code. It brings these concepts together into one spot, and really streamlines the context switching between the two services. Thanks for watching!
@aar021
@aar021 Год назад
Best Copilot overview at the moment. Thank you 🙏
@DoingItWithAI
@DoingItWithAI Год назад
Happy it helped, Alvaro!
@HerrThomasE
@HerrThomasE Год назад
thank you very much for this detailed Video. it gives me very good anders Standing what Copilot is.
@DoingItWithAI
@DoingItWithAI Год назад
You're very welcome. Thank you for watching!
@anthonyapodaca1332
@anthonyapodaca1332 Год назад
Great Video! Interesting on how you can leverage both techs to get you where you need to go.
@DoingItWithAI
@DoingItWithAI Год назад
Using ChatGPT to give me a place to start then iterating with Copilot's assistance has been my favorite approach in using these tools together. Glad you found it interesting, Anthony!
@dsrichmond
@dsrichmond Год назад
Very cool stuff! And you were right before correcting yourself - parameters are just called parameters. Nouns are the 2nd part of the Verb-Noun format of cmdlet names.
@DoingItWithAI
@DoingItWithAI Год назад
Thanks for watching, David. Can you tell I don't spend a lot of time with PS? 😂
@maverickmace9100
@maverickmace9100 9 месяцев назад
Im learning powershell atm. Copilot is incredible. It's like it reads my thoughts when it wants to auto complete
@DoingItWithAI
@DoingItWithAI 8 месяцев назад
Couldn't agree more - - it's eerily good. But that's the beauty of LLMs, they're designed to anticipate what comes next.
@Rex88282
@Rex88282 Год назад
Yes is helpful ! I use it ! Nice video ! Codex also awesome.
@DoingItWithAI
@DoingItWithAI Год назад
I agree, Codex rocks. Thanks christos!
@tmszcncl
@tmszcncl Год назад
Great video :) Do you think it is possible to use both copilot and tabnine? I tried it in rubymine, but I had a feeling that tabnine just was not working at all (there were only copilot's suggestions). Maybe it does not make sense :)
@DoingItWithAI
@DoingItWithAI Год назад
Good question, Tomasz. I would say use one or the other. My guess is that they'd be fighting each other given they do the essentially the same things. My next video is going to be on Copilot Labs, which is an additional extension for VS Code that makes Copilot substantially more powerful. You might find that that solves your needs. Thanks for watching!
@tmszcncl
@tmszcncl Год назад
​@@DoingItWithAI Thanks for the answer. I will stick with copilot for now - somehow I like it better. I already tried this copilot labs with vs code and I'm a little sad that there is no version planned for jetbrains products. But hopefully there will be something similar in the future :) Looking forward for your video about it :)
@prashantvedpathak3067
@prashantvedpathak3067 Год назад
Thanks for showing new things in AI.... Co-Pilot is amazing no doubt.... I will definitely try this!!!
@DoingItWithAI
@DoingItWithAI Год назад
Thanks Prashant! Let me know what you think. I use it everyday now, it's an amazing tool to boost productivity.
@sharulhafiz6312
@sharulhafiz6312 Год назад
Your keyboard sounds and feel smooth, which mechanical is that? Thanks for the video
@DoingItWithAI
@DoingItWithAI Год назад
You're welcome! I'm using a Logitech MX Keys, non mechanical. It's a great keyboard especially if you have multiple devices, as it has its own built-in KVM switch (minus the video and mouse, of course).
@MrMorvar
@MrMorvar Год назад
Nice comparsion but I got a few questions: 1. Does Copilot have up-to-date GitHub data access? ChatGPT fails to generate new ECS code for Unity game engine, as the API just changed into 1.0 a few months ago. 2. Does it try to learn your whole project to try understand what's the whole thing about or are the solution offerings only based on the given prompt?
@DoingItWithAI
@DoingItWithAI Год назад
Hey Morvar. Thanks for watching. Here's my understanding in terms of the questions you asked: 1. Copilot was trained on public code. My assumption is that it continues to be trained on public code, but I'm not sure at what cadence or level of recurrence that training is taking place. That's not something they have disclosed. 2. Copilot currently doesn't scale in that way, i.e., it doesn't understand your codebase as a whole. It only provides suggestions within the context of the file you're currently working on.
@Mpanagiotopoulos
@Mpanagiotopoulos Год назад
@@DoingItWithAI Is there any AI application that understands the whole codebase or at least a way for ChatGPT to handle bigger questions in reference to huge codes.I think if chat GPT can read and proccess files like .py and according to what he reads can give you code specific for your problem,that would be great
@DoingItWithAI
@DoingItWithAI Год назад
@@Mpanagiotopoulos I'm not aware of anything that can read entire projects/codebases and understand them contextually yet. I'm sure that's coming but right now things are more piecemeal.
@Mpanagiotopoulos
@Mpanagiotopoulos Год назад
@@DoingItWithAI When I wrote this comment GPT-4 was not released.Now I updated to GPT-4 and it takes up to 25.000 words,which is great and way better at coding.Although it still can't read files as this would require unimaginable computing power to handle million requests simultaneously, but I guess this is coming sooner or later.Definitely the next 2 years are going to reshape industries with all these rapid advancements in AI!
@JoaoVitor-gm2yf
@JoaoVitor-gm2yf Год назад
@@Mpanagiotopoulos They announced copilotX, which is basically copilot that "sees" all of your current project files on VSCode + a chat tab on the side that you can also talk to. I dont think its available yet, but it looks amazing
@artem_morozov
@artem_morozov 2 месяца назад
Copilot still better then ChatGPT 4o? I still can't choose which one should I use. I really like chatgpt 4o for coding and hate 3,5.
@cileg_
@cileg_ Год назад
But does Copilot work with Remix for Ethereum, Polygon, BSC etc?…
@DoingItWithAI
@DoingItWithAI Год назад
I don't know about integrating Copilot with the Remix IDE, but there does appear to be a Remix extension in VSCode, so maybe if you load that in with Copilot already installed it would have some value. Worth a shot? I know people are using Copilot to generate tests for contracts, but that's all out of my wheelhouse so I'm not gonna be much help beyond that. Sorry about that.
@hmdz150
@hmdz150 Год назад
I just finished a python module that includes 6000 lines of code in less than 3 hours using CoPilot. Before than, I was using ChatGPT and the process of copy pasting comments into Chat GPT prompt and back was really slow. Also, the code frame in ChatGPt web interface is limited and beyond a line it breaks the code out of that frame and mess everything up. Without Copilot my project would take days, if not weeks, to finished due to the huge amount of code I had to type (repetitive tasks)
@DoingItWithAI
@DoingItWithAI Год назад
Try Copilot Chat. It takes all the conversational stuff from ChatGPT and brings it straight into the IDE. Huge time saver compared to going back and forth between ChatGPT and your IDE. My next video will be on this topic. Couldn't agree more with your point, though - - Copilot is amazing for the work you described.
@CinemindParadox
@CinemindParadox 10 месяцев назад
Was this 3.5 ChatGPT or 4.0? Free version or have you paid for it?
@DoingItWithAI
@DoingItWithAI 10 месяцев назад
3.5 and I do pay for the subscription.
@chikosan99
@chikosan99 Год назад
Great! does can help with refactoring code ?
@DoingItWithAI
@DoingItWithAI Год назад
Great question! I think you could say that it has the potential to help with refactoring, since it can suggest different patterns to accomplish the same output. As far as being able to tell it to refractor a code block, I've never tried that, but I'd be very curious to give it a shot!
@CaptainSpoonsAlot
@CaptainSpoonsAlot Год назад
i think you meant to say ctrl-enter
@DoingItWithAI
@DoingItWithAI Год назад
Oops! Probably so. Thanks for the heads up.
@caty863
@caty863 10 месяцев назад
The pricing model of Copilot ($10/month) is awful for occasional developers. They should have options, including paying by number of suggestions made to you.
@DoingItWithAI
@DoingItWithAI 10 месяцев назад
Agreed. I use this probably 15 days out of every month. Would be nice to have some cheaper options.
@orion33
@orion33 Год назад
Maybe for VS Code it works fine, but for VS Community it's just awful. It's terribly slow, inserts code in the middle of the page absolutely breaking syntax. So all in all you get absolutely nonfunctional code. I asked to draw a five-pointed star using SharpDX.Direct2D1 😆
@DoingItWithAI
@DoingItWithAI Год назад
Good to know. I haven't tried Copliot with full VS so I appreciate the insight. Thanks for watching!
@labibchy9293
@labibchy9293 Год назад
23.25 is the point you are looking for
@DoingItWithAI
@DoingItWithAI Год назад
Sorry that you didn't find more value in the video as a whole. I'm still new at this, hopefully I will get more concise over time. Thanks for watching!
@chandywerks
@chandywerks Год назад
"...plugins for Vscode, Neovim, Visual Studio (if you're a full time developer)" I'm a full time developer and I use neovim. How much is microsoft paying you for these videos XD
@DoingItWithAI
@DoingItWithAI Год назад
I hear neovim is great, but I'm not familiar with it. I've grown my career in the Microsoft space, and if Microsoft wanted to sponsor these videos I'd happily accept.
@elitehaxxor8025
@elitehaxxor8025 Год назад
The AsPlainText parameter doesn't actually store your password as plain text, it means that the cmdlet is accepting plain text as input for the parameter which will then be converted to the System.Security.SecureString type. AI is amazing though, it's unfortunate that people think it's going to be the downfall of development though.
@DoingItWithAI
@DoingItWithAI Год назад
Yeah, my point was you'd have to store your password in the script as plain text, which I wouldn't recommend necessarily. I do appreciate the clarification on your part for my viewers, though!
Далее
Github Copilot is even better with Copilot Labs!
27:03
GitHub Copilot Is Making Elite Developers EVEN BETTER
15:11
Это iPhone 16
00:52
Просмотров 209 тыс.
I Tried Every AI Coding Assistant
24:50
Просмотров 754 тыс.
Master GitHub Copilot as a Beginner
27:47
Просмотров 33 тыс.
CoPilot Review: My Thoughts After 6 Months
9:45
Просмотров 541 тыс.
it begins… developers LEAVING Copilot
6:55
Просмотров 82 тыс.