Abuja Digital Studio · Est. 2018
Start a Project
DocsOAssistInstallation
Getting Started

Installation

OAssistorravo.com/docs/oassist/installation

Installation

Requirements

  • WordPress 6.5+
  • PHP 8.0+
  • Orravo Core (hard dependency)
  • WooCommerce 8.0+ (hard dependency)
  • An API key from one of the supported LLM providers (you bring your own)

Upload and activate

  1. Upload the oassist/ folder to /wp-content/plugins/.
  2. Activate via Plugins -> Installed Plugins.
  3. If Orravo Core or WooCommerce is missing, an admin notice blocks activation.
  4. Find OAssist under the Orravo Core admin menu.

HPOS compatibility

OAssist declares compatibility with WooCommerce's High-Performance Order Storage (custom order tables) and the Cart/Checkout Blocks on before_woocommerce_init. No configuration needed.

What activation creates

OAssist_Activator::activate() runs OAssist_DB::install(), which creates 10 tables prefixed with oas_:

TablePurpose
oas_sourcesIndexed knowledge sources (products, pages, posts, files)
oas_chunksRAG chunks with embeddings (BLOB)
oas_conversationsChat sessions (channel, user, status, tokens, cost)
oas_messagesPer-turn messages with tool calls, citations, token counts
oas_providersLLM provider configs (API key encrypted, default model)
oas_toolsTool registry (name, JSON schema, scope, handler)
oas_escalationsHuman escalation tickets (reason, channel, assigned_to)
oas_intentsAuto-detected intents per conversation
oas_cachePrompt cache (sha256 hash -> response)
oas_budgetDaily spend tracking (cost, tokens, conversations)
oas_auditAction audit log

Activation also:

  • Registers 13 built-in tools (search_products, get_product, check_stock, get_order_status, track_shipment, apply_coupon, get_loyalty_balance, get_subscription_status, get_wishlist, get_booking_availability, escalate_to_human, create_support_ticket, log_feedback).
  • Seeds 7 inactive provider rows (OpenAI, Anthropic, Google Gemini, Azure OpenAI, Groq, OpenRouter, plus OpenAI embeddings) ready to be configured.
  • Schedules oassist_cron_reindex (daily) and oassist_cron_cleanup (daily).

Plugin constants

phpOASSIST_VERSION    // '1.0.4'
OASSIST_PATH       // Plugin path
OASSIST_URL        // Plugin URL
OASSIST_REST_NS    // 'oassist/v1'
OASSIST_DB_VERSION // '1.0.0'
Installation · OAssist Docs | Orravo