AI901: Build a lightweight application that includes text analysis

1. What This Means in the Exam

Using Azure AI Foundry, you:

Use a prebuilt text analysis capability
Call it from a lightweight application
Process input text and return insights

👉 Think:

“Send text → analyse it → show the result”

🧩 2. What is a Lightweight Application?

A lightweight app is a simple client, such as:

Console app
Basic web app
Simple script

It:

Takes user input
Calls an AI service
Displays output

📝 3. Text Analysis Capabilities You Might Use
📌 Common options (AI-901 focus)
Sentiment analysis → positive/negative/neutral
Key phrase extraction → main topics
Entity recognition → names, places, dates
Language detection → identify language

🔄 4. Typical Architecture (Exam-Friendly)
User → Lightweight App → Foundry (Text Analysis) → Result → App → User

⚙️ 5. High-Level Implementation Steps
1️⃣ Get Input Text

Example:

“The service was slow and disappointing”

2️⃣ Call Text Analysis Service

Using Azure AI Foundry:

Send text to the model/service
3️⃣ Receive Analysis

Example output:

Sentiment: Negative
Key phrases: “service”, “slow”
4️⃣ Display Results
Show results in console or UI

🎯 6. Example Scenario (Exam Style)
Scenario:

“Build a simple application that analyses customer reviews and shows whether they are positive or negative”

Correct approach:
Lightweight app (console/web)
Use sentiment analysis
Call Foundry service
Display results

⚖️ 7. Key Exam Distinctions
Feature Lightweight App AI Service
Role Sends/receives data Performs analysis
Contains AI logic ❌ No ✅ Yes
Built with SDK/API ✅ Yes Used via endpoint

⚠️ 8. Common Exam Traps
❌ Thinking you need to train a model
✔️ Use prebuilt text analysis
❌ Confusing analysis with generation
✔️ Analysis = classify/extract
✔️ Generation = create new text
❌ Overcomplicating the app
✔️ It’s just a simple client

🧠 9. Simple Memory Model

“Input → Analyse → Output”

Input → user text
Analyse → AI service
Output → result displayed

✅ Summary

To build a lightweight application with text analysis in AI-901:

Use Azure AI Foundry
Create a simple app (console/web)
Send text to a text analysis capability
Receive structured insights
Display results