@@ -17,151 +17,9 @@ when a |charts| feature is available for evaluation purpose and not
17
17
recommended for production deployments. The feature and its
18
18
corresponding documentation can change at any time.
19
19
20
- .. _nlc:
21
20
22
- Natural Language Charts
23
- -----------------------
21
+ .. comment the note below out when there are experimental features
24
22
25
- Natural language charts simplifies the chart creation process.
26
- It supports the following chart types built with :ref:`series
27
- <charts-series-encoding>` and :ref:`aggregation
28
- <building-charts-aggregation>` :ref:`encoding channels
29
- <encoding-channels>`:
23
+ .. note::
30
24
31
- - Grouped Bar
32
- - Stacked Bar
33
- - Stacked 100% Bar
34
- - Grouped Column
35
- - Stacked Column
36
- - Stacked 100% Column
37
- - Discrete Line
38
- - Discrete Area
39
- - Stacked 100% Area
40
- - Number
41
- - Table
42
- - Donut
43
-
44
- The chart types above support boolean, date, string, and number
45
- :ref:`filtering <interactive-filtering>`, :ref:`sorting
46
- <charts-sort-data>`, :ref:`binning <charts-bin-data>`, and
47
- :ref:`limiting <charts-limit-data>`.
48
-
49
- After you enter a prompt about a chart you would like to see, the AI
50
- model creates the chart.
51
-
52
- Procedure
53
- ~~~~~~~~~
54
-
55
- .. procedure::
56
- :style: normal
57
-
58
- .. step:: Add a natural language chart.
59
-
60
- .. procedure::
61
- :style: connected
62
-
63
- .. step:: From the :guilabel:`Dashboards` page, select the dashboard
64
- where you want to add a new chart. For instructions on setting
65
- up a dashboard, see :doc:`Dashboards </dashboards>`.
66
-
67
- .. step:: Click the :guilabel:`Add Chart` button.
68
-
69
- .. step:: In the :guilabel:`Select Data Source` modal, click the
70
- :guilabel:`Project` tab.
71
-
72
- .. step:: In the cluster where you loaded the
73
- sample data, select the ``listingsAndReviews`` collection
74
- in the ``sample_airbnb`` database.
75
-
76
- .. step:: Toggle the switch on the top navigation from :guilabel:`Classic` to :guilabel:`Natural Language`.
77
-
78
- When you toggle this, you must click the :guilabel:`Use
79
- Natural Language Mode` button in the :guilabel:`Natural
80
- Language Mode` modal to accept the `MongoDB Acceptable
81
- Use Policy
82
- <https://www.mongodb.com/legal/acceptable-use-policy>`__ and
83
- `Privacy Policy
84
- <https://www.mongodb.com/legal/privacy-policy>`__.
85
-
86
- .. figure:: /images/charts/nl-mode-modal.png
87
- :figwidth: 300px
88
- :alt: Natural Language Mode Modal
89
-
90
- If you click :guilabel:`Back to Classic Mode`, |charts|
91
- switches you back to :guilabel:`Classic` mode.
92
-
93
- .. note::
94
-
95
- You can seamlessly switch between :guilabel:`Classic`
96
- and :guilabel:`Natural Language` mode. |charts| retains
97
- the prompts and suggestions when you change modes as long
98
- as you keep the encoding and filter tabs the same in the
99
- chart builder.
100
-
101
- .. step:: Describe the chart you want to create.
102
-
103
- In the :guilabel:`Prompt` box, specify the chart you want |charts|
104
- to create.
105
-
106
- We recommend that you write clear prompts and tag the fields from
107
- your collection with ``@``. The following list provides examples
108
- of clear prompts:
109
-
110
- - Use a line chart to display trends in quarterly sales data.
111
- - Display monthly sales revenue for the last year.
112
- - Visualize weekly sales data in year 2022 using a discrete line chart.
113
- - Show the age distribution of our customers.
114
- - Show me the top 3 property_type and all other properties grouped together with the highest price.
115
-
116
- .. note::
117
-
118
- Your prompt cannot exceed 500 characters.
119
-
120
- If you're unsure of what chart you would like to see, you can
121
- choose one of the :guilabel:`Suggested Prompts` and click
122
- :guilabel:`Select`.
123
-
124
- .. tip::
125
-
126
- If your :guilabel:`Suggested Prompts` section does not load,
127
- click :guilabel:`Retry`.
128
-
129
- .. figure:: /images/charts/nlc-suggested-prompts.png
130
- :figwidth: 508px
131
- :alt: Natural Language Charts Suggested Prompts Load Error
132
-
133
- .. step:: Click :guilabel:`Generate chart`.
134
-
135
- |charts| displays your chart and also generates a title based
136
- on your prompt.
137
-
138
- .. step:: (Optional) Customize your chart.
139
-
140
- To :ref:`customize your chart <customize-charts>`, toggle the
141
- switch on the top navigation from :guilabel:`Natural Language`
142
- to :guilabel:`Classic`.
143
-
144
- .. step:: (Optional) Give feedback about your generated chart.
145
-
146
- On the bottom-left corner of your generated chart, click the
147
- thumbs up or thumbs down button.
148
-
149
- .. step:: Click :guilabel:`Save and Close`.
150
-
151
- Disable AI Features
152
- ~~~~~~~~~~~~~~~~~~~
153
-
154
- If you want to prevent users in your project from using AI features,
155
- disable the AI feature:
156
-
157
- .. procedure::
158
- :style: normal
159
-
160
- .. step:: In your left navigation menu, click :guilabel:`AI features`.
161
-
162
- .. step:: Set the toggle to off.
163
-
164
- To learn more, see :website:`New Intelligent Developer Experiences
165
- Compass Atlas Charts Relational Migrator
166
- </blog/post/new-intelligent-developer-experiences-compass-atlas-charts-relational-migrator>`
167
- and :ref:`charts-ai-data-usage`.
25
+ Currently, |charts| does not have any experimental features.
0 commit comments