Archives: Docs

  • Gregius Data – Logs

    Overview Gregius Data captures operational records from every component — RAG, Search, Sync, Vectors, Connections, Models, Cron, and System — into a single centralized log. Each entry carries a severity level, a component classification, and a timestamp, with sensitive data masked automatically before storage. Site administrators can view, filter, export, and manage these logs through…

  • Gregius Data – RAG Assistant Block

    Overview The RAG Assistant block lets you publish a retrieval-augmented chat assistant on any page or post. Visitors ask questions in plain language, and the assistant answers from your synchronized WordPress content, citing the sources it used. It enables site editors to add a grounded, on-brand assistant by placing a single block — no code…

  • Gregius Data – WPCLI

    Overview Gregius Data ships a full WP-CLI command surface under wp gregius-data — eight command families covering sync, vectors, RAG answers, benchmarks, evaluation, listing, and logs. Every subcommand accepts a –format flag (table, json, or csv), producing deterministic output for scripts and CI/CD pipelines. Automation and scripting are a site operator’s most reliable tools. Without…

  • Gregius Data – Vectors and Embeddings

    Overview Gregius Data’s vector subsystem generates and manages semantic embeddings that power AI search and retrieval across your WordPress content. It supports three vector generation approaches — internal TF-IDF with vocabulary management, a stateless HashingTF method requiring no preparation step, and provider-backed API embeddings — each scoped to a data connection and its active models.…

  • Gregius Data – Synchronization

    Overview The sync subsystem keeps your PostgreSQL database in sync with WordPress content — posts types, metadata, and taxonomies — in two complementary modes: Both modes route through the same content pipeline: HTML cleaning, MD5 hash change detection, chunking, and provider dispatch (PDO or PostgREST). Prerequisites How Sync Works A sync operation flows through a…

  • Gregius Data – Semantic Search

    Overview Gregius Data enhances WordPress search with PostgreSQL-powered retrieval. Full-text search, typo-tolerant trigram matching, and optional vector-based semantic search combine through a unified interface that integrates directly with the standard WordPress search experience. Prerequisites How to: Enable Enhanced Search Enhanced search replaces the default WordPress search with PostgreSQL-powered retrieval. Once enabled, all site search queries…

  • Gregius Data – Schema Management

    Overview The Schema Management subsystem creates, verifies, versions, and upgrades the database contracts required by Gregius Data features — sync, search, and vectors. It handles both direct PostgreSQL connections and PostgREST/Supabase connections with provider-specific setup flows. Prerequisites How It Works The schema manager orchestrates lifecycle per connection, routing behavior based on the connection’s provider type.…

  • Gregius Data – Retry Queue

    Overview The Retry Queue subsystem recovers automatically from transient database sync failures. When a sync operation fails, the error is classified and, if recoverable, queued for automatic retry with exponential backoff. Items that exhaust all retry attempts move to a dead letter queue for operator review and manual recovery. Prerequisites How It Works Error classification…

  • Gregius Data – Retrieval Augmented Generation (RAG)

    Overview Gregius Data’s RAG subsystem grounds every answer in your synchronized WordPress content. It orchestrates three sequential phases — retrieval, governance, and generation — returning answers with source attribution or explicit abstentions when acceptable evidence is unavailable. Prerequisites How RAG Works When a user submits a query, the RAG subsystem processes it through three sequential…