🚨 Version 2.0.0 is specifically built for Qrvey Version 9.0
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.
- Download the
index.js
file. - Include it in your HTML:
<script src="path/to/index.js"></script>
npm install @qrvey/qrvey-smart-analyzer
Then import it in your JavaScript:
import '@qrvey/qrvey-smart-analyzer';
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>
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 |
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
}
}
}));
The Smart Analyzer communicates with ChatGPT using your chart data, making it easy to extract meaningful insights through natural conversations.
- 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.