11. 什麼是 GitHub Copilot
GitHub Copilot is an AI pair
programmer that offers
autocomplete-style suggestions
as you code
About GitHub Copilot for Individuals - GitHub Docs
@Alan Tsai 的學習筆記 13
12. 什麼是 GitHub Copilot
You can receive suggestions from GitHub
Copilot either by starting to write the
code you want to use, or by writing a
natural language comment describing
what you want the code to do
About GitHub Copilot for Individuals - GitHub Docs
@Alan Tsai 的學習筆記 14
13. 為什麼 GitHub Copilot
Research: quantifying GitHub Copilot’s impact on developer productivity and happiness
2022-09-07
@Alan Tsai 的學習筆記 15
14. 為什麼 GitHub Copilot
The economic impact of the AI-powered developer lifecycle and lessons from GitHub Copilot
2023-06-27
@Alan Tsai 的學習筆記 16
15. 為什麼 GitHub Copilot
Survey reveals AI’s impact on the developer experience
2023-06-13
92%
U.S.-based developers
using AI coding tools
70%
better code quality
completion time
57%
believe that AI
could help them upskill
@Alan Tsai 的學習筆記 17
26. Best Practice - 3S
▪ Single Responsibility
▪ One line one thing
▪ Specific Prompt
▪ Variable name
▪ userId vs Id
▪ Give example
▪ Constraint
package, style, etc
▪ Short Response
▪ Guide response
▪ Trust but verify
@Alan Tsai 的學習筆記 28
44. Train your model
Meta’s first 65B LLaMa model training
took 1,022,362 hours on 2048 NVidia
A100-80GB’s (about $4/hr on cloud
platforms) costing approximately $4M
@Alan Tsai 的學習筆記 46
48. What is Copilot
• The availability of LLMs has led to the emergence of a new software
application, often referred to as a copilot.
• Copilots are often integrated into other applications and provide a
way for users to get help with common tasks from a generative AI
model.
• Copilots are based on a common architecture, so developers can
build custom copilots for various business-specific applications and
services.
@Alan Tsai 的學習筆記 50
57. Schillace Laws
Schillace Laws of Semantic AI
Don’t write code if the model can do it;
the model will get better, but the code won't
@Alan Tsai 的學習筆記 59
58. Resource
• Microsoft Ignite: Generative AI with Azure OpenAI
• A 12 Lesson course teaching everything you need to know to start
building Generative AI applications
@Alan Tsai 的學習筆記 60