Frequently Asked Questions
On this page
What should I do if the chart generated looks incorrect, or Charts doesn't generate a chart from the prompt?
We are improving Natural Language mode to reduce the occurrence of incorrect responses. In the meantime, we provide a message that helps you understand how to improve the response.
The following table lists the possible messages you can receive and the underlying cause of each.
Message | Further Explanation |
---|---|
Some chart types are currently not supported in the Natural
Language mode. Grouped Bar chart has been selected. Switch to the
Classic mode to change this. | We currently do not supoort the chart type you requested in the
prompt. When you write a prompt, leave the chart type selection to
Charts, or specify another supported chart type. |
Customization options are currently not supported in the Natural
Language mode. Switch to the Classic mode to continue. | We currently do not support customization options in the
Customize section of the Classic mode for
chart generation. |
The prompt is not specific enough. Edit the prompt and try again. | There is not enough information in the prompt to generate a chart. We recommend that you write clear prompts and tag the fields from
your collection with
|
Couldn't find 'field_name' in the data source. Edit the prompt
and try again. | You entered a field that doesn't exist in the data schema. To see
the exisiting fields you can tag from the data source, press the
@ key when writing the prompt. |
In the bottom-left corner of your generated chart, please give us feedback to help improve the response.
What functionality in Classic mode are currently not supported in Natural Language mode?
Does Natural Language Charts rely on a service?
Yes, Natural Language Charts currently uses the Azure OpenAI Service hosted by Microsoft. This is subject to change in the future.
To learn more, see What Services Do MongoDB's GenAI Features Rely On.
What data does Charts send to the model?
When you use Natural Language Charts, Atlas Charts sends the following information to MongoDB's backend and/or the third-party AI provider:
The full text of your natural language prompt.
The schema of the collection used to generate the chart, including collection names, field names, and field data types.
Sample field values to improve the quality of chart recommendations.
The information sent will not be shared with any other third parties or stored by the AI provider. We do not share database connection strings or database credentials. By default, your original query text will be stored by MongoDB for up to one year to help us provide support to customers and improve the service.