π οΈ Lab 7 β Smart Document Analyzer
π οΈ Lab 7 β Smart Document Analyzer
Type: Guided lab Time: ~90 minutes Difficulty: Intermediate Cost: Free (Textract: 1000 free pages/month for 3 months)
π― What youβll build
Upload any PDF or document image to S3 and watch AWS automatically extract the text (Textract), analyze the sentiment + entities (Comprehend), and save the results to DynamoDB. Real production AI in 90 minutes.
π Prerequisites
- Comfortable creating Lambda functions
- Basic Python (provided starter handles 90% of it)
- An understanding of IAM roles for Lambda
π οΈ AWS Services used
- S3 β document uploads
- Lambda β orchestrator that chains the AI calls
- Textract β pulls text from PDFs and images
- Comprehend β sentiment + entity extraction
- DynamoDB β stores analysis results
π The full walkthrough
Open Week4_Lab7_Smart_Doc_Analyzer.html in your browser. Itβs a complete step-by-step guide with screenshots, code snippets, and inline hints.
π‘ The HTML file is self-contained β no install, no internet needed once youβve cloned the repo. Just double-click to open in your browser.
π If you get stuck
- Re-read the relevant step in the HTML walkthrough
- Check the Common Mistakes callouts (red boxes in the walkthrough)
- Expand the π‘ Hint sections for guidance
- WhatsApp the group with a screenshot of the error
- Tag your post with
#week4done
π Submission
- Screenshot of a DynamoDB item showing extracted text + sentiment + entities from a real document
- Bonus: try it with your own CV and screenshot the entities Comprehend pulled out
β¬ οΈ Back to Week 4