Skip to content

Commit fbdc8ec

Browse files
committed
Small fixes in lessons 1, 2, and 4
1 parent c6fadee commit fbdc8ec

File tree

4 files changed

+27
-23
lines changed

4 files changed

+27
-23
lines changed
Loading

01-IntroToGenAI/readme.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Getting Started with AI Development Tools
1+
# Lesson 1: Getting Started with AI Development Tools
22

3-
Refresh your generative AI knowledge and understand the .NET tooling available to help you to develop generative AI applications.
3+
*Refresh your generative AI knowledge and understand the .NET tooling available to help you to develop generative AI applications.*
44

55
---
66

@@ -18,7 +18,7 @@ Refresh your generative AI knowledge and understand the .NET tooling available t
1818

1919
---
2020

21-
## Lesson 1 - Generative AI Fundamentals for .NET
21+
## Generative AI Fundamentals for .NET
2222

2323
Before we dive in to some code, let's take a minute to review some generative AI (GenAI) concepts. In this lesson, **Generative AI Fundamentals for .NET**, we'll refresh some fundamental GenAI concepts so you can understand why certain things are done like they are. And we'll introduce the tooling and SDKs you'll use to build apps, like **MEAI** (Microsoft.Extensions.AI), **Semantic Kernel**, and the **AI Toolkit Extension for VS Code**.
2424

@@ -159,4 +159,4 @@ In the next chapters, we'll explore these scenarios in detail, providing hands-o
159159

160160
Next up, we'll get your development environment setup! So you'll be ready to dive into the world of generative AI with .NET!
161161

162-
👉 [Set up your AI development environment](/02-SettingUp.NETDev/README.md)
162+
[Set up your AI development environment](/02-SettingUp.NETDev/README.md)

02-SettingUp.NETDev/readme.md

+10-7
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# Setting Up the Development Environment for This Course
1+
# Lesson 2: Setting Up the Development Environment for This Course
22

3-
This lesson will guide you through setting up your development environment for this course. To ensure your success we've prepared a devcontainer configuration that will provide all the tooling you need to complete the course. You can run the devcontainer in GitHub Codespaces (recommended) or locally on your machine. And we also demonstrate how to set up your GitHub access tokens to interact with GitHub Models.
3+
*This lesson will guide you through setting up your development environment for this course. To ensure your success we've prepared a devcontainer configuration that will provide all the tooling you need to complete the course. You can run the devcontainer in GitHub Codespaces (recommended) or locally on your machine. And we also demonstrate how to set up your GitHub access tokens to interact with GitHub Models.*
44

5-
If you rather not use GitHub Models to interact with LLMs, we have you covered there too with guides to setup Azure OpenAI and Ollama.
5+
We have you covered with guides to setup Azure OpenAI and Ollama, if desired.
66

77
---
88

@@ -38,9 +38,9 @@ Here's a quick rundown of the services:
3838
- **Azure OpenAI**: A paid service that provides access to a wide range of AI models. It includes all of the benefits that you'd come to expect from Azure include robust security and scalability. This is a great option for this course if you already have access to an Azure OpenAI subscription.
3939
- **Ollama**: Ollama allows you to run AI models locally on your machine or within a Codespace or devcontainer for free. It's a great option if you prefer to run the models locally, but it is slower than the cloud-based options.
4040

41-
👉 GitHub Models right for you? Follow the rest of this document.
42-
👉 Azure OpenAI have your eye? [This is the document for you](getting-started-azure-openai.md).
43-
👉 Ollama your choice? [This guide has the info you need](getting-started-ollama.md).
41+
> If **GitHub Models** is your choice, follow the rest of this document to set up your development environment with GitHub Models.
42+
> - **Azure OpenAI** have your eye? [This is the document for you](getting-started-azure-openai.md).
43+
> - **Ollama** your choice? [This guide has the info you need](getting-started-ollama.md).
4444
4545
## Learn and test AI models with GitHub Models
4646

@@ -141,11 +141,14 @@ In this lesson, you learned how to set up your development environment for the r
141141
142142
### Additional Resources
143143
144+
- Test this guide with other LLMs orquestrators!
145+
- [Azure OpenAI](getting-started-azure-openai.md)
146+
- [Ollama](getting-started-ollama.md)
144147
- [GitHub Codespaces Documentation](https://docs.github.com/en/codespaces)
145148
- [GitHub Models Documentation](https://docs.github.com/en/github-models/prototyping-with-ai-models)
146149
147150
## Next Steps
148151
149152
Next, we'll explore how to create your first AI application! 🚀
150153

151-
👉 [Core Generative AI Techniques](../03-CoreGenerativeAITechniques/readme.md)
154+
[Core Generative AI Techniques](../03-CoreGenerativeAITechniques/readme.md)

04-Practical.NETGenAISamples/readme.md

+13-12
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@
1515

1616
**Index**
1717

18-
1. [eShopLite Demos](#intro-video)
18+
1. [Intro Video](#intro-video)
19+
1. [eShopLite Demos](#eshoplite-demos)
20+
- [eShopLite with Semantic Search](#eshoplite-with-semantic-search)
21+
- [eShopLite with Realtime Analysis](#eshoplite-with-realtime-analysis)
1922
1. [Chat with your Data](#understanding-github-codespaces)
2023
1. [Creative Writer](#pre-flight-check-setting-up-github-access-tokens)
2124
1. [Conclusions and Resources](#conclusions-and-resources)
@@ -40,8 +43,6 @@ The first demo, we show how to use the Semantic Kernel to enhance the search cap
4043

4144
### eShopLite with Semantic Search
4245

43-
![Video thumbnail for eShopLite with Semantic Search](./images/eshoplite-semantic-search.png)
44-
4546
In eShopLite with Semantic Search, we use the Semantic Kernel to enhance the search capabilities of the e-commerce application. Semantic Kernel auxiliate us to create a more robust search engine that can understand the context of the user's queries and provide more accurate results. For example, if a user searches for "do you have something for cooking", the search engine can understand that the user is looking for kitchenware and show the most relevant products, in context of our sample, it returns Camping Cookware.
4647

4748
![Image demonstrating the search capabilities in eShopLite](./images/search-eshoplite.png)
@@ -202,7 +203,7 @@ try
202203
}
203204
```
204205

205-
With the code above, we generate the embedding for the search query, search the vector database for the most similar product, and get a response message using the found product information. Help the user find the products they need more easily, leading to a better shopping experience and increased sales. Moreover, as generative AI evolves, we need some telemetry and monitoring to understand the user's behavior and improve the search engine, this is where Azure Application Insights and .NET Aspire come in.
206+
With the code above, we generate the embedding for the search query, search the vector database for the most similar product, and get a response message using the found product information. Helping the user find the products they need more easily, leading to a better shopping experience and increased sales. Moreover, as generative AI evolves, we need some telemetry and monitoring to understand the user's behavior and improve the search engine, this is where Azure Application Insights and .NET Aspire come in.
206207

207208
![Image demonstrating the .NET Aspire tracing capabilities](./images/aspire-tracing-eshoplite.png)
208209

@@ -216,8 +217,6 @@ Application Insights provides a comprehensive set of telemetry data, helping us
216217
217218
### eShopLite with Realtime Analysis
218219

219-
![Video thumbnail for eShopLite with Realtime Analysis](./images/eshoplite-realtime.png)
220-
221220
In eShopLite with Realtime Analysis, we use the Realtime audio capabilities of GPT-4o to analyze the conversations between the customer and the chatbot, providing a more personalized and engaging experience. For example, if a customer asks for a product recommendation, the chatbot can analyze the customer's request in real-time and provide a more accurate and relevant response.
222221

223222
![Image demonstrating the Realtime Analysis in eShopLite](./images/realtime-analysis-eshoplite.gif)
@@ -286,9 +285,6 @@ See a local demo of the feature as File Search in action:
286285

287286
## Chat with your Data
288287

289-
![Video thumbnail for Chat with your Data](./images/chat-with-your-data-video.png)
290-
291-
292288
Do you want to chat with your data? In this demo, we'll use the Chat with your Data application to generate a conversation with the user's data, using a simple interface to upload a file and extract insights from it.
293289

294290
![Image demonstrating the Chat with your Data application](./images/chat-with-your-data.png)
@@ -302,13 +298,18 @@ Do you want to chat with your data? In this demo, we'll use the Chat with your D
302298

303299
## Creative Writer Agent
304300

305-
![Video thumbnail for Creative Writer Agent](./images/creative-writer-agent-video.png)
306-
307301
Agents are a big topic in the current AI landscape, and to demonstrate their capabilities, we'll use the Creative Writer Agent, a tool that can generate creative and engaging text based on the user's input, helping to write researched, specific, and engaging content.
308302

309303
![Image demonstrating the Creative Writer Agent](./images/creative-writer-agent.png)
310304

311-
This AI application is composed of four main components: Researcher, Marketing, Writer, and Editor. The Researcher component is responsible for understanding context, gathering information with a Bing search, and then summarizing the information. The Marketing component is responsible for understanding the user's intent, formulate queries, and retrieve information from the Vector DB. The Writer component is responsible for gathering the information from the other components and produce the article, while the Editor component is responsible for reviewing the article, providing feedback, it decides if the article is ready to be published or not. All of this behavior is orchestrated by Semantic Kernel, Microsoft AI Extension, and .NET Aspire.
305+
This solution centers on four dedicated modules that combine to generate high-quality content:
306+
307+
- Researcher: Leverages Bing search to gather context, topics, and data, then concisely summarizes it.
308+
- Marketing: Interprets user intent, constructs relevant questions, and taps into the Vector DB for precise results.
309+
- Writer: Synthesizes findings from Researcher and Marketing, producing a cohesive writing of the article.
310+
- Editor: Assesses the draft, offers corrections, and decides whether its publication-ready.
311+
312+
The workflow integrates relevant data, effective messaging, and review, being orchestrated by Semantic Kernel, Microsoft AI Extension, and .NET Aspire.
312313

313314
![Image demonstrating the Creative Writer Agent architecture](./images/creative-writer-agent-architecture.png)
314315

0 commit comments

Comments
 (0)