AI Security 2025: Promptware, Indirect Prompt Injection & the First “AI Worms” (with a Python Mitigation Kit)
Author(s): Tarun Singh Originally published on Towards AI. AI Security 2025: Promptware, Indirect Prompt Injection & the First “AI Worms” (with a Python Mitigation Kit) I broke a Python AI agent with prompt injection, then hardened it until the attack failed. In …
Build a Production Voice Agent This Weekend: Realtime API + MCP + SIP (Step-by-Step)
Author(s): Tarun Singh Originally published on Towards AI. AI That Picks Up the Phone: Realtime Voice Agents with SIP, MCP, and WebRTC TL;DR: In this hands-on guide you’ll ship a fully working Realtime API voice agent with WebRTC speech-in/speech-out, server-executed MCP-style tools, …
On-Device AI Is Finally Real — Build a Copilot+ PC App That Runs 100% Offline
Author(s): Tarun Singh Originally published on Towards AI. On-device AI, explained in plain English — with a full working project you can run today. Github Repo: on-device-npu-rag On-Device AI Is Finally RealThe article discusses the advancements in on-device AI, focusing on building …
From Weekend Hack to Side Income: Python Automation with Flask
Author(s): Tarun Singh Originally published on Towards AI. A tiny Python automation tool (Flask + litellm) that classifies and summarizes text. Build a content AI service fast — an AI SaaS starter without the bloat. Your inbox floods with customer emails and …
googlLaptop-Only LLM: Tune Google Gemma 3 in Minutes (Code Inside)
Author(s): Tarun Singh Originally published on Towards AI. A clean, from-scratch walkthrough (with code) to tune a 270M-param LLM on chess — no cloud required. Google dropped Gemma 3 270M, a compact instruction-tuned model you can actually run locally. With 4-bit loading, …
Stop Wasting Chats: Prompt Like a Pro (2026 Field Guide for ChatGPT, LLMs & Prompt Engineering)
Author(s): Tarun Singh Originally published on Towards AI. Smarter prompts → sharper answers. A practical playbook you can use today. Most people treat ChatGPT like a search bar with an attitude. Treat it like a co-worker with tools — give it a …
Build an AI PDF Search Engine in a Weekend (Python, FAISS, RAG — Full Code)
Author(s): Tarun Singh Originally published on Towards AI. Turn messy folders of PDFs into a blazing-fast, AI-assisted knowledge base you can actually talk to. I had a problem: dozens (okay, hundreds) of PDFs — research papers, API docs, whitepapers — scattered across …
15 RAG Chunking Techniques Every AI Engineer Should Know
Author(s): Tarun Singh Originally published on Towards AI. Level Up Your RAG Apps: 15 Easy Chunking Strategies (with Examples!) Retrieval-Augmented Generation (RAG) depends heavily on how we chunk our data.If you want the LLM to retrieve context that actually makes sense, you …
RAG Chunking Techniques for Tabular Data: 10 Powerful Strategies
Author(s): Tarun Singh Originally published on Towards AI. Level Up Your RAG Apps: Table Edition 🚀 If you’ve built Retrieval-Augmented Generation (RAG) apps, you know chunking is EVERYTHING for great retrieval. This article explores effective strategies for chunking tabular data in Retrieval-Augmented …
Rotating Box Challenge: Why OpenAI GPT Beat DeepSeek and Qwen2.5 Hands Down
Author(s): Tarun Singh Originally published on Towards AI. This member-only story is on us. Upgrade to access all of Medium. Imagine a rotating box. Inside it, a ball bounces around, striking the walls, defying gravity, and never stepping out of bounds. Sounds …
Advanced Prompt Engineering Techniques for AI Developers: Unlocking the Power of LLMs
Author(s): Tarun Singh Originally published on Towards AI. This member-only story is on us. Upgrade to access all of Medium. In our data-driven world, the ability to extract and process information efficiently is more valuable than ever. Large Language Models (LLMs) like …
Mastering Data Extraction with LlamaExtract: JSON Outputs from PDFs, Payslips, and More
Author(s): Tarun Singh Originally published on Towards AI. This member-only story is on us. Upgrade to access all of Medium. In today’s fast-paced digital landscape, organizations deal with an overwhelming amount of unstructured data — from invoices and receipts to resumes and …
OCR with AI and LLM — A New Era of Intelligent Document Processing
Author(s): Tarun Singh Originally published on Towards AI. This member-only story is on us. Upgrade to access all of Medium. What if you could effortlessly extract critical data from complex PDFs or scanned documents with the power of AI? Imagine transforming hours …