Docs Menu
Docs Home
/
Atlas

AI and Data Usage Information

AI features in MongoDB Atlas are powered by Generative AI (Gen AI), and may give inaccurate responses. See our Generative AI FAQ for more information about Gen AI in MongoDB products.

The intelligent assistant is an AI-powered tool designed for integrated, expert MongoDB development support in the Atlas UI.

You can also query data with natural language in MongoDB Atlas. MongoDB Atlas uses AI to generate filter queries and aggregations based on the prompts you provide.

AI features in Atlas currently use the Azure OpenAI Service hosted by Microsoft. This is subject to change in the future.

When you use AI features in Atlas, the following information may be sent to MongoDB's backend and/or the third-party AI provider:

For natural language querying:

  • The full text of your natural language prompt.

  • The schema of the collection you are querying, including database name, collection name, field names, and types.

  • Sample field values to improve the quality of reccomendations.

    Note

    You can prevent Atlas from sending sample field values in the project-level settings. If you disable this setting, you can still use natural language querying, however, responses might be less accurate.

For the intelligent assistant:

  • Explain plan metadata. The "Interpret for me" button uses Explain plan metadata, including the original query, to process requests. The assistant prompts a user to confirm that they're okay with this before proceeding with the request each time.

  • Sanitized connection information. The "Debug for me" button passes sanitized connection information and error messages to the assistant.

The information that is sent will not be shared with any other third parties or stored by the AI provider. We do not send unsanitized connection strings, credentials, rows, or documents from your databases.

You can disable AI-powered features at the project and organization levels.

If you want to use AI features in Data Explorer but want to prevent Atlas from sending sample field values to MongoDB or third-party providers, you can opt out from sharing field values within a project.

Note

If you disable this functionality, responses from your natural language queries and other AI features might be less accurate.

To opt out from sharing field values with the Atlas Administration API, send a PATCH request to the settings endpoint with the isDataExplorerGenAISampleDocumentPassingEnabled boolean flag value set to false.

To opt out from sharing field values with the Atlas CLI, run the following command:

atlas projects settings update --disableDataExplorerGenAISampleDocumentPassing
1

WARNING: Navigation Improvements In Progress

We're currently rolling out a new and improved navigation experience. If the following steps don't match your view in the Atlas UI, see the preview documentation.

  1. If it's not already displayed, select the organization that contains your desired project from the Organizations menu in the navigation bar.

  2. If it's not already displayed, select your desired project from the Projects menu in the navigation bar.

  3. Next to the Projects menu, expand the Options menu, then click Project Settings.

    The Project Settings page displays.

2

Set the Enable Sending Sample Field Values in Data Explorer Generative AI Features toggle to off.

If you no longer want to use natural language querying on your project, you can turn this feature off in the project-level settings.

To disable natural language querying with the Atlas Administration API, send a PATCH request to the settings endpoint with the isDataExplorerGenAIFeaturesEnabled boolean flag value set to false.

To disable natural language querying with the Atlas CLI, run the following command:

atlas projects settings update --disableDataExplorerGenAIFeatures
1

WARNING: Navigation Improvements In Progress

We're currently rolling out a new and improved navigation experience. If the following steps don't match your view in the Atlas UI, see the preview documentation.

  1. If it's not already displayed, select the organization that contains your desired project from the Organizations menu in the navigation bar.

  2. If it's not already displayed, select your desired project from the Projects menu in the navigation bar.

  3. Next to the Projects menu, expand the Options menu, then click Project Settings.

    The Project Settings page displays.

2

Set the Enable Data Explorer Generative AI Features toggle to off.

If you want to prevent users in your organization from using all Atlas features that use generative AI, you can change this setting at the organization level.

To disable AI features for an organization with the Atlas Administration API, send a PATCH request to the settings endpoint with the genAIFeaturesEnabled boolean flag value set to false.

To disable AI features for an organization with the Atlas CLI, specify genAIFeaturesEnabled: false in a JSON configuration file:

{
"genAIFeaturesEnabled": false
}

After you update the genAIFeaturesEnabled field in your configuration file, run the following command to update the organization settings:

atlas api updateOrganizationRoles --file <path-to-config-file>
1

WARNING: Navigation Improvements In Progress

We're currently rolling out a new and improved navigation experience. If the following steps don't match your view in the Atlas UI, see the preview documentation.

  1. If it's not already displayed, select your desired organization from the Organizations menu in the navigation bar.

  2. Click the Organization Settings icon next to the Organizations menu.

    The Organization Settings page displays.

2

Set the Enable Atlas features that use generative AI toggle to off.

Back

Explore Your Data

On this page