https://github.com/github/feedback/discussions/8308 Skip to content Sign up * Why GitHub? + Features - + Mobile - + Actions - + Codespaces - + Packages - + Security - + Code review - + Issues - + Integrations - + GitHub Sponsors - + Customer stories - * Team * Enterprise * Explore + Explore GitHub - + Learn and contribute + Topics - + Collections - + Trending - + Learning Lab - + Open source guides - + Connect with others + The ReadME Project - + Events - + Community forum - + GitHub Education - + GitHub Stars program - * Marketplace * Pricing + Plans - + Compare plans - + Contact Sales - + Education - [ ] * # In this repository All GitHub | Jump to | * No suggested jump to results * # In this repository All GitHub | Jump to | * # In this organization All GitHub | Jump to | * # In this repository All GitHub | Jump to | Sign in Sign up {{ message }} github / feedback Public * Notifications * Star 936 * Fork 180 * * Code * Pull requests 1 * Discussions * Actions * Security * Insights More * Code * Pull requests * Discussions * Actions * Security * Insights Announcing GitHub Copilot Labs #8308 Unanswered irealva asked this question in Copilot Feedback Announcing GitHub Copilot Labs #8308 @irealva irealva Dec 1, 2021 * 2 answers * 4 replies Return to top edited Loading [897] irealva Dec 1, 2021 Greetings! You may have noticed some cool new functionality in recent nightlies of GitHub Copilot for Visual Studio Code! We've added the Labs sidebar, a home for experiments we're building with the same technologies that power GitHub Copilot. The first application is Explain. Select some code, and ask GitHub Copilot to explain that code to you in plain language: GIF depicting the Copilot Labs Explain Flow Create custom prompts We provide a few preset prompts to get you started: three that explain what a particular block of code does, and another that generates example code for calling a function. You can customize the prompt and stop sequence of a query in order to come up with new applications that use Codex to interpret code. Creating these can feel like more of an art than a science! Small changes in the formulation of the prompt and stop sequence can produce very different results. The three different "explain" examples showcase strategies that tend to produce useful responses from the model, but this is uncharted territory! We're excited to see what you use this for. These articles on prompt design and stop sequences are a great place to start if you want to craft your own presets. Please share feedback on GitHub Copilot Labs! Have you found a prompt and stop sequence combination that works well, or did you generate something particularly helpful? Let us know so we improve the sidebar, and implement more useful presets and features over time. -- GitHub Next 27 30 [?] 8 Replies 2 suggested answers * 4 replies Oldest Newest Top edited Loading [217] minimaxir Dec 1, 2021 I mean, it's not wrong. Screen Shot 2021-12-01 at 8 39 20 AM Ok, ok, that's cheating. But for fun I put some of my galaxy-brain AI generated code examples pre-Cortex to see what happens. Screen Shot 2021-12-01 at 8 49 52 AM Screen Shot 2021-12-01 at 8 53 17 AM Screen Shot 2021-12-01 at 8 54 34 AM Screen Shot 2021-12-01 at 8 55 28 AM tbh, better than expected. 9 18 2 replies @idan idan Dec 1, 2021 Wow, never thought to use this to explain regexes in plain english, mindblown.gif 17 @jonathankoren jonathankoren Dec 1, 2021 The explanation is wrong though. It's four alphanums, a dollar sign, and then three more alphanums. 5 [275] TimDaub Dec 1, 2021 This comment was deleted. 2 1 5 1 1 2 replies @ganeshkrishnan1 ganeshkrishnan1 Dec 1, 2021 This is not the place to discuss it. @TimDaub TimDaub Dec 1, 2021 makes sense Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment Category [?] Copilot Feedback Labels feedback wanted ANNOUNCEMENT 6 participants @irealva @idan @jonathankoren @minimaxir @TimDaub @ganeshkrishnan1 Insert Link Link Text [ ] URL [ ] Add Loading Loading Translated from {{ originalLanguageInEnglish }} Beta Was this translation helpful? Give Feedback Beta i beonyeogi doumi doesyeossnayo? pideubaeg jegong Beta Esta traducao foi util? De sua opiniao Beta ?Fue util esta traduccion? Envia tus comentarios An error occurred while translating this comment. Try again 1 1 1 1 1 [?] 1 1 1 * (c) 2021 GitHub, Inc. * Terms * Privacy * Security * Status * Docs * Contact GitHub * Pricing * API * Training * Blog * About You can't perform that action at this time. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.