Skip to content

Commit c035f11

Browse files
chore: Added docs & guides for workshop
2 parents 8db6337 + a6934b7 commit c035f11

File tree

87 files changed

+34464
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+34464
-0
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
name: Deploy Workshop Docs
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
workflow_dispatch:
8+
9+
permissions:
10+
contents: read
11+
pages: write
12+
id-token: write
13+
14+
concurrency:
15+
group: "pages"
16+
cancel-in-progress: false
17+
18+
jobs:
19+
build:
20+
runs-on: ubuntu-latest
21+
steps:
22+
- name: Checkout
23+
uses: actions/checkout@v4
24+
25+
- name: Setup Python
26+
uses: actions/setup-python@v5
27+
with:
28+
python-version: '3.11'
29+
30+
- name: Install dependencies
31+
run: |
32+
pip install mkdocs mkdocs-material pymdown-extensions
33+
34+
- name: Build site
35+
run: |
36+
cd workshop
37+
mkdocs build --site-dir ../site
38+
39+
- name: Upload artifact
40+
uses: actions/upload-pages-artifact@v3
41+
with:
42+
path: ./site
43+
44+
deploy:
45+
environment:
46+
name: github-pages
47+
url: ${{ steps.deployment.outputs.page_url }}
48+
runs-on: ubuntu-latest
49+
needs: build
50+
steps:
51+
- name: Deploy to GitHub Pages
52+
id: deployment
53+
uses: actions/deploy-pages@v4

workshop/README.md

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
# Workshop Documentation
2+
3+
This folder contains the MkDocs documentation for the Foundry IQ + Fabric IQ Workshop.
4+
5+
## Local Development
6+
7+
### Install Dependencies
8+
9+
```bash
10+
pip install -r requirements.txt
11+
```
12+
13+
### Serve Locally
14+
15+
```bash
16+
mkdocs serve
17+
```
18+
19+
Open [http://127.0.0.1:8000](http://127.0.0.1:8000) to preview.
20+
21+
### Build Static Site
22+
23+
```bash
24+
mkdocs build
25+
```
26+
27+
Output is in the `site/` folder.
28+
29+
## Deploy to GitHub Pages
30+
31+
```bash
32+
mkdocs gh-deploy
33+
```
34+
35+
This builds the site and pushes to the `gh-pages` branch.
36+
37+
## Structure
38+
39+
```
40+
workshop/
41+
├── mkdocs.yml # MkDocs configuration
42+
├── requirements.txt # Python dependencies
43+
├── README.md # This file
44+
└── docs/
45+
├── index.md # Overview
46+
├── get-started.md # Prerequisites & PoC journey
47+
├── 01-deploy/ # Deploy Solution
48+
│ ├── index.md
49+
│ ├── infrastructure.md
50+
│ ├── configure.md
51+
│ └── run.md
52+
├── 02-customize/ # Customize for Your Customer
53+
│ ├── index.md
54+
│ ├── choose.md
55+
│ ├── generate.md
56+
│ └── demo.md
57+
├── 03-understand/ # Understand the Technology
58+
│ ├── index.md
59+
│ ├── foundry-iq.md
60+
│ └── fabric-iq.md
61+
└── 04-cleanup.md # Cleanup & Next Steps
62+
```
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Get Started
2+
3+
## Prerequisites
4+
5+
- Azure subscription with Contributor access
6+
- gpt-4o-mini and text-embedding-ada-002 model capacity
7+
- Microsoft Fabric workspace (for Fabric IQ features)
8+
9+
- [Visual Studio Code](https://code.visualstudio.com/download)
10+
- [Azure Developer CLI (azd)](https://learn.microsoft.com/azure/developer/azure-developer-cli/install-azd)
11+
- [Python 3.10+](https://www.python.org/downloads/)
12+
- [Git](https://git-scm.com/downloads)
13+
14+
15+
[![Open in GitHub Codespaces](https://img.shields.io/badge/GitHub-Codespaces-blue?logo=github)](https://codespaces.new/nchandhi/nc-iq-workshop)
16+
[![Open in VS Code](https://img.shields.io/badge/VS%20Code-Dev%20Containers-blue?logo=visualstudiocode)](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/nchandhi/nc-iq-workshop)
17+
[![Open in VS Code Web](https://img.shields.io/badge/VS%20Code-Open%20in%20Web-blue?logo=visualstudiocode)](https://vscode.dev/azure/?vscode-azure-exp=foundry&agentPayload=eyJiYXNlVXJsIjogImh0dHBzOi8vcmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbS9uY2hhbmRoaS9uYy1pcS13b3Jrc2hvcC9tYWluL2luZnJhL3ZzY29kZV93ZWIiLCAiaW5kZXhVcmwiOiAiL2luZGV4Lmpzb24iLCAidmFyaWFibGVzIjogeyJhZ2VudElkIjogIiIsICJjb25uZWN0aW9uU3RyaW5nIjogIiIsICJ0aHJlYWRJZCI6ICIiLCAidXNlck1lc3NhZ2UiOiAiIiwgInBsYXlncm91bmROYW1lIjogIiIsICJsb2NhdGlvbiI6ICIiLCAic3Vic2NyaXB0aW9uSWQiOiAiIiwgInJlc291cmNlSWQiOiAiIiwgInByb2plY3RSZXNvdXJjZUlkIjogIiIsICJlbmRwb2ludCI6ICIifSwgImNvZGVSb3V0ZSI6IFsiYWktcHJvamVjdHMtc2RrIiwgInB5dGhvbiIsICJkZWZhdWx0LWF6dXJlLWF1dGgiLCAiZW5kcG9pbnQiXX0=)
18+
19+
!!! tip "Use GitHub Copilot for Help"
20+
Stuck on a step? Ask GitHub Copilot Chat:
21+
22+
- "Explain this error message"
23+
- "What does this script do?"
24+
- "How do I fix this Python error?"
25+
26+
Press `Ctrl+I` in VS Code to open Copilot Chat.
27+
28+
---
29+
30+
[Workshop Flow →](workshop-flow.md)
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# Workshop Flow
2+
3+
## Step 1: Deploy solution
4+
5+
Deploy infrastructure and run with pre-built **sample** scenario:
6+
7+
- Deploy **Microsoft Foundry** and Azure resources (AI Services, AI Search, Storage)
8+
- Configure **Microsoft Fabric** connection
9+
- Configure your development environment
10+
- See the agent working with sample data
11+
- Takes ~15 minutes
12+
13+
## Step 2: Customize for your use case
14+
15+
Generate custom data for **each use case**:
16+
17+
| Customer Industry | Use Case Example | Sample Questions |
18+
|-------------------|------------------|------------------|
19+
| Telecommunications | Network outages + service policies | "Which outages exceeded our SLA threshold?" |
20+
| Manufacturing | Equipment data + maintenance docs | "Which machines are overdue for maintenance per our schedule?" |
21+
| Retail | Product catalog + return policies | "What's our return policy for electronics over $500?" |
22+
| Finance | Account data + lending policies | "Which loan applications meet our approval criteria?" |
23+
| Insurance | Claims data + policy documents | "What's the status of claims filed this week vs our SLA?" |
24+
| Energy | Grid monitoring + safety protocols | "Which substations are operating above 80% capacity?" |
25+
| **Customer X** | **Their data + Their docs** | **Their burning questions** |
26+
27+
!!! tip "Pre-PoC prep"
28+
Run Step 2 before your PoC. Enter the industry and a brief use case description. The AI generates realistic sample data, documents, and test questions tailored to your scenario.
29+
30+
## Step 3: Deep dive
31+
32+
Prepare for technical questions in customer conversations:
33+
34+
- **Fabric IQ**: How ontology translates business questions to SQL
35+
- **Foundry IQ**: How agentic retrieval plans, iterates, and reflects
36+
- **Orchestrator Agent**: How the agent decides which source to query
37+
38+
---
39+
40+
[← Get Started](index.md) | [Deploy solution →](../01-deploy/index.md)
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# Deploy Infrastructure
2+
3+
## Clone the Repository
4+
5+
```bash
6+
git clone https://github.com/nchandhi/nc-iq-workshop.git
7+
cd nc-iq-workshop
8+
```
9+
10+
## Login to Azure
11+
12+
```bash
13+
azd auth login
14+
```
15+
16+
This opens a browser for authentication.
17+
18+
## Deploy Resources
19+
20+
```bash
21+
azd up
22+
```
23+
24+
Follow the prompts to select your environment name, subscription, and location etc.
25+
26+
!!! warning "Wait for Completion"
27+
Deployment takes 7-8 minutes. Don't proceed until you see the success message.
28+
29+
## Verify Deployment
30+
31+
Verify in [Azure Portal](https://portal.azure.com/) that your resource group contains all resources:
32+
33+
- Microsoft Foundry
34+
- Azure AI Search
35+
- Storage Account
36+
- Application Insights
37+
38+
## Environment Variables
39+
40+
After deployment, Azure endpoints are automatically saved to `.azure/<env>/.env` and loaded by the scripts.
41+
42+
!!! note "No Manual Configuration"
43+
You don't need to manually set Azure connection strings. The scripts read them from the azd environment automatically.
44+
45+
---
46+
47+
[← Overview](index.md) | [Create Fabric workspace →](02-setup-fabric.md)
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Create Fabric workspace
2+
3+
Create and configure your Microsoft Fabric workspace for Fabric IQ.
4+
5+
## Prerequisites
6+
7+
- Microsoft Fabric capacity (F2 or higher recommended)
8+
- Workspace admin permissions
9+
10+
## Create a Fabric workspace
11+
12+
1. Go to [Microsoft Fabric](https://app.fabric.microsoft.com)
13+
2. Click **Workspaces****New workspace**
14+
3. Name it something like `iq-workshop`
15+
4. Select your Fabric capacity
16+
5. Click **Apply**
17+
18+
## Configure workspace settings
19+
20+
1. Open your new workspace
21+
2. Go to **Settings****License info**
22+
3. Verify the workspace is using Fabric capacity
23+
24+
## Get workspace details
25+
26+
You'll need these values for the next step:
27+
28+
| Setting | Where to find it |
29+
|---------|------------------|
30+
| Workspace ID | URL after `/groups/` |
31+
| Workspace name | Workspace settings |
32+
33+
34+
[← Deploy Azure resources](01-deploy-azure.md) | [Configure dev environment →](03-configure.md)
Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
# Configure dev environment
2+
3+
## Python Environment
4+
5+
### Create and Activate
6+
7+
```bash
8+
cd scripts
9+
python -m venv .venv
10+
```
11+
12+
=== "Windows"
13+
14+
```powershell
15+
.venv\Scripts\activate
16+
```
17+
18+
=== "macOS/Linux"
19+
20+
```bash
21+
source .venv/bin/activate
22+
```
23+
24+
### Install Dependencies
25+
26+
=== "Fast (Recommended)"
27+
28+
```bash
29+
pip install uv && uv pip install -r requirements.txt
30+
```
31+
32+
=== "Standard"
33+
34+
```bash
35+
pip install -r requirements.txt
36+
```
37+
38+
### Verify Setup
39+
40+
```bash
41+
python -c "import azure.ai.projects; print('Ready!')"
42+
```
43+
44+
## Configure Fabric
45+
46+
### Get Your Workspace ID
47+
48+
1. Go to [Microsoft Fabric](https://app.fabric.microsoft.com/)
49+
2. Open your workspace
50+
3. Copy the workspace ID from the URL:
51+
52+
```
53+
https://app.fabric.microsoft.com/groups/{workspace-id}/...
54+
```
55+
56+
### Update Environment File
57+
58+
Copy `.env.example` to `.env` and update your Fabric settings:
59+
60+
```bash
61+
cp .env.example .env
62+
```
63+
64+
Edit `.env` in the project root:
65+
66+
```env
67+
# --- Microsoft Fabric (required) ---
68+
FABRIC_WORKSPACE_ID=your-workspace-id-here
69+
70+
# --- Data Folder (pre-populated with default scenario) ---
71+
DATA_FOLDER=data/default
72+
```
73+
74+
## Checkpoint
75+
76+
Before proceeding:
77+
78+
- [x] `azd up` completed successfully
79+
- [x] Python environment activated
80+
- [x] Dependencies installed
81+
- [x] Fabric workspace ID configured
82+
83+
!!! success "Ready to Run"
84+
Continue to the next step to see it in action.
85+
86+
---
87+
88+
[← Create Fabric workspace](02-setup-fabric.md) | [Build solution →](04-run-scenario.md)

0 commit comments

Comments
 (0)