Skip to content

Writing

Notes on building production AI systems — posted on LinkedIn.

Posted on LinkedIn · 7/22/2025

"My AI keeps making things up." This is the #1 complaint about LLMs in production environments.

The solution is RAG — Retrieval-Augmented Generation. Even the most advanced models have a knowledge cutoff, can't access your private data, and don't know recent events. RAG bridges that gap by giving AI access to verified information before it generates a response. How it works, simplified: your content gets broken into chunks and converted to embeddings. When a question comes in, the system finds the most relevant chunks and sends them to the AI along with the question. The AI answers based on YOUR information, not just what it was trained on. Well-implemented RAG systems can reduce hallucinations by 80%+ while improving answer quality — and this isn't theory. Organizations are deploying it today for support chatbots, internal knowledge systems, documentation search, and compliance assistants. The most effective AI implementations aren't just using better models. They're using retrieval to ground those models in reality.

Read the full post on LinkedIn

Posted on LinkedIn · 7/16/2025

THE FUTURE OF AI RELIES ON CONTEXTUAL ENGINEERING. (Master this and you master AI.)

In a traditional software environment, an application's functionality comes from code a developer writes. We're entering a different era: what you provide as context now determines what the AI gives back. Context engineering looks like this — context windows large enough to read an entire business strategy, not a paragraph; retrieval systems that pull from your own databases and documents; tool access that lets AI act, not just answer; memory that carries what it's learned about you forward. Real-world example: instead of prompting "write an NDA," a context-engineered system pulls in the founder's past emails, the freelancer's profile, and a contract template — then drafts something tailored, not generic. The difference between an outstanding AI experience and a mediocre one doesn't come from the base model. It comes from the context wrapped around it. Prompt = a question. Context = the entire environment that question exists in. The best AI engineers aren't writing clever prompts — they're designing rich information environments where AI can actually do its job.

Read the full post on LinkedIn