How to Rotate and Scope AI API Keys for Safer Automation
Rotating and scoping AI API keys means giving each workload its own credential with only the permissions it needs, replacing it on a schedule, and revoking the…
FROM THE AUTHOR
Explore the published guides and contributions from John C. Mullen.
204 published articlesRotating and scoping AI API keys means giving each workload its own credential with only the permissions it needs, replacing it on a schedule, and revoking the…
Automating claim verification means adding a third stage to a RAG pipeline: after the model answers, a separate process splits the answer into claims, matches each claim…
Evaluating an AI code suggestion before merging means treating it as an untrusted contribution that must prove the behavior you asked for. Start from the requirement and…
GPU acceleration in Docker is mostly a plumbing problem: install the NVIDIA Container Toolkit, then pass the GPU into the container explicitly. This guide covers the two…
There is no universal number of few-shot examples. A 2025 study of LLM code translation found functional correctness peaked at 5–25 examples and often degraded with hundreds,…
LLM-as-a-judge asks one model to score another model's output against a written rubric. It is the practical way to grade subjective qualities such as groundedness and helpfulness…
Running several local models on one GPU is mostly a scheduling decision. If the models fit in VRAM together, load them together; if they do not, make…
Run Ollama as a Docker container with a named volume and published port 11434, then connect other containers over a user-defined Docker network using the service name…
Embeddings for a RAG pipeline can be generated entirely on local hardware. Two documented paths exist: single-file llamafiles from Mozilla and an Ollama-based workflow in MongoDB's local…
Apple silicon makes local LLM inference practical because the CPU, GPU, and Neural Engine share one memory pool, so weights never have to be copied to a…
When a RAG system fails to retrieve information you know exists, chunking is a frequent culprit. This guide shows how to diagnose boundary splits and diluted signal…
Reasoning tokens are the rough work a model writes before its final answer, and that rough work is real computation. This explainer covers why a fixed amount…