Nik Voice Ticketing AI

外掛說明

Nik Voice Ticketing AI is a production-ready, zero-friction, AI-powered voice ticketing system for WordPress developed by Nik Neural AI Inc. It allows website visitors and logged-in customers to record voice messages, automatically transcribe them using advanced Speech-to-Text models (OpenAI Whisper or Modulate.ai), intelligently categorize and summarize the issue using Large Language Models (OpenAI GPT-4o-mini), and track click interactions on the page during the recording session.

Core Features

  • Vanilla JS Floating Mic Button: Lightweight, ultra-responsive microphone trigger positioned cleanly on the screen.
  • Modern Recording Dock: Real-time recording indicator with pulsating red dot, live elapsed timer, and dynamic animated audio waveform.
  • Interactive Click Tracking & Visual Pinning: Captures DOM element clicks, CSS selectors, coordinates, and millisecond time offsets during voice recording.
  • Speech-to-Text Multi-Model Support: Bring Your Own Key (BYOK) integration with OpenAI Whisper (whisper-1) or Modulate.ai Velma-2.
  • Automated AI Summary & Triage: Uses LLMs to generate a concise summary and intelligently categorize issues into departments (Sales, Technical Support, Billing, General Support).
  • Unique Ticket ID & Email Delivery: Generates a unique Ticket ID and sends an email confirmation directly to the user.
  • Comprehensive Admin Console: Clean 2-column layout with dark mode/light mode switcher, audio playback, download link, click timeline, and deduplicated reply thread.
  • Customer Ticket Portal & WooCommerce Integration: Embed ticket portal via [nikvotia_tickets] shortcode or access via WooCommerce “My Account” dashboard endpoint.
  • Advanced Visibility Controls: Target specific post types, pages, user login states, or specific User IDs.
  • Zero 3rd-Party Frontend Dependencies: Built entirely with pure Vanilla JavaScript and CSS. No jQuery, React, or bulky frameworks.

External Services

This plugin connects to external third-party APIs to process voice audio recordings and deliver AI capabilities:

  1. OpenAI API

* Purpose: Audio transcription via Whisper (whisper-1) and automated ticket summarization/triage via GPT-4o-mini.
* Data Sent: Voice audio file for speech transcription; transcribed ticket text for summarization.
* Service URL: https://api.openai.com
* Terms of Service: https://openai.com/policies/terms-of-use
* Privacy Policy: https://openai.com/policies/privacy-policy

  1. Modulate.ai API

* Purpose: Fast multilingual speech-to-text transcription and voice intelligence via Velma-2.
* Data Sent: Voice audio recording file.
* Service URL: https://api.modulate.ai
* Terms of Service: https://www.modulate.ai/terms-and-conditions
* Privacy Policy: https://www.modulate.ai/privacy-policy

  1. Nik Neural AI Telemetry (Optional – Explicit Opt-In Only)

* Purpose: Anonymous diagnostic telemetry (WordPress version, PHP version, server environment, and site URL) to improve plugin compatibility.
* Data Sent: Site URL, administrator email (optional), PHP version, WordPress version, server software.
* Service URL: https://nikneural.ca/tracking/
* Privacy Policy: https://nikneural.ca/

  1. Nik Neural AI Cloud & Add-ons (Optional)

* Purpose: Commercial support and custom enterprise AI model integrations provided by Nik Neural AI Inc.
* Service URL: https://nikneural.ca/
* Terms of Service: https://nikneural.ca/
* Privacy Policy: https://nikneural.ca/

安裝方式

  1. Upload the nik-voice-ticketing-ai folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Navigate to VoiceDesk Tickets > Settings to configure your API keys (OpenAI or Modulate.ai) and portal page.
  4. (Optional) Add the [nikvotia_tickets] shortcode to a WordPress page for your customer support portal.

常見問題集

Does this plugin require external subscriptions?

No. The plugin operates on a Bring Your Own Key (BYOK) model. You only pay your respective AI provider (OpenAI or Modulate.ai) directly for the API tokens you consume.

Are third-party frontend libraries like jQuery or React loaded?

No. The entire frontend recording dock, modal, click tracking, and audio processing are written in pure Vanilla JavaScript (0 dependencies).

Are voice recordings stored on my WordPress site?

Yes. Voice recordings are saved in your WordPress uploads directory and streamed via authenticated REST endpoints.

Is the developer attribution link optional?

Yes. Per WordPress.org guidelines, the “Powered by Nik Neural AI Inc.” badge is completely optional and can be toggled on or off under VoiceDesk Settings > Appearance.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Nik Voice Ticketing AI〉的開發相關工作。

參與者

將〈Nik Voice Ticketing AI〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄。

變更記錄

1.2.5

  • Critical Security: Resolved unauthenticated arbitrary file upload vulnerability in the public REST voice submission endpoint (props pnn219).
  • Hardening: Added strict MIME verification, magic bytes validation, randomized filenames, and directory execution prevention.

1.2.4

  • Removed unclosed ob_start() and buffer manipulation in REST API controller to adhere strictly to WordPress buffer lifecycle guidelines.
  • Re-verified clean pairing and zero dangling output buffers across all plugin hooks.

1.2.3

  • Added forward-compatibility support for WordPress 7.0+ core AI Client (wp_ai_client_prompt()).
  • Added phpcs:ignore annotations for direct AI provider integrations on WordPress < 7.0.
  • Re-verified zero errors and warnings across all WordPress Plugin Check sniffs.

1.2.2

  • Removed forbidden move_uploaded_file() function; adopted core wp_upload_bits() for WordPress.org compliance.
  • Resolved PHP 8.4 deprecation warning in formatting functions by ensuring parameter null-safety.
  • Fixed misplaced translators comment in REST API to comply with WordPress.org i18n standards.
  • Escaped WooCommerce endpoint output with wp_kses_post() in user portal.
  • Added backward-compatible shortcode alias [nik_voicedesk_tickets].
  • Replaced unverified $_GET parameters in telemetry with WordPress option update hooks.
  • Removed discouraged load_plugin_textdomain() call per WordPress 4.6+ guidelines.

1.2.1

  • Fixed audio upload handling to explicitly allow audio/webm, audio/ogg, and audio/wav MIME types.
  • Replaced native browser alert popups with a modern, accessible in-page notification toast component.
  • Added fallback audio storage to uploads/nikvotia/ to ensure reliability on strict hosts.
  • Hardened external AI and email delivery in try/catch blocks with reduced timeouts.
  • Added automatic nonce retry to prevent 403 authorization rejections on cached pages.
  • Updated standard Semantic Versioning roll across all plugin headers and assets.

1.2.0

  • Added Modulate.ai Velma-2 Speech-to-Text API support.
  • Added reply deduplication and Post-Redirect-Get pattern to prevent duplicate emails on refresh.
  • Added Dark/Light Mode toggle for Ticket Console, Settings, and Ticket listing pages.
  • Added developer attribution opt-in setting in Appearance tab.
  • Updated corporate info to Nik Neural AI Inc. with light and dark mode favicon icons.
  • Added About Nik Neural AI Inc. page under VoiceDesk Tickets.
  • Fixed contrast in light mode for dropdowns, labels, and action buttons.

1.1.0

  • Added WooCommerce My Account endpoint and customer dashboard integration.
  • Added interactive click tracking and visual pin drop during recording.
  • Added unique Ticket ID generation and automatic confirmation emails.

1.0.0

  • Initial release of Nik VoiceDesk AI.