Exploring Urban Street Networks Through Graph Metrics
Author(s): Ahmed Boulahia Originally published on Towards AI. Why is Tunis traffic so bad? Urban Planning Analysis of Tunis Traffic Congestion, A Geospatial Study using Python OSMnx and OpenStreetMap to Analyze Street Connectivity, Road Network Entropy, and Infrastructure Bottlenecks. If you live …
4 Coding Pillars Every AI Engineer Should Know About
Author(s): Ahmed Boulahia Originally published on Towards AI. A step-by-step guide to refactoring AI-generated Python scripts into maintainable, professional software for modern SaaS environments. Starting an AI project from scratch can be very overwhelming especially if it is your first time. You …
How to Protect Your AI SaaS From Prompt Injection and Bad Users
Author(s): Ahmed Boulahia Originally published on Towards AI. Learn how to stop prompt injection attacks in AI chatbots, SaaS applications, and generative AI tools using a smart LLM-as-a-Judge security layer for safe and reliable responses. Let’s start with a fact! AI-powered SaaS …
Best Open-Source Embedding Models for RAG
Author(s): Ahmed Boulahia Originally published on Towards AI. High-Performance Open-Source Embedding Models for RAG Pipelines, Multilingual NLP, and Arabic Text The embedding stage is a critical part of the Retrieval-Augmented Generation (RAG) pipeline.It comes after data extraction and chunking, and it determines …
RAG Techniques You Must Know in 2025
Author(s): Ahmed Boulahia Originally published on Towards AI. RAG is no longer just about answering questions; here are the top techniques in 2025 that every AI builder should know. By now, you’ve probably seen tons of videos and projects about RAG (Retrieval-Augmented …
Top 20 LLM Interview Questions
Author(s): Ahmed Boulahia Originally published on Towards AI. Essential questions and clear answers to help you prepare with confidence. So, are you looking for a job as an AI engineer, data scientist, machine learning engineer, or even a data engineer? Or maybe …
Before You Start Your AI Engineering Journey… Do This.
Author(s): Ahmed Boulahia Originally published on Towards AI. Forget hype. Learn the core skills that actually help you build AI systems that work, from Python to agents, step by step. So, you want to become an AI Engineer? That’s awesome.But here’s something …
From Single-Task AI Agents to Goal-Driven Agentic AI
Author(s): Ahmed Boulahia Originally published on Towards AI. “By 2025, 70% of Fortune 500 companies are already using AI copilots for routine tasks — and agentic AI is poised to handle strategic operations next.” — Paul Nyhan, Microsoft News ChatGPT erupted into …
Parse Documents Including Images, Tables, Equations, Charts, and Code.
Author(s): Ahmed Boulahia Originally published on Towards AI. Enhance Your RAG Pipeline by Using SmolDocling to Parse Complex Documents (Tables, Equations, Charts & Code) into Your Vector DBImage created by the authorVision + Structure: SmolDocling is a new 256M-parameter model that reads …
Shield Your AI Agent From Prompt Injection
Author(s): Ahmed Boulahia Originally published on Towards AI. Prompt injection can manipulate your AI agent into leaking data or behaving unpredictably. What is it exactly, and how to beat it? In this current AI-dominated era of programming and web development, there is …