粉丝2343获赞8619

确实是有的啊,那如何去用呢?我们接下来教大家一下,首先大家打开这个拍 charm, 然后点击 fair settings, 然后剪辑这个啊 pu, 这就是插件的意思,对吧?那我们在这块就搜一个什么就 chat 啊,然后呢这块会有什么?会有个 chat gpt 啊,对不对?就在这里啊,那大家如果说,哎,我们去搜一下 chat 啊,他其实应该是能搜出来很多啊, 这是我已经安装过了,好吧,那我们点击一下,然后呢点击 ok 啊,这个如果大家第一次安装的话,可能啊,他不会这个样子,跟我可能不太一样,因为我已经安装过,然后点击这个,大家如果没有安装过的话,直接点击这个 ok 就可以了。好吧,那点击安完成之后呢, 大家在这里面就会看到一个什么,在这个编辑器的旁边啊,就会看到这个界面,对不对?那我们讲让他,比如说啊,来,我让他解释一下这行代码是什么意思啊, 对不对啊?这个时候他让这个扫码登录一下,登录完成之后的话来他就会显示这一行代码的一个什么啊,代码的一个作用,对不对?那这样代码其实很简单,就是打印 hello word 到什么到咱们这个终端上是不是?那我让他啊重新的去写一个,比如说啊, 写一个什么六的阶层啊,来发送, 这个时候的话我们稍微等一下啊,大家看啊,六的阶层是七百二啊,那我们肯定让他不是计算结果,对不对?六的阶层的什么代码实现啊,我们肯定让他帮我们来实现这个代码, 是不是?那我们来看一下拍森代码实现 a, 首先定义了一个函数,如果 n 等于零,返回一啊,如果说 n 不等于零的话来用什么?他这个其实用的是地规对不对啊?用的是地规的实验方式啊。那我们去复制这个代码,来看一下这个代码我们在实际的排查里面运行的话,会不会报错啊?大家看已经输出了这个结果对不对? 那这个就是一个咱们拍唱里面的一个插件啊,叫耐克斯拆的 gpt 的一个使用,大家如果说想要会啊,想要学会的话,可以什么一键三连啊?

实现我们 chat g b t 的一个编码啊,比如当我打开这个时候,让他去用拍摄语言写一个啊, 写一个什么呢?写绘制一个组装图吧, tnt 怎么这么慢出来了,哼, 它这个是用 matplot lab 这个库来实现的,我们可以把这个代码复制到拍仓目里边, 然后运行 就绘制出来了这样的一个柱状图啊,怎么来实现呢?我们首先从这个打开一个项目,然后找到它的一个 feel 啊,这里有一个设置,这是这是 mac 版啊, windows 版的,设置在这个位置在左上角,然后找到这个 plunge, 然后搜索 n, e, x, 然后 chat gpt, 然后点击安装就行,我这个是已经安装过了,安装好之后呢,就可以在这找到这个 chart gpt 的入口,然后点击,你就可以用任何一个语言来去让他去做一些事情, 比如现在怎样用它拍摄源输出一个九九乘法表 几天?这个有点慢,之前挺快的了, 然后这样就开始输出九九乘法表了,然后呢也是等它打完之后,把这个代码复制过来,然后在这儿运行就可以输出来。这个就是用我们的 chapter chat gpt 来实现的啊,能够大大提升我们的一个效率。


你们有没有在披萨里面开发过 vue 啊?然后那个你们倒 vue 包的时候有没有遇到过这种情况?就是你倒这个 vue 包,比如说我想倒 vue 里面的这个 if 的这个包, 你会发现他根本就没有 if 这个提示,还要你自己手动去去去去写,这样子就太费力了。这个你们有没有遇到过这种情况?怎么解决的?


you've no doubt, seen and probably even used chat gpt an ai that can answer questions summarize text translate languages chat with humans and right code in this video, we're gonna take a first look at the new chat gpt like experience that's coming soon to vs code and we're gonna see how to use it to get the most out of it and make it work for you the new chat functionality is enabled by the github co pilot extension and for now you'll need to sign up for the weight list to get this new experience link in the video description once that's installed and you've signed in to github co pilot there's a new chat icon in the activity bar this opens a chat side bar that functions very much like chat gpt with the important difference that copilot knows about your code in the tabs that you have open you don't need to copy things in and out of a chat window and just like chad gpt you can have a conversation with it about pretty much anything programming related for instance we might ask it how to build a website with node and it gives us some suggestions but they're quite generic and broad just like if you were talking to a human, the more detail you give copilot the better answer you get back for instance if i ask it to create an express app, using typescript and view for the front end it gives me actual code and the steps that i need to take to create that app if we click this copy button, we can copy the code if we click the add to file at cursor, button it adds the code to the file at the cursor now i've been a developer for a while and i know a thing you're too about express and i've got a mostly completed express app here i know that i need routes views and models it's still up to me to structure this app correctly and i'm not always a hundred percent sure that i'm doing this and that causes the feeling of resistance in me towards this whole project but copilot is your pair programmer, so i can ask copilot what it would recommend and i see that it's saying that i should have a folder for controllers that contains all of my route logic interesting i kind of like this nice pattern and separation of concerns i might implement this chat in the sidebar is great for longer conversations in food strapping code but the whole point of putting the chat in vs code is to reduce your context switching and we can reduce it even further by getting chat out of the sidebar and into your actual coating flow so we've added a brand new inline chat experience that you can open right from within your code for instance here in this html file i know that i want to iterate over the to do's array, but i can never remember what the template syntax is for that so let's just ask co pilot to do it and it knows about the css framework that i've included here so it attempts to use those styles but i don't like this answer that it's given me i don't like this table layout so i'm gonna ask it to use an unordered list instead iteration is key to using copilot effectively as you aren't always gonna like the answer that it gives you so this new inline chat experience makes it easy to iterate with copilot to get you to the right place now not only does copilot know about my code, but it knows about my vs code there are some special slash commands that you can use in this box to scope the context for your chat i can use the vs code command and ask it to attach the debugger and it gives me a launch config which is exactly what vs code needs to do this and its knowledge of vs code is super handy for finding things like settings especially, the obscure ones for instance if i like the mini map, but i don't like it when i'm writing markdown, i can ask co pilot how to disable the mini map while editing markdown and it gives me the exact setting that i need we're working on fine tuning this context experience so that you can scope your conversations and get much more accurate answers and there are other slash commands in here as well the explain command is super handy when you come across some code that you've never seen before or you have zero memory of writing like when you get assigned an issue on an app that you haven't touched in ages or if you're just starting out in a new language, the explained command will tell you what the code is doing in this case? this is a react component that conditionally displays content if a user is logged in that's good to know let's open the inline chat here and ask it to document this for the next time i see it and can't remember what it's doing? we probably need a unit test here as well, so we'll use the slash test command to create one and we'll double check the code before we run it because remember you are still the pilot co pilot is just here to help the debug command can tell you why your code isn't working or what you can do to make your code more robust and the fix will try to fix? this selected text for me now, i may not like the fix that it gives me but at least it gives me an idea for how to fix it and therefore a starting point for my brain if you want to try out this new chat experience click the link in the video description to get on the weightlist now and to learn more about what we're gonna be doing with visual studio code and ai powered by github co pilot happy coding。

分享一下我在 child g p t 上遇到的无法访问的问题及其最终的解决方案。经过多番尝试,我最终发现更换浏览器可以解决这个问题,不知道这背后的原理是什么? 今年呢? ai 技术发展的趋势可谓是一片大好,人工智能的技术将会发挥更大的作用。