JJairaminthearchitectsmind.hashnode.dev·1d ago · 16 min readThe Composite Pattern in a Python LLM PipelineIn a hurry? Composite is a container that answers the same call as the things it holds. Calling code can't tell one step from a whole pipeline, and doesn't need to. That only works if every step tak00
JJairaminthearchitectsmind.hashnode.dev·5d ago · 19 min readTemplate Method, and Why Your LLM's Memory Isn't Its Chat HistoryIn a hurry? Here's the whole post. Template Method is a base class that runs the steps and asks the subclass for one of them. The steps that must never differ live where no subclass can touch them. 00
JJairaminthearchitectsmind.hashnode.dev·Sep 24 · 15 min readStrategy and the Registry Pattern Never Clicked for Me Until a Model Started Calling My FunctionsIn a hurry? Here's the whole post. Phase 3 lets a model ask my code to run one of my Python functions, and puts the answer back into the conversation. The data became polymorphic. A reply used to be00
JJairaminthearchitectsmind.hashnode.dev·Sep 22 · 20 min readWhat Encapsulation Actually Buys YouIn a hurry? Here's the whole post. Encapsulation isn't hiding data. It's an object taking responsibility for its own rules, so nothing downstream has to check them again. There are two moments to ge00
JJairaminthearchitectsmind.hashnode.dev·Sep 21 · 6 min readWeb Search with the DeepSeek API: What Finally Worked and What Blew Up My Token BillI'm working on a project that needs to search the web and then scrape the pages it finds. That second part is what makes it different from the web search built into the popular LLM chat apps. I wanted00