WordPress AI Chat – Local, Private & Always Up to Date
I built a local AI assistant for WordPress content that lets you ask questions and get answers based only on your own posts.
What it does
-
Connects directly to WordPress posts
-
Indexes content into a local vector database
-
Uses a local AI model (via Ollama) to answer questions
-
Shows clear sources for every answer (no hallucinations)
Smart updates
-
Automatically checks if posts change
-
Re-indexes only updated content
-
Shows “Updating content…” status in the UI
-
Displays the last update timestamp
Privacy-first
-
Runs 100% locally
-
No external AI APIs
-
No data sent outside your machine
Clean UI
-
Ask / Clear / Close app buttons
-
Progress indicator while searching
-
Main source + full list of sources
-
Graceful shutdown from the browser
Use cases
-
Website knowledge base
-
Internal documentation chatbot
-
Content exploration for blogs
-
AI-powered search for WordPress sites
This setup proves that AI can be fast, private, transparent, and useful — without relying on the cloud.
Python scripts folder : C:\PythonPrograms\wp_local_bot
fetch_posts.py
chunk_posts.py
build_vector_db.py
update_post.py
(flask) api.py

Comments are closed.