UXWizz
WebsitePricingDemoTwitter (X)
  • Introduction
  • 🛠️ Installation
    • Requirements
      • Limitations
      • Server specs (CPU, RAM)
    • Installation guide
      • Uploading the script
      • Creating a MySQL database
      • Running the installer
    • Install on a new server
      • Ubuntu 20.04 (or higher)
      • DigitalOcean
    • Docker
      • Via Docker Compose
      • Standalone Docker image
    • Adding the tracking code
      • Automatic SPA pageview tracking
      • Add tracker to Next.js App
      • Add tracker to React Router App
    • Optimization tips
      • MySQL/MariaDB
      • Auto-delete old data (cron jobs)
      • Apache
    • Frequently Asked Questions
  • 🔧JavaScript API
    • Tags
    • Events
    • Hooks/callbacks
    • Other API functions
    • Session Recording
      • Ignore specific elements
  • 📖Guides and features
    • Goals (NEW!)
    • Ask AI (NEW!)
    • Basic usage
    • A/B testing
    • Usage tips
    • Dashboard user access level
    • Resetting the admin password
    • Database querying
    • Technical details
      • IP Geolocation
    • Troubleshooting
      • Agency
        • MultiDB
      • Dashboard
        • Refreshing dashboard sub-page leads to 404 error
        • Website iframe not loading (x-frame-options)
        • License says "invalid"
        • Updating Fails
      • Tracking
        • No data is being recorded
        • Can't include tracker via Google Tag Manager
        • The A/B test JS file is missing
      • WordPress
        • Cloudways 403 Forbidden screen on WordPress
        • NGINX 403 Forbidden screen on WordPress
    • Extending the dashboard
    • Support
    • Migrating to a new server
  • 🎓Useful Examples
    • Feedback form (polls)
    • Tracking 404 Pages
    • Tracking UTM parameters
    • Tracking Google Ads GCLID
    • Storing user device types
    • Track video playback
  • 📜About
    • Changelog
    • Personal Data Information
    • Privacy Policy (uxwizz.com)
    • Licenses and pricing
    • [Deprecated] License Subscriptions
Powered by GitBook
On this page
  • How does it work?
  • Example query
  • Selecting AI model
  • Generating charts

Was this helpful?

  1. Guides and features

Ask AI (NEW!)

PreviousGoals (NEW!)NextBasic usage

Last updated 6 months ago

Was this helpful?

Ask AI is a new feature in UXWizz that allows you to get insights of your stored data with the help of an AI chatbot (LLM).

To use this feature you currently need an . You also need to have enough credits in your OpenAI account (e.g. $10). Note: The AI model can and will make mistakes or provide incorrect queries.

How does it work?

  1. You type your question. e.g. "How many visitors came from Google versus directly?"

  2. The question, together with the database schema and some instructions (system prompt) are sent to ChatGPT.

  3. The AI generates a MySQL query that answers your question.

  4. The MySQL query is displayed to you. You can then send the query for execution to your local database to get the results.

  5. The output is displayed as JSON in the chat.

  6. The AI can also generate a Chart.js chart from this query.

Soon, there will be additional ways to display the results (graphs, exportable csv, files, images, etc.)

Example query

TIP: You can simply press Enter with an empty input to get some question/prompt ideas.

Selecting AI model

You can change the model from the top-right Settings → GPT Model menu. Currently, only OpenAI ChatGPT API and models are supported.

Generating charts

Ask AI Charts was introduced in version 7.0.0.

You can simply ask the AI to generate a chart. The AI will create a MySQL query that returns the data and a Chart.js configuration. This data + config are then used in your dashboard to display the chart.

Here is a quick demo video:

Coming soon! * Ollama local AI support (ChatGPT alternative) * ChatGPT completion summary (time spent, tokens consumed, estimate cost).

📖
OpenAI ChatGPT API key
Basic UXWizz Ask AI ChatGPT query demo