Skip to content

Commit 038e01d

Browse files
authored
Merge pull request #51049 from MicrosoftDocs/NEW-forging-voices-from-data
New forging voices from data -> main -- ASAP
2 parents 903eb62 + 077ac13 commit 038e01d

14 files changed

+536
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
### YamlMime:ModuleUnit
2+
uid: learn.philanthropies.forging-voices-from-data.introduction
3+
title: Introduction
4+
metadata:
5+
title: Introduction
6+
description: "In this unit, learners explore the full lifecycle of designing, customizing, and deploying AI-powered dialogue systems using Azure OpenAI Studio. They learn to select models, fine-tune them with custom data, personalize tone, and refine outputs through real-time testing. Keywords: Azure OpenAI Studio, dialogue systems, GPT-4, custom AI assistants, AI fine-tuning."
7+
8+
ms.date: 4/28/2025
9+
author: kprks
10+
ms.author: kbarreto
11+
ms.topic: unit
12+
13+
durationInMinutes: 5
14+
content: |
15+
[!include[](includes/1-introduction.md)]
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
### YamlMime:ModuleUnit
2+
uid: learn.philanthropies.forging-voices-from-data.azure-openai-studio-for-dialogue-systems
3+
title: Azure OpenAI Studio for dialogue systems
4+
metadata:
5+
title: Azure OpenAI Studio for Dialogue Systems
6+
description: "In this unit, learners explore the features and capabilities of Azure OpenAI Studio, including model selection, custom training, real-time testing, and multi-channel deployment. They learn how the platform supports scalable, secure development of AI-powered dialogue systems across industries. Keywords: Azure OpenAI Studio, dialogue system development, GPT-4, Codex, real-time AI testing, multi-channel deployment."
7+
8+
ms.date: 4/28/2025
9+
author: kprks
10+
ms.author: kbarreto
11+
ms.topic: unit
12+
13+
durationInMinutes: 10
14+
content: |
15+
[!include[](includes/2-azure-openai-studio-for-dialogue-systems.md)]
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
### YamlMime:ModuleUnit
2+
uid: learn.philanthropies.forging-voices-from-data.build-and-train-custom-ai-dialogue-models
3+
title: Build and train custom AI dialogue models
4+
metadata:
5+
title: Build and Train Custom AI Dialogue Models
6+
description: "In this unit, learners walk through the process of building and training AI-powered dialogue models using Azure OpenAI Studio. Topics include setting up an environment, creating deployments, fine-tuning models with custom data, personalizing AI behavior, and iterative testing. Keywords: Azure OpenAI Studio, dialogue model creation, AI fine-tuning, chatbot development, prompt engineering, custom AI systems."
7+
8+
ms.date: 4/28/2025
9+
author: kprks
10+
ms.author: kbarreto
11+
ms.topic: unit
12+
13+
durationInMinutes: 10
14+
content: |
15+
[!include[](includes/3-build-and-train-custom-ai-dialogue-models.md)]
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
### YamlMime:ModuleUnit
2+
uid: learn.philanthropies.forging-voices-from-data.build-dialogue-systems-that-feel-human
3+
title: Build dialogue systems that feel human
4+
metadata:
5+
title: Build Dialogue Systems That Feel Human
6+
description: "In this unit, learners explore advanced techniques for making dialogue systems more human-centered and engaging. Topics include maintaining conversational context, personalizing interactions, incorporating emotional nuance, and using feedback loops to refine user experience. Keywords: AI dialogue systems, personalization, conversational AI, emotional intelligence, context retention, Azure OpenAI Studio."
7+
8+
ms.date: 4/28/2025
9+
author: kprks
10+
ms.author: kbarreto
11+
ms.topic: unit
12+
13+
durationInMinutes: 10
14+
content: |
15+
[!include[](includes/4-build-dialogue-systems-that-feel-human.md)]
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
### YamlMime:ModuleUnit
2+
uid: learn.philanthropies.forging-voices-from-data.exercise
3+
title: Train and customize a dialogue model in Azure OpenAI Studio
4+
metadata:
5+
title: Exercise - Train and Customize a Dialogue Model in Azure OpenAI Studio
6+
description: "In this unit, learners practice enhancing a chatbot by uploading a custom dataset, configure system prompts for tone, and simulate conversational memory using Azure OpenAI Studio. They test and refine the model's responses to create a more domain-specific and engaging AI assistant. Keywords: Azure OpenAI Studio, chatbot customization, prompt engineering, fine-tuning AI models, dialogue memory simulation."
7+
8+
ms.date: 4/28/2025
9+
author: kprks
10+
ms.author: kbarreto
11+
ms.topic: unit
12+
13+
durationInMinutes: 20
14+
content: |
15+
[!include[](includes/5-exercise.md)]
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
### YamlMime:ModuleUnit
2+
uid: learn.philanthropies.forging-voices-from-data.knowledge-check
3+
4+
title: Knowledge check
5+
metadata:
6+
title: Knowledge Check
7+
description: "Knowledge check for the module."
8+
ms.date: 3/20/2025
9+
author: kprks
10+
ms.author: kbarreto
11+
ms.topic: unit
12+
13+
14+
durationInMinutes: 10
15+
16+
17+
content: |
18+
quiz:
19+
questions:
20+
- content: "What is Azure OpenAI Studio primarily used for?"
21+
choices:
22+
- content: "To build, customize, and deploy AI-powered language models and dialogue systems"
23+
isCorrect: true
24+
explanation: "Azure OpenAI Studio provides tools for designing, testing, and refining AI-driven applications using models like GPT."
25+
- content: "To design 3D characters for video games"
26+
isCorrect: false
27+
explanation: "Azure OpenAI Studio is focused on text-based AI, not 3D asset creation."
28+
- content: "To manage web hosting and domain registration"
29+
isCorrect: false
30+
explanation: "Web hosting is unrelated to Azure OpenAI Studio's dialogue system capabilities."
31+
32+
- content: "What is one key benefit of using Azure for deploying AI-powered chatbots?"
33+
choices:
34+
- content: "It allows scalable deployments and seamless integration with other Microsoft services"
35+
isCorrect: true
36+
explanation: "Azure's infrastructure supports enterprise-scale deployments and offers integration with services like Power Automate and Cognitive Services."
37+
- content: "It automatically animates characters during dialogue"
38+
isCorrect: false
39+
explanation: "Azure OpenAI Studio focuses on language models, not animation or motion graphics."
40+
- content: "It writes legal contracts from PDF templates"
41+
isCorrect: false
42+
explanation: "While AI can generate text, legal contract automation is not the platform's core use case."
43+
44+
- content: "How can users tailor a dialogue model to a specific domain?"
45+
choices:
46+
- content: "By uploading custom training data such as FAQs, chat logs, or policy documents"
47+
isCorrect: true
48+
explanation: "Custom data helps fine-tune models so responses are aligned with specific topics, tone, or terminology."
49+
- content: "By assigning the chatbot a random name and using default prompts"
50+
isCorrect: false
51+
explanation: "Personalization and performance come from tailored prompts and training—not randomization."
52+
- content: "By selecting a visual theme in the Azure dashboard"
53+
isCorrect: false
54+
explanation: "Azure OpenAI Studio does not use visual themes—it focuses on natural language input and output."
55+
56+
- content: "Why is it important to customize system prompts when building a chatbot?"
57+
choices:
58+
- content: "To shape the assistant's tone, behavior, and response style"
59+
isCorrect: true
60+
explanation: "System prompts provide instruction to guide the model's personality and communication style."
61+
- content: "To allow the model to design its own data sets"
62+
isCorrect: false
63+
explanation: "The model doesn't create training data on its own—it learns from what you provide."
64+
- content: "To automatically translate dialogue into different languages"
65+
isCorrect: false
66+
explanation: "Prompt customization controls behavior—not translation, which would require additional services."
67+
68+
- content: "What does real-time testing in Azure OpenAI Studio allow you to do?"
69+
choices:
70+
- content: "Evaluate and refine chatbot responses before deployment"
71+
isCorrect: true
72+
explanation: "Real-time testing lets developers simulate interactions, identify gaps, and improve performance."
73+
- content: "Create animated facial expressions for each message"
74+
isCorrect: false
75+
explanation: "Facial animation is not part of Azure OpenAI Studio's functionality."
76+
- content: "Publish chatbots directly to the Apple App Store"
77+
isCorrect: false
78+
explanation: "Azure enables backend deployment—you'll need other platforms for app distribution."
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
### YamlMime:ModuleUnit
2+
uid: learn.philanthropies.forging-voices-from-data.summary
3+
title: Summary
4+
metadata:
5+
title: Summary
6+
description: "In this unit, learners review the key skills developed for building, training, and refining AI-powered dialogue systems using Azure OpenAI Studio. They summarize the creation process from account setup to prompt customization, and explore techniques for making conversations more human, coherent, and user-centric. Keywords: Azure OpenAI Studio, dialogue system development, AI chatbot fine-tuning, conversational AI, prompt engineering, personalized dialogue systems."
7+
8+
ms.date: 4/28/2025
9+
author: kprks
10+
ms.author: kbarreto
11+
ms.topic: unit
12+
13+
durationInMinutes: 5
14+
content: |
15+
[!include[](includes/7-summary.md)]
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
In this session, learners will explore the full lifecycle of designing, customizing, and deploying AI-powered dialogue systems using **Azure OpenAI Studio**. Building on their foundational understanding of conversational AI, participants will learn how to select models, train them with custom data, and refine their outputs through real-time testing.
2+
3+
The session covers not only the technical steps involved in setting up a dialogue system but also the creative techniques that bring conversations to life—like personalization, tone control, and contextual memory. By the end, learners will have hands-on knowledge of how to create intelligent, human-like assistants that can scale across digital platforms.
4+
5+
## Scenario
6+
7+
Imagine you’ve been asked to develop a virtual assistant for a university’s advising department. The assistant needs to help students find answers about academic policies, course schedules, and campus resources.
8+
9+
Using **Azure OpenAI Studio**, you:
10+
- Set up a custom instance and select a language model suited to the assistant’s scope.
11+
- Upload FAQs and policy documents, training the model to reflect the university’s tone and terminology.
12+
- Customize system prompts to match the university’s professional yet welcoming voice.
13+
- Monitor interactions as students use the assistant, refining its responses based on feedback to improve clarity and engagement.
14+
15+
With each iteration, you improve the assistant’s ability to serve students effectively.
16+
17+
## What will we be doing?
18+
19+
We’ll walk through the end-to-end process of designing and training a dialogue model in **Azure OpenAI Studio**:
20+
21+
- **Explore**: What is Azure OpenAI Studio, and how can it be used to create powerful dialogue systems?
22+
- **Select**: How do you choose between GPT-3, GPT-4, and Codex for your use case?
23+
- **Train**: How can you fine-tune a model using custom datasets and feedback loops?
24+
- **Customize**: What techniques can make dialogue feel more personal, human, and engaging?
25+
- **Deploy**: How do you test, evaluate, and improve your assistant across real-world scenarios?
26+
27+
28+
## What is the main goal?
29+
30+
By the end of this session, learners will be able to:
31+
- Build and train custom dialogue systems using **Azure OpenAI Studio**
32+
- Personalize responses and maintain context across conversations
33+
- Continuously refine and improve their systems for real-world deployment
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
Azure OpenAI Studio is a cloud-based platform that lets you build, customize, and deploy AI-powered dialogue systems using cutting-edge language models. With its user-friendly tools and connection to Microsoft Azure, it makes creating intelligent, scalable applications easier for both technical and non-technical teams.
2+
3+
## What is Azure OpenAI Studio?
4+
5+
Azure OpenAI Studio gives you an interactive space to work with models like GPT-3, GPT-4, and Codex. You can quickly design, test, and launch AI-powered applications that understand and generate human-like language.
6+
7+
**Key features:**
8+
- **Prompt playground** — Test prompts live and see how the model responds.
9+
- **Custom deployments** — Create and manage model endpoints for real apps.
10+
- **Secure infrastructure** — Built on Azure, offering top-level security and compliance.
11+
12+
**Why use Azure?**
13+
- **Scalable** — Easily handle thousands of users at once.
14+
- **Integrated** — Connect smoothly with other Azure services (like Logic Apps or Power Automate).
15+
- **Real-time testing** — Check and improve model behavior right inside the Studio.
16+
17+
Azure OpenAI Studio helps you move smoothly from idea to production, all in one place.
18+
19+
## What can you do with Azure OpenAI Studio?
20+
21+
Azure OpenAI Studio offers powerful tools to tailor models to your project and audience.
22+
23+
**Model options:**
24+
- **GPT-3 / GPT-4** — Great for natural conversations, chatbots, and content generation.
25+
- **Codex** — Perfect for code generation or developer-focused tools.
26+
27+
**Custom training:**
28+
- Upload your own datasets (like FAQs or customer chats).
29+
- Fine-tune the model for better, domain-specific results.
30+
- Use prompt engineering to adjust tone, style, or behavior.
31+
32+
**Easy integrations:**
33+
- **Azure Cognitive Services** — Add speech-to-text, sentiment analysis, or translation.
34+
- **Power Automate** — Build workflows triggered by chat inputs.
35+
- **Logic Apps** — Connect to databases, CRMs, or APIs without heavy coding.
36+
37+
**Deploy anywhere:**
38+
- Launch chatbots on websites, mobile apps, Microsoft Teams, or social media.
39+
- Build once, deploy across all platforms for a consistent experience.
40+
41+
## Real-time testing and feedback
42+
43+
Azure OpenAI Studio makes it simple to test your system as you build.
44+
45+
**How to Test:**
46+
- Use the chat playground to simulate real conversations.
47+
- Try different inputs and tweak prompts to improve responses.
48+
- Check tone, clarity, and accuracy on the fly.
49+
50+
**Why It Matters:**
51+
- Quickly spot gaps or confusing outputs.
52+
- Refine the dialogue flow without rebuilding or redeploying.
53+
- Create better user experiences through continuous improvement.
54+
55+
With its real-time tools, Azure OpenAI Studio supports a fast, flexible development loop — helping you craft smarter, more human-like dialogue systems.
Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
Creating a custom dialogue system is about more than just picking a model — it’s about careful setup, thoughtful training, and ongoing improvement. In this lesson, you walk through **five essential steps** for building and fine-tuning a functional AI-powered assistant using Azure OpenAI Studio. Each step builds technical skill while helping you shape AI behavior for your unique use case.
2+
3+
## Step 1: Set up your Azure OpenAI Studio account
4+
5+
Before you build, you need the right environment.
6+
7+
1. **Create an Azure account**
8+
Visit [azure.microsoft.com](https://azure.microsoft.com) to sign up or log in. An active subscription is required for Azure OpenAI resources.
9+
10+
2. **Access Azure OpenAI Studio**
11+
Go to [Azure OpenAI Studio](https://oai.azure.com/) and confirm that OpenAI access has been approved for your account or organization.
12+
13+
3. **Set up an OpenAI resource**
14+
In the Azure Portal, create a new OpenAI resource. Choose a region (like East US or West Europe) that aligns with your compliance needs.
15+
16+
**Why it matters:** This setup ensures you’re working in a secure, scalable environment that can handle large language models.
17+
18+
19+
## Step 2: Create a new dialogue model
20+
21+
With your setup complete, it’s time to build.
22+
23+
1. **Explore the Azure OpenAI Studio dashboard**
24+
This dashboard gives you access to models, playgrounds, deployments, and prompt configurations.
25+
26+
2. **Start a new project**
27+
Create a new deployment and select the right model (for example, GPT-3 for general tasks or GPT-4 for more advanced dialogue).
28+
29+
3. **Define your model’s purpose**
30+
Clarify the assistant’s role:
31+
Will it help users schedule meetings? Answer policy questions? Act as a digital concierge?
32+
33+
**Why it matters:** A clear scope helps you design focused data inputs and prompt strategies.
34+
35+
## Step 3: Train the model with custom data
36+
37+
Training on your own data fine-tunes the assistant to your needs.
38+
39+
1. **Upload relevant data**
40+
Provide chat logs, FAQs, product details, or service transcripts — real-world examples help the model learn.
41+
42+
2. **Fine-tune with example pairs**
43+
Use prompt engineering or fine-tuning to reinforce the patterns you want. Provide both user input and ideal output examples.
44+
45+
3. **Apply supervised and active learning**
46+
Label outputs, collect feedback, and retrain as needed to improve accuracy over time.
47+
48+
**Why it matters:** This step ensures your assistant isn’t just smart — it’s smart for your audience.
49+
50+
## Step 4: Customize responses and behavior
51+
52+
Shape your assistant’s tone, style, and personality.
53+
54+
1. **Set a system prompt**
55+
Provide instructions that guide all responses, like:
56+
*"You are a friendly assistant who helps answer questions about university admissions."*
57+
58+
2. **Manage context and memory**
59+
Configure how the model handles follow-up questions. Use prompt chaining or summarized context to simulate conversation memory.
60+
61+
3. **Add dynamic variables**
62+
Use placeholders like `{user_name}` or `{appointment_time}` to personalize replies.
63+
64+
**Why it matters:** Customization makes your assistant not just functional, but engaging and on-brand.
65+
66+
## Step 5: Test, evaluate, and iterate
67+
68+
Great dialogue systems are built through continuous refinement.
69+
70+
1. **Run simulated scenarios**
71+
Use the Azure chat playground to test real-world user cases. Identify strong points and gaps.
72+
73+
2. **Collect and analyze feedback**
74+
Monitor interactions to spot confusion or drop-offs. Gather direct feedback when possible.
75+
76+
3. **Refine and redeploy regularly**
77+
Update prompts, retrain on new data, and redeploy improvements to keep your system sharp.
78+
79+
**Why it matters:** Iteration is the key to long-term performance and reliability.
80+
81+
By following these five steps, you move from **concept to custom-built AI assistant** — shaping not just what your system can do, but how well it connects with the people who use it.

0 commit comments

Comments
 (0)