Skip to content
Version 1.1.2 Self-Hosted WordPress Widget live on this site

WordPress RAG AI chatbot with instant Telegram handoff.

Turn your WordPress pages, posts, and FAQ notes into a grounded MySQL knowledge base powered by OpenAI or Google Gemini. When a visitor needs a human, move the conversation straight into a dedicated Telegram Forum Topic.

Read Setup Guide
Vector store
WordPress MySQL with sha256 deduplication
Human desk
One Telegram Forum Topic per visitor thread
Page cache
HMAC session tokens and no-store REST replies
Two-Way Bridge Simulator
BridgeChat AI Assistant AI Assistant
POST /bridgechat-ai/v1/chat
Cosine top_k retrieval from wp_bridgechat_ai_chunks
Telegram Forum · Topic #42 Waiting for escalation
Bot API

Three steps from WordPress content to human resolution

Every component runs inside your existing WordPress and MariaDB/MySQL host—without external vector services or helpdesk seats.

  1. 01

    Index into WordPress MySQL

    Select pages, posts, custom post types, standalone HTML files, or FAQ notes. BridgeChat AI strips inline style/script tags and shortcodes, chunks text cleanly, and stores sha256-deduplicated embeddings in wp_bridgechat_ai_chunks.

    auto_index_on_save · wp bridgechat-ai index
  2. 02

    Answer grounded in your pages

    Visitor questions run cosine-similarity retrieval across your chunks using OpenAI (gpt-4o-mini) or Google Gemini (gemini-2.5-flash). Replies cite up to three source pages and refuse to fabricate prices or guarantees.

    top_k=5 · min_similarity=0.25
  3. 03

    Escalate to Telegram Forum Topics

    Clicking Talk to human—or an AI handoff trigger—creates a dedicated Telegram Forum Topic with transcript context. Replies flow back via authenticated webhook. Use /ai to hand back or /close to resolve.

    createForumTopic · /ai · /close

This website is powered by BridgeChat AI right now

Every page, feature guide, pricing tier, and release post you see on this WordPress site is structured for BridgeChat AI’s indexer. Open the floating chat launcher in the bottom-right corner to test the real plugin session API.

Inspect Site Diagnostics
12 Published sources ready for RAG
21 Embedded chunks in MySQL
GEMINI gemini-3.8-flash

Engineered for full-page caching, CDNs, and clean SQL ownership

Most WordPress chat widgets fail behind WP Fastest Cache, Varnish, or Cloudflare because they bake short-lived wp_rest nonces into cached HTML. BridgeChat AI skips HTML nonces in public mode and signs each visitor UUID with a site-unique HMAC-SHA256 secret.

  • Strict Cache-Control: no-store headers on every /bridgechat-ai/v1/ chat response
  • Telegram webhook verification via X-Telegram-Bot-Api-Secret-Token and hash_equals()
  • Per-IP transient rate limits across session creation, AI chat, and human handoffs
  • Full WP-CLI control for CI/CD indexing, retrieval testing, and webhook setup
Explore Technical Architecture
# Preview every post, page, HTML file, and FAQ note ready for RAG
wp bridgechat-ai preview-docs

# Build or incrementally update MySQL embeddings (sha256 skip unchanged)
wp bridgechat-ai index

# Inspect top-K cosine similarity chunks directly from shell
wp bridgechat-ai search "How does Telegram handoff work?"

# Verify Forum Supergroup permissions & register webhook secret
wp bridgechat-ai test-telegram
wp bridgechat-ai register-webhook

Free core plugin with a single Starter Pro upgrade

Start free with your own OpenAI or Gemini keys and full Telegram Forum handoff. Upgrade to Starter when you need lead capture, full transcripts, PDF/DOCX/Sitemap indexing, and spend guardrails.

View Full Feature Matrix
Free Version <>Free Core
$0 Forever

Self-Hosted Core

Everything needed for grounded site AI and live Telegram Forum handoffs using your own API keys.

  • MySQL RAG Knowledge Base Incremental sha256 chunk indexing and cosine-similarity retrieval in WordPress MySQL.
  • BYOK OpenAI & Google Gemini Connect your own OpenAI or Gemini API keys with configurable models.
  • Two-Way Telegram Forum Handoff Dedicated Telegram Forum Topic per escalated conversation with /ai and /close commands.
  • Cache-Safe Widget & Branding HMAC-signed visitor sessions, custom placement, accent color, and starter prompts.

Release notes & engineering guides

Published as WordPress posts—and automatically collected by BridgeChat AI’s RAG indexer.

All Release Notes

Why BridgeChat AI

BridgeChat AI is a self-hosted WordPress plugin built for teams that want grounded AI answers from their own WordPress site without external vector database fees or per-seat live chat subscriptions.

Instead of syncing content to Pinecone or Qdrant, BridgeChat AI stores text chunks, sha256 hashes, and embedding vectors directly inside your WordPress MySQL database. Visitors get concise answers with up to three cited page links, and can escalate anytime with one click on Talk to human.

Core Architecture Highlights

  • Zero external vector DB: Chunk text, hashes, and vectors live in wp_bridgechat_ai_chunks.
  • Dual BYOK AI providers: Choose OpenAI (gpt-4o-mini + text-embedding-3-small) or Google Gemini (gemini-2.5-flash + gemini-embedding-001).
  • Two-way Telegram Forum Topics: Each escalated chat opens one dedicated topic via createForumTopic, with /ai to return control to AI and /close to resolve.
  • Cache and CDN compatibility: Public visitors authenticate using HMAC-SHA256 signed session tokens rather than HTML-baked WordPress nonces, paired with strict Cache-Control: no-store REST responses.

Frequently asked questions

Key technical and licensing answers for deploying BridgeChat AI on WordPress.

Do I need Pinecone, Qdrant, or an external vector database?

No. BridgeChat AI stores chunk text, sha256 content hashes, and embedding vectors directly inside your WordPress MySQL or MariaDB database (wp_bridgechat_ai_chunks) with zero external vector hosting fees.

Which AI providers and models does BridgeChat AI support?

Bring your own API key (BYOK) for OpenAI (gpt-4o-mini with text-embedding-3-small) or Google Gemini (gemini-2.5-flash with gemini-embedding-001) and switch providers anytime in WP Admin.

How does two-way Telegram Forum Topic handoff work?

Clicking Talk to human—or triggering AI auto-handoff—opens a dedicated Forum Topic in your private Telegram Supergroup via createForumTopic. Replies posted inside that topic stream back to the visitor browser chat, and operators can send /ai to hand back to AI or /close to resolve.

Will the chat widget break WP Fastest Cache, Varnish, or Cloudflare?

No. In public visibility mode, BridgeChat AI omits short-lived WordPress REST nonces from cached page HTML and issues HMAC-SHA256 signed visitor session tokens alongside Cache-Control: no-store REST replies.

What is the difference between Free Core and Starter Pro ($59/yr)?

Free Core ($0 forever) includes MySQL RAG indexing, BYOK OpenAI and Gemini chat, cache-safe HMAC sessions, WP-CLI commands, and two-way Telegram Forum Topic handoffs. Starter Pro ($59/year for a single site) adds lead capture with signed CRM webhooks, full transcripts with CSV/JSON export, PDF/DOCX/XML Sitemap RAG ingestion, spend caps, and Cloudflare Turnstile protection.

Ready to bridge AI answers with your real team?

Try the live BridgeChat AI launcher in the corner of this page, or follow the 5-minute setup guide to connect OpenAI or Gemini and Telegram Forum Topics.

View Documentation