@qrvey/qrvey-smart-analyzer

2.0.2 • Public • Published

Qrvey Smart Analyzer (@qrvey/qrvey-smart-analyzer)

🚨 Version 2.0.0 is specifically built for Qrvey Version 9.0


📌 Description

Qrvey Smart Analyzer unleashes the power of artificial intelligence (AI) to acquire new insights into your data.

This feature creates a seamless integration between ChatGPT and the data in your Qrvey charts, allowing you to ask natural language questions and get intelligent answers — without altering or modifying your datasets in any way.


🚀 Installation & Usage

Option 1: Use via CDN / Script Tag

  1. Download the index.js file.
  2. Include it in your HTML:
<script src="path/to/index.js"></script>

Option 2: Use via NPM

npm install @qrvey/qrvey-smart-analyzer

Then import it in your JavaScript:

import '@qrvey/qrvey-smart-analyzer';

🧩 Web Component

Once included, you can use the web component in your HTML:

<q-smart-data-analyzer
  domain="YOUR_DOMAIN"
  cdn="YOUR_CDN"
  token="YOUR_TOKEN_OR"
  apikey="YOUR_APIKEY"
></q-smart-data-analyzer>

Required Props

Prop Required Description
domain Your Qrvey domain
cdn CDN location for required assets
token ⚠️ Either token or apikey is required
apikey ⚠️ Either token or apikey is required

💬 Triggering the Smart Analyzer

To open the Smart Analyzer modal (see screenshot in docs), trigger the qvSmartAIOpen event with the following payload:

window.dispatchEvent(new CustomEvent('qvSmartAIOpen', {
  detail: {
    data_portion: chartData, // Your chart data
    model: {
      userid: '<QrveyUserID>', // Required
      appid: '<QrveyAppID>'   // Required
    }
  }
}));

🧠 AI Integration Powered by ChatGPT

The Smart Analyzer communicates with ChatGPT using your chart data, making it easy to extract meaningful insights through natural conversations.


📝 Notes

  • This version (2.0.0) is tailored for Qrvey v9.0 and may not be compatible with earlier versions.
  • Your data is never modified by this tool — it is read-only for analysis purposes.

Readme

Keywords

none

Package Sidebar

Install

npm i @qrvey/qrvey-smart-analyzer

Weekly Downloads

92

Version

2.0.2

License

MIT

Unpacked Size

76.3 kB

Total Files

3

Last publish

Collaborators

  • amit.bhatnagar
  • ricardo.madrid
  • jmsosa
  • emirpolo
  • sandresbc86
  • juandavidleg1
  • hugo.tilano
  • mario.vasco
  • jose.gonzalez.qrvey
  • qrvey-jespinel
  • daniel.henriquez
  • everacostaqrvey
  • steven.barrientos
  • andresbetinqrvey