Skip to content

Commit 532b51f

Browse files
authored
prompt to do a 1st draft of the new lesson 3
1 parent 3d0ee3c commit 532b51f

1 file changed

Lines changed: 77 additions & 0 deletions

File tree

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
# GitHub Copilot Coding Agent Prompt
2+
3+
This prompt is designed to be used with **GitHub Copilot Coding Agent** in the repository:
4+
👉 [Generative-AI-for-beginners-dotnet](https://github.com/microsoft/Generative-AI-for-beginners-dotnet/tree/main/03-CoreGenerativeAITechniques)
5+
6+
---
7+
8+
## Goal
9+
10+
Create a new lesson named **Lesson-03.1-CoreGenerativeAITechniques-runapp**, which is a modernized copy of **Lesson 03**, using the new **`.NET 10 run <file>.cs`** feature.
11+
The new lesson will demonstrate the same concepts as Lesson 03 but with simplified **single-file C# demos**.
12+
13+
---
14+
15+
## Tasks
16+
17+
### 1. Create a new lesson folder
18+
- Path: `03.1-CoreGenerativeAITechniques-runapp`
19+
- Copy the structure of Lesson 03 (`/src` + Markdown).
20+
21+
### 2. Update the `/src` folder with single-file apps
22+
- For each demo, create a `.cs` file runnable via `.NET run file.cs`.
23+
- Suggested naming:
24+
- `01-llm-completion.cs`
25+
- `02-chat-flow.cs`
26+
- `03-functions-and-plugins.cs`
27+
- `04-retrieval-augmented-generation.cs`
28+
- Add any extra demos as needed (e.g., `05-structured-output.cs`, `06-multimodal.cs`).
29+
- Remove unnecessary boilerplate — use top-level statements.
30+
31+
### 3. Update Markdown files
32+
- Base them on Lesson 03’s Markdown.
33+
- Replace old sample code with references to the new `.cs` files.
34+
- Embed code snippets directly from the `.cs` files.
35+
- Add instructions:
36+
37+
```bash
38+
dotnet run 01-llm-completion.cs
39+
```
40+
41+
- Clearly mention that `.NET 10 SDK` is required.
42+
43+
### 4. Organize Lesson 03.x as sub-lessons (new TOC)
44+
Create a `README.md` in `03.0-CoreGenerativeAITechniques-Overview` with a table of contents like this:
45+
46+
- **Lesson 03.0 – Core Generative AI Techniques (Overview)**
47+
*High-level intro + TOC for all 3.x lessons.*
48+
- **Lesson 03.1 – Text-based Techniques (with `.NET run app.cs`)**
49+
- LLM Completions
50+
- Chat Flows
51+
- Prompt Engineering Patterns
52+
- **Lesson 03.2 – Extending Models with Context**
53+
- Functions and Plugins
54+
- Retrieval Augmented Generation (RAG)
55+
- Structured Outputs / JSON Mode
56+
- **Lesson 03.3 – Beyond Text**
57+
- Multi-modal Generative AI (text + vision)
58+
- Optional: Speech-to-text-to-LLM
59+
- **Lesson 03.4 – Intro to Agents**
60+
- Basic agent loop (reasoning + actions)
61+
- Teaser for Lesson 04
62+
63+
### 5. Polish
64+
- Ensure code compiles with `.NET 10`.
65+
- Ensure Markdown lessons reference the new samples correctly.
66+
- Add a note at the top of Lesson 03.1:
67+
68+
> 💡 *This lesson uses the new `.NET run <file>.cs` feature available in .NET 10. If you’re on an earlier version, please refer to Lesson 03.*
69+
70+
---
71+
72+
## ✅ Expected Output
73+
- A new folder `03.1-CoreGenerativeAITechniques-runapp` with:
74+
- Single-file `.cs` demos runnable with `.NET run`.
75+
- Updated Markdown files embedding the new code.
76+
- Clear learner instructions.
77+
- A reorganized **Lesson 03.x Table of Contents** for clarity and growth.

0 commit comments

Comments
 (0)