How to Version and Maintain Reusable AI Prompts and Workflows
Prompts and the workflows around them should be managed as versioned software artifacts, not as text files pasted into application code. This guide explains the mechanisms —…
TAGGED GUIDES
Explore the guides, ideas, and practical explanations in this topic.
35 published articlesPrompts and the workflows around them should be managed as versioned software artifacts, not as text files pasted into application code. This guide explains the mechanisms —…
RAG answers can look correct while the retriever quietly returns the wrong context. Evaluate the retrieval stage directly with recall@k, precision@k, and rank-aware metrics on a labeled…
A Modelfile is Ollama's blueprint for creating customized models. You can set a persistent system prompt with SYSTEM, adjust runtime defaults such as temperature and num_ctx with…
When a WordPress plugin calls a cloud AI API, your content leaves your server and is processed on infrastructure you do not control. The real risk depends…
Put a reverse proxy in front of your local AI server to enforce TLS and require an Authorization: Bearer token on every request. This guide covers the…
Evaluating hallucinations means checking each factual claim against a trusted source, then measuring how well your guardrail catches unsupported or contradicted claims. This guide covers a practical…
In llama.cpp, GPU layer offloading is controlled with -ngl, --gpu-layers, or --n-gpu-layers, which accepts an exact layer count, auto, or all. Ollama generally manages offloading automatically, so…
Local AI can translate WordPress in two ways: on-the-fly rendering of page content, or AI-assisted editing of gettext .po and .mo strings. This guide compares both models…
Model distillation trains a smaller student network to imitate a larger teacher, which makes it the only common compression technique that changes the architecture and requires a…
To measure hallucination rates in local summarization models, score each generated summary against its source document with a source-grounded detector such as Vectara HHEM-2.1, document your threshold,…
Ollama can run in Docker with GPU acceleration, but the container needs explicit GPU access. NVIDIA systems use the NVIDIA Container Toolkit and --gpus=all; AMD systems use…
Out-of-memory errors when loading local AI models are usually caused by a mismatch between weight memory, runtime overhead, and available GPU VRAM. This guide shows how to…