Skip to content

Commit a5882a3

Browse files
YuuP!
1 parent 8b56596 commit a5882a3

File tree

3 files changed

+45
-7
lines changed

3 files changed

+45
-7
lines changed

Diff for: README.md

+30-6
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# README
33
This repo is put together to help me document, practice and show examples of how to use Copilot. Along the way, if I find authoritative content on the topic of Generative AI, I will list them here. All content is credited to its respective authors.
44

5-
Now, remember folks! "Copilot still needs a Pilot ... except for when you have AI managing AI"
5+
Now, remember folks! "Copilot still needs a Pilot" (C) 2023
66

77
## A bit of History
88
AI > ML > DL > GI
@@ -38,11 +38,28 @@ GitHub Copilot helps developers code faster, focus on solving bigger problems.
3838
- 88% feel more productive
3939
- 74% focus on more satisfying work
4040

41-
Use Cases
41+
### Use Cases
4242
* Find new solutions - Cycle through suggestions and discover a different path.
4343
* Solve big problems - Spend less time on boilerplate and repetitive code patterns and more time on building great software.
4444
* Explore new frameworks - Navigate unfamiliar languages, frameworks, and libraries with ease
4545

46+
### I as a Developer want to... so that...
47+
1. I want to write code faster so that I can focus on solving bigger problems
48+
2. I want to write code with fewer bugs so that I can focus on solving bigger problems
49+
3. I want to write code with fewer errors so that I can focus on solving bigger problems
50+
4. ... LOL. The above was written by my Copilot. I am not sure if I should be happy or sad.
51+
52+
### As a Developer
53+
1. You are asked to create a new App
54+
2. You are asked to create a new API
55+
3. You are asked to modify an existing application
56+
4. You are asked to fix a bug
57+
58+
Your next steps might be to gather requriements, work on a high level design, produce a POC or MVP. And when you start to write code, you may copy/paste, you may search and query for best results and code samples, etc. Copilot can help you do it all in one place.
59+
60+
### The Formula
61+
Let's say the scenario is: "I want to build a web app that connects to a sql database and has an todo item api and then I want to deploy this app to Azure". Imagine now, with [Copilot, Copilot Labs, Copilot-X, Copilot CLI] *or which ever combination or product term we may end up with* I can do all of that from one IDE.
62+
4663
## Copilot Supported IDEs
4764
Copilot supports the following IDEs:
4865

@@ -57,14 +74,22 @@ GitHub Copilot is powered by OpenAI Codex from https://openai.com/
5774
## Who can get GitHub Copilot
5875
1. GitHub Copilot can be managed through personal accounts with GitHub Copilot for Individuals
5976
2. Or through organization accounts with GitHub Copilot for Business
60-
3. You can get for Free if you are a: verified Student, Teacher, Maintainer of a popular open source project
77+
3. You can get it for Free if you are a verified Student, Teacher, or Maintainer of a popular open source project
78+
79+
## High level steps to get started
80+
1. Sign up with a GitHub account
81+
2. Purchase a Copilot license
82+
3. Active on a GitHub repo
83+
4. Install the extensions (Copilot and Copilot Labs)
84+
5. Sign up for Copilot-X
85+
6. Create your first code file and enter a comment. Use natural language
6186

6287
## Behind the Scenes
6388
- [Prompt Engine](https://github.com/microsoft/prompt-engine) - The Prompt Engine is a library for building natural language prompts for code generation. It is used by Copilot to generate prompts for code completion.
6489
- [Prompt Engineering](https://microsoft.github.io/prompt-engineering/) - The Prompt Engineering website is a collection of resources for building natural language prompts for code generation. It is used by Copilot to generate prompts for code completion.
6590

66-
## Applications as in tooling or others built ontop of the tech
67-
[AI managing AI? AutoGPT](https://autogpt.net/what-is-auto-gpt-and-why-do-we-care/)
91+
## Example Applications built ontop of the tech
92+
[AutoGPT](https://autogpt.net/what-is-auto-gpt-and-why-do-we-care/)
6893

6994
## Public Announcements
7095
[GitHub Copilot announcement in June 2021](https://github.blog/2021-06-29-introducing-github-copilot-ai-pair-programmer/)
@@ -75,7 +100,6 @@ GitHub Copilot is powered by OpenAI Codex from https://openai.com/
75100

76101
## Links and Resources
77102
* [Get Started](https://docs.github.com/en/copilot/getting-started-with-github-copilot)
78-
* [M365 and Copilot](https://blogs.microsoft.com/blog/2023/03/16/introducing-microsoft-365-copilot-your-copilot-for-work/)
79103
* [Azure OpenAI Service](https://learn.microsoft.com/en-us/azure/cognitive-services/openai/overview)
80104
* [Azure OpenAI Service Pricing](https://azure.microsoft.com/en-us/pricing/details/cognitive-services/openai-service/)
81105
* [Azure OpenAI Studio](https://oai.azure.com/)

Diff for: main.c

+14-1
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,24 @@
44

55
int main()
66
{
7-
printf("Hello World")
7+
printf("Hello World");
88
int a = 5;
99
int b = 6;
1010
int c = a + b;
1111
return 0;
1212
}
1313

14+
// create a function that returns a collection of people first names
15+
#include <stdio.h>
16+
17+
int main()
18+
{
19+
char *names[] = {"John", "Paul", "George", "Ringo"};
20+
for (int i = 0; i < 4; i++)
21+
{
22+
printf("%s", names[i]);
23+
}
24+
return 0;
25+
}
26+
1427
// Path: main.c

Diff for: main.cfc

+1
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ component {
33
return "Hello World";
44
}
55
}
6+

0 commit comments

Comments
 (0)