What Are Tokens in AI? A Practical Explanation
A token is the unit of text an AI model actually reads and writes — it can be a single character or a whole word, depending on…
FROM THE AUTHOR
Explore the published guides and contributions from John C. Mullen.
46 published articlesA token is the unit of text an AI model actually reads and writes — it can be a single character or a whole word, depending on…
A reusable AI workflow is not a saved prompt but a small operating procedure with defined inputs, checkpoints, an output format, and acceptance tests. The practical path…
Log AI integration errors for the operator, not for the caller or the model. The workable rule is to sanitize at the adapter boundary, return a stable…
A language model's confident tone is a property of its generated text, not evidence that the claim is true. OpenAI researchers argue that hallucinations persist because training…
AI APIs are metered HTTP interfaces: a credential authorizes the spend, tokens are the billing unit in both directions, and failures arrive as structured status codes rather…
Bulk AI writing works best as a two-stage pipeline: a planner creates one durable job per article, and a worker pulls jobs at a controlled rate and…
A prompt experiment is only reproducible if the record captures more than the prompt text. Document the immutable prompt revision, its variable and output contract, the model…
Choosing a local AI model is a hardware-fit problem before it is a model-quality problem. Define the job, find your real memory budget, estimate weights plus KV…
A prompt with clear success criteria states the outcome you want, the constraints that matter, the evidence the model may use, and what the final answer must…
Ollama installs with a single command on macOS, Linux, and Windows, and a first local model can be running within minutes. This guide covers prerequisites, installation per…
A slow local AI model is usually not one problem. Separate model loading, prompt processing, and token generation first, then check GPU offload, context length, quantization, and…
AI for WordPress connects AI models and agents to your site to assist with drafting, editing, alt text, comment moderation, and publishing workflows. This guide covers the…