Chapter 4. GitHub Copilot
In this chapter, we’re going to check out GitHub Copilot, which I’ll refer to as Copilot for short. It’s the big dog in the AI coding assistant world. People even call it a “killer application” of generative AI. This is primarily due to its advanced code suggestion, creation, and explanation capabilities, which significantly enhance developer productivity. By understanding and predicting coding patterns based on context, it not only saves time but also assists in writing more efficient and error-free code.
In this chapter, we’ll dive into the nitty-gritty of Copilot: how much it costs, how to set it up, and all the cool features it offers. And we’ll be real about its downsides too. Plus, I’ll toss in some handy tips to get the most out of it. We’re not stopping there: we’ll also see how Copilot is teaming up with other companies with the Copilot Partner Program. This chapter is all about seeing the full scope of what Copilot can do.
GitHub Copilot
Back in June 2021, Microsoft unveiled GitHub Copilot. GitHub’s CEO, Nat Friedman, described it in a blog post as an “AI pair programmer,” designed to speed up developers’ work by assisting them in completing tasks more efficiently.
Copilot is the result of a partnership between Microsoft and OpenAI. Initially, it harnessed a large language model named Codex, a variant of GPT-3 tailored for coding. Microsoft enhanced this LLM’s capabilities by integrating a new approach known as fill-in-the-middle (FIM), which ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access