How to Secure a Local AI Endpoint for WordPress with HTTPS and API Keys
A local AI runtime such as Ollama, LM Studio, or llama.cpp usually ships with no authentication and a plain-HTTP listener bound to localhost. WordPress should never talk…
FROM THE AUTHOR
Explore the published guides and contributions from John C. Mullen.
204 published articlesA local AI runtime such as Ollama, LM Studio, or llama.cpp usually ships with no authentication and a plain-HTTP listener bound to localhost. WordPress should never talk…
A RAG assistant avoids repeating your WordPress posts by indexing every published article into a vector store and querying it before the model writes a word. The…
A retrieval-augmented generation pipeline can run entirely on your own machine, including the embedding step that turns documents into vectors. This guide maps the local-only component stack,…
A local RAG pipeline uses Ollama to serve both the chat model and the embedding model, and ChromaDB to store and search document vectors, so answers are…
Rotate and revoke AI API credentials in WordPress by mapping every layer, creating a replacement Application Password or token, updating all consumers, verifying access, and then removing…
A hallucination evaluation for a local model needs three things: questions whose answers you have verified, a cold run with no tools or retrieval, and a grading…
Local embedding models compute document and query vectors on your own hardware, so text never leaves your machine before retrieval. LlamaIndex supports a fully local stack using…
Attention is the operation that lets every token in a transformer gather information from the other tokens in its context: it scores each token against the others,…
Local LLM endpoints time out for reasons cloud APIs rarely do: cold model loads, KV cache allocation, prompt evaluation, and queueing behind other requests. This guide explains…
For local LLMs, dedicated VRAM capacity decides which models you can load at all — compute speed only decides how fast they answer. This guide explains how…
A LangChain RAG pipeline has three stages: index documents, retrieve the passages relevant to a query, and pass those passages to a chat model. This guide walks…
AI-generated WordPress content cannot be regression-tested with exact-match assertions, because correct output varies between runs. The practical replacement is an eval: a scored check that runs a…