Skip to content

Commit ad94b10

Browse files
committed
add testing to demo app (June 2025 delivery)
1 parent bea424d commit ad94b10

37 files changed

+16883
-1155
lines changed

.claude/settings.local.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,12 @@
2323
"Bash(cp:*)",
2424
"Bash(git reset:*)",
2525
"Bash(git config:*)",
26-
"Bash(git lfs:*)"
26+
"Bash(git lfs:*)",
27+
"Bash(npm install:*)",
28+
"Bash(npm test:*)",
29+
"Bash(node:*)",
30+
"Bash(npm run test:unit:*)",
31+
"Bash(npx jest:*)"
2732
],
2833
"deny": []
2934
}

.cursorignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Add directories or file patterns to ignore during indexing (e.g. foo/ or *.csv)

.env.example

Lines changed: 42 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,45 @@
11
# =============================================================================
2-
# Azure AI Services Configuration - AI-900 Course
3-
# EXAMPLE FILE FOR LEARNERS - Replace with your actual values
2+
# Azure AI Services Configuration for AI-900 Demos and Tests
43
# =============================================================================
54

6-
# Azure AI Services Multi-Service (Primary - use this for most demos)
7-
AI_SERVICES_ENDPOINT=https://YOUR_REGION.api.cognitive.microsoft.com/
8-
AI_SERVICES_KEY=YOUR_AI_SERVICES_KEY_HERE
9-
10-
# Azure OpenAI Service
11-
AZURE_OPENAI_ENDPOINT=https://YOUR_OPENAI_RESOURCE_NAME.openai.azure.com/
12-
AZURE_OPENAI_KEY=YOUR_OPENAI_KEY_HERE
13-
14-
# Speech Services
15-
SPEECH_SERVICE_ENDPOINT=https://YOUR_REGION.api.cognitive.microsoft.com/
16-
SPEECH_SERVICE_KEY=YOUR_SPEECH_KEY_HERE
17-
18-
# Language Service
19-
LANGUAGE_SERVICE_ENDPOINT=https://YOUR_REGION.api.cognitive.microsoft.com/
20-
LANGUAGE_SERVICE_KEY=YOUR_LANGUAGE_KEY_HERE
21-
22-
# Computer Vision Service
23-
COMPUTER_VISION_ENDPOINT=https://YOUR_REGION.api.cognitive.microsoft.com/
24-
COMPUTER_VISION_KEY=YOUR_COMPUTER_VISION_KEY_HERE
25-
26-
# Document Intelligence Service
27-
DOCUMENT_INTELLIGENCE_ENDPOINT=https://YOUR_REGION.api.cognitive.microsoft.com/
28-
DOCUMENT_INTELLIGENCE_KEY=YOUR_DOCUMENT_INTELLIGENCE_KEY_HERE
29-
30-
# Content Safety Service
31-
CONTENT_SAFETY_ENDPOINT=https://YOUR_REGION.api.cognitive.microsoft.com/
32-
CONTENT_SAFETY_KEY=YOUR_CONTENT_SAFETY_KEY_HERE
33-
34-
# Custom Vision Services
35-
CUSTOM_VISION_TRAINING_ENDPOINT=https://YOUR_REGION.api.cognitive.microsoft.com/
36-
CUSTOM_VISION_TRAINING_KEY=YOUR_CUSTOM_VISION_TRAINING_KEY_HERE
37-
CUSTOM_VISION_PREDICTION_ENDPOINT=https://YOUR_REGION.api.cognitive.microsoft.com/
38-
CUSTOM_VISION_PREDICTION_KEY=YOUR_CUSTOM_VISION_PREDICTION_KEY_HERE
39-
40-
# Search Service
41-
SEARCH_SERVICE_ENDPOINT=https://YOUR_SEARCH_SERVICE_NAME.search.windows.net/
42-
SEARCH_SERVICE_KEY=YOUR_SEARCH_KEY_HERE
43-
44-
# Common Azure Settings
45-
AZURE_RESOURCE_GROUP=YOUR_RESOURCE_GROUP_NAME
46-
AZURE_LOCATION=YOUR_AZURE_REGION
47-
48-
# =============================================================================
49-
# Instructions for Learners:
50-
# 1. Copy this file to .env
51-
# 2. Replace all YOUR_* placeholders with actual values from Azure Portal
52-
# 3. Never commit the .env file to version control (its in .gitignore)
53-
# =============================================================================
5+
# Multi-service key for Computer Vision, Language, and other cognitive capabilities
6+
AI_SERVICES_KEY=your_multi_service_key_here
7+
AI_SERVICES_ENDPOINT=https://your-region.api.cognitive.microsoft.com
8+
9+
# Analyzes images for objects, faces, text recognition, and scene understanding
10+
COMPUTER_VISION_KEY=your_computer_vision_key_here
11+
COMPUTER_VISION_ENDPOINT=https://your-computervision-service.cognitiveservices.azure.com
12+
13+
# Processes text for sentiment analysis, language detection, and key phrase extraction
14+
LANGUAGE_SERVICE_KEY=your_language_service_key_here
15+
LANGUAGE_SERVICE_ENDPOINT=https://your-language-service.cognitiveservices.azure.com
16+
17+
# Extracts structured data from forms, receipts, invoices, and business documents
18+
DOCUMENT_INTELLIGENCE_KEY=your_form_recognizer_key_here
19+
DOCUMENT_INTELLIGENCE_ENDPOINT=https://your-formrecognizer-service.cognitiveservices.azure.com
20+
21+
# Provides access to GPT models for chat completions and text generation
22+
AZURE_OPENAI_KEY=your_azure_openai_key_here
23+
AZURE_OPENAI_ENDPOINT=https://your-openai-service.openai.azure.com
24+
AZURE_OPENAI_DEPLOYMENT_NAME=gpt-35-turbo
25+
26+
# Converts speech to text, text to speech, and provides real-time translation
27+
SPEECH_SERVICE_KEY=your_speech_service_key_here
28+
SPEECH_SERVICE_ENDPOINT=https://your-speech-service.cognitiveservices.azure.com
29+
SPEECH_SERVICE_REGION=your_region_here
30+
31+
# Enables full-text search, semantic search, and AI-powered search suggestions
32+
SEARCH_SERVICE_KEY=your_search_admin_key_here
33+
SEARCH_SERVICE_ENDPOINT=https://your-search-service.search.windows.net
34+
SEARCH_INDEX_NAME=your_search_index_name
35+
36+
# Detects harmful content, adult material, hate speech, and violence in text/images
37+
CONTENT_SAFETY_KEY=your_content_safety_key_here
38+
CONTENT_SAFETY_ENDPOINT=https://your-contentsafety-service.cognitiveservices.azure.com
39+
40+
# Custom image classification and object detection models
41+
CUSTOM_VISION_PREDICTION_KEY=your_prediction_key_here
42+
CUSTOM_VISION_TRAINING_KEY=your_training_key_here
43+
CUSTOM_VISION_ENDPOINT=https://your-customvision-service.cognitiveservices.azure.com
44+
CUSTOM_VISION_PROJECT_ID=your_project_id_here
45+
CUSTOM_VISION_PUBLISHED_NAME=your_published_iteration_name

DISCUSSION-TEMPLATE.md

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
# 🎓 Welcome O'Reilly Live Learning Students!
2+
3+
Welcome to the AI-900 Microsoft Azure AI Fundamentals course repository! This discussion thread is specifically for students attending the O'Reilly Live Learning session.
4+
5+
## 🚀 Getting Started with the Demo App
6+
7+
1. **Clone the Repository**
8+
```bash
9+
git clone https://github.com/timothywarner/ai900.git
10+
cd ai900
11+
npm install
12+
```
13+
14+
2. **Set Up Your Azure Services**
15+
- Copy `sample.env` to `.env`
16+
- Add your Azure AI service credentials
17+
- Need help? Ask here!
18+
19+
3. **Run the Demos**
20+
- Console: `npm start`
21+
- Web Interface: `npm run web`
22+
23+
## 💬 Discussion Topics
24+
25+
### Before the Course
26+
- [ ] Introduce yourself! What's your background?
27+
- [ ] What are your AI/ML learning goals?
28+
- [ ] Any specific Azure AI services you're excited about?
29+
30+
### During the Course
31+
- [ ] Share your "aha!" moments
32+
- [ ] Post questions about demos
33+
- [ ] Help fellow students with setup issues
34+
35+
### After the Course
36+
- [ ] Share your certification journey
37+
- [ ] Post your AI-900 exam success stories
38+
- [ ] Connect with study partners
39+
40+
## 🎯 Course Resources
41+
42+
- **Slides**: Available during the live session
43+
- **Demo Code**: In the `/demos/` folder
44+
- **Practice Questions**: See README for links
45+
- **Azure Free Account**: https://azure.microsoft.com/free/
46+
47+
## 🤝 Community Guidelines
48+
49+
1. **Be Helpful**: Share solutions and insights
50+
2. **Be Respectful**: Everyone's learning journey is different
51+
3. **Be Specific**: When asking questions, include error messages
52+
4. **Be Generous**: Share resources and tips
53+
54+
## 📅 Live Session Schedule
55+
56+
- **Hour 1**: AI Fundamentals & Azure AI Platform
57+
- **Hour 2**: Machine Learning on Azure
58+
- **Hour 3**: Computer Vision Workloads
59+
- **Hour 4**: Natural Language Processing
60+
- **Hour 5**: Generative AI & Azure AI Foundry
61+
62+
## 🆘 Common Issues & Solutions
63+
64+
**Port 3000 in use?**
65+
```bash
66+
npm run force-close
67+
```
68+
69+
**Missing environment variables?**
70+
- Check your `.env` file
71+
- Ensure you've created services in Azure Portal
72+
73+
**Module not found?**
74+
```bash
75+
npm install
76+
```
77+
78+
## 📧 Contact
79+
80+
- **Instructor**: Tim Warner
81+
- **Email**: [email protected]
82+
- **LinkedIn**: [Timothy Warner](https://linkedin.com/in/timothywarner)
83+
- **Course Feedback**: Please share in O'Reilly platform
84+
85+
---
86+
87+
**Let's learn together! Drop a 👋 to say hello!**

0 commit comments

Comments
 (0)