0% found this document useful (0 votes)
62 views

GLA - Getting Started With GitHub Copilot

This document discusses GitHub Copilot, an AI assistant created by GitHub, OpenAI, and Microsoft. It provides an overview of Copilot, including what generative AI is, how Copilot works, the languages and IDEs supported, and advantages like faster coding. The document also outlines an agenda for a hands-on session to use Copilot for Java programs and SQL queries.

Uploaded by

krishnarajs.krs1
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
62 views

GLA - Getting Started With GitHub Copilot

This document discusses GitHub Copilot, an AI assistant created by GitHub, OpenAI, and Microsoft. It provides an overview of Copilot, including what generative AI is, how Copilot works, the languages and IDEs supported, and advantages like faster coding. The document also outlines an agenda for a hands-on session to use Copilot for Java programs and SQL queries.

Uploaded by

krishnarajs.krs1
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 12

Getting started with

GitHub Copilot
Hands-on

Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Agenda
In this session, we will discuss:
● Git and GitHub
● Generative AI and OpenAI
● GitHub Copilot
● Installation of GitHub Copilot
● Chat GPT in Visual Studio Code
● Copilot Lab in VS Code
● Hands-on for Java programs
● Hands on for MySql queries

Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Introduction – GitHub Copilot
A generative AI model developed by GitHub, OpenAI, and Microsoft:

Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
What is Generative AI?
● Generative AI refers to a type of artificial intelligence model that is trained to generate new data that's
similar to the training data.
● Generative Modal example – GANs
● Application – Image, Text, music, dataset generation
● Tools – PyTorch, ChatGPT

Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
What is OpenAI?
● OpenAI is an artificial intelligence research lab of OpenAI LP
and its parent company OpenAI Inc. It was founded in
December 2015.
● Applications:
○ Generative Models
○ Reinforcement Learning
○ OpenAI GPT-3 API

Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
What is GitHub?
● The GIT full form is “Global Information Tracker”.
● Git is a distributed version control system (VCS) that was created by Linus Torvalds, the creator of the
Linux operating system kernel, in 2005:
○ Distributed Architecture
○ Parallel version
○ Maintains history
○ Collaboration and Conflict Resolution
○ Performance – fast & secure
○ Open Source
○ Integrations

GitHub is a web-based platform.

Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
What is GitHub Copilot?
● AI Developer Tool
● A generative AI model developed by GitHub, OpenAI, and Microsoft:
○ Sharp and intelligent Code Suggestions
○ Auto Completes codes
○ Code faster
○ Understands file type
○ Cloud Code understanding
○ Database understanding
○ IDE integration
○ Gives best suggestions

Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Languages and IDEs supported by GitHub Copilot
● Languages supported:
○ Python ○ Swift
○ JavaScript ○ Kotlin
○ TypeScript ○ Rust
○ Java ○ HTML/CSS
○ C# ○ SQL
○ C++ ○ Shell scripting languages
○ Go
○ Ruby
○ PHP

Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Languages and IDEs supported by GitHub Copilot
● IDEs supported

Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Advantages and Disadvantages
● Advantages are countless, including:
○ Faster code writing
○ Quick software development
○ Auto code completion
○ Quick suggestions
○ Wider language and IDE support

● But, there is a disadvantage too:


○ Might create incorrect code sometimes

Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Hands-on Session
● Installation of GitHub Copilot
● Using Copilot for Java
● Using Copilot for SQL
● Chat GPT in Visual Studio Code
● GitHub Copilot Lab

Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Summary
Here’s a brief recap:
● GitHub Copilot is an AI-based generative model
● Generative AI model is sued to generate new data based on real data.
● Installation and integration of GitHub Copilot and Visual Studio Code
● ChatGPT can be used in Visual Studio Code
● Copilot is used for writing Java programs efficiently and quickly
● Copilot is used for executing SQL queries

Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited

You might also like