Shamim Shams Search

Tag

#openai

Automating Email Triage and Responses with Python and OpenAI
· 8 min read

Automating Email Triage and Responses with Python and OpenAI

Forty-seven unread emails by 9 a.m. Twelve are urgent. Eight need a response you've written a hundred times. The rest are noise you'll archive without reading — if you ever get to them. This tutorial builds an email triage pipeline: classify incoming emails by urgency and category, generate context-aware draft responses for the routine ones, and flag the rest for human review. You'll need Python 3.10+, an OpenAI API key, and `openai` installed.

Web Scraping + AI: Turning Raw HTML into Structured Data with Python
· 8 min read

Web Scraping + AI: Turning Raw HTML into Structured Data with Python

The HTML you get back from most websites is not what you want. It's what the browser needs — event listeners, tracking scripts, cookie banners, seventeen nested `<div>` containers, and somewhere buried in all that, the three fields you actually care about.

Automating Data Extraction from PDFs Using Python and LLMs
· 7 min read

Automating Data Extraction from PDFs Using Python and LLMs

PDFs lie to you. They look structured — columns aligned, tables formatted, field labels sitting neatly next to their values — but underneath that visual order is a flat stream of text with no semantic structure at all. Ask a PDF parser what the invoice total is and it'll give you every number on the page.

Versioning and Managing Prompts Like Code in Your AI Projects
· 8 min read

Versioning and Managing Prompts Like Code in Your AI Projects

Somewhere between sprint three and sprint seven, a prompt in your codebase changed. Nobody announced it. The output got worse — responses started being too short, the tone shifted, or edge cases started failing. You grep through the code trying to find what happened, and eventually realize someone edited the prompt string directly in the source file, probably to fix something else, and didn't think much of it.