You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Business users can ask questions about your organization's Cube data model and run queries using natural language.
4
+
AI Assistant is integrated with the [Playground][ref-playground] and [Semantic Catalog][ref-catalog] so that users can easily explore their results further.
5
+
6
+
<SuccessBox>
7
+
8
+
AI Assistant is available in Cube Cloud on
9
+
[Premium and above](https://cube.dev/pricing) tiers.
10
+
[Contact us](https://cube.dev/contact) for details.
AI Assistant is currently in preview. To get started, please ask your account team to enable AI Assistant for you.
19
+
20
+
Then, if you've already set up Semantic Catalog, you're ready to use AI Assistant. If you haven't, do the following to enable AI Asisstant:
21
+
22
+
1. In your Cube deployment sidebar, navigate to "Settings" and then "Catalog Services"
23
+
2. Click the button to enable the Catalog. This will connect your Cube data model and enable AI Assistant.
24
+
3. If you'd like to connect any downstream business intelligence tools, follow the [guide on the Semantic Catalog page][ref-catalog-downstream].
25
+
26
+
## Using AI Assistant
27
+
28
+
Users can ask questions and have conversations with the AI Assistant to better understand the data in your Cube data model, to pull data, and run basic analyses.
29
+
There are two specific types of questions that the AI Assistant can answer: catalog questions and data queries. These are described in more detail below.
30
+
31
+
### Catalog questions
32
+
33
+
A catalog question is a question about what data is available to the user or what particular data assets mean (for example, a dimension or measure).
34
+
35
+
**Example**
36
+
37
+
A user might want to do some analysis around geographies, but they're not sure if their organization already has dashboards about users' locations
38
+
or how granular their organization's data on user locations goes. They could ask:
39
+
40
+
> What info do we have about user locations?
41
+
42
+
The AI Assistant will reply with a summary and display the dashboards, charts, and/or Cube view(s) containing location information for the user to explore.
### 1. What language model(s) does the AI Assistant use?
64
+
65
+
- The AI Assistant currently uses GPT-4o from OpenAI, but this may change in the future
66
+
67
+
### 2. Are conversations saved or used for training models?
68
+
69
+
- Per our terms with the LLM provider(s), they do not use the conversations for training models.
70
+
- They may save conversations for up to 30 days for abuse and fraud monitoring purposes.
71
+
- Note that customer data (i.e. the results of queries) is _never_ visible to the LLM in the AI Assistant.
72
+
73
+
### 3. Can the LLM hallucinate or give incorrect results?
74
+
75
+
- We make every effort to avoid hallucinations and incorrect results. However, the nature of AI-based systems is that they may make mistakes from time to time.
76
+
- If the model hallucinates data assets (such as dimensions, measures, or views) that don't exist, the user will see an error in the playground. It will _never_ return "fake" data, as a valid Cube query is needed to display results.
77
+
78
+
### 4. How can I give feedback or train the model?
79
+
80
+
- To give feedback to the model, use the thumbs-up and thumbs-down buttons that appear under each response.
81
+
- If a model is consistently getting something wrong, it may be a sign that the data model is confusing or incomplete. Check things like field labels and descriptions and make sure that irrelevant fields are not marked as visible in your Cube data model.
Semantic Catalog is currently in preview. First, ask your account team to enable it for you.
21
+
22
+
Then, in your Cube deployment, navigate to the "Catalog" sidebar tab.
23
+
If it is not already enabled, there will be a button to get started.
24
+
After you click this button, your Cube data model will sync to the Semantic Catalog.
25
+
In a few moments, you will see Cubes, Views, and Tables appear in the Semantic Catalog.
26
+
27
+
### Connecting downstream tools
28
+
29
+
In addition to your Cube data model, Semantic Catalog can be used to understand charts and dashboards in downstream business intelligence and data visualization tools.
30
+
These currently include:
31
+
32
+
-[Tableau][ref-tableau]
33
+
-[Superset][ref-superset]
34
+
-[Preset][ref-superset]
35
+
- Amazon Quicksight
36
+
37
+
To connect these, navigate to "Settings" in your Cube deployment sidebar, and then choose "Catalog Services."
38
+
Click the "Add Service" button, and a modal will pop up for you to enter credentials, test the connection, and create your service.
0 commit comments