Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions source/query-with-natural-language.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,13 @@ You may want to use natural language to query in |compass-short| to:
Behavior
--------

.. BEGIN-COMPASS-ONLY

- |compass-short| natural language querying is available starting in version
``1.40.x``.

.. END-COMPASS-ONLY

- Natural language querying utilizes `Azure Open AI
<https://azure.microsoft.com/en-us/products/ai-services/openai-service>`__
as its current provider. This provider may be subject to change in
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,22 +32,16 @@ AI provider:
- The schema of the collection you are querying,
including database name, collection name, field names, and types.

.. BEGIN-COMPASS-ONLY
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed these tags from this page since Atlas docs will have it's own version of this page that isn't migrated from Compass.


- Enable sending sample field values. This is an optional setting to
improve the quality of recommendations. You can manage this through the
``Enable sending sample field values`` setting in
:ref:`Compass settings <compass-settings-reference>`. This setting
is off by default.

.. END-COMPASS-ONLY

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

.. BEGIN-COMPASS-ONLY

Disable Natural Language Querying
---------------------------------

Expand All @@ -59,5 +53,3 @@ Disable Natural Language Querying
:guilabel:`Artificial Intelligence` settings.
- To prevent usage of this feature entirely, you can disable it in the
:ref:`global configuration file <config-file>`.

.. END-COMPASS-ONLY
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ you must:
- Sign into Atlas. For details on how to get a free Atlas
account and deploy a free M0 cluster, see :ref:`atlas-getting-started`.

.. BEGIN-COMPASS-ONLY
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed these tags from this page since Atlas docs will have it's own version of this page that isn't migrated from Compass.


- Install |compass-short| version 1.40.0 or later. For instructions on
downloading and installing the latest version, see :ref:`download-install`.

Expand All @@ -46,8 +44,6 @@ you must:
You can also enable Natural Language Querying using the configuration
file. For details, see :ref:`config-file`.

.. END-COMPASS-ONLY

Steps
-----

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ About this Task

.. note::

.. include:: /includes/fact-natural-language-query.rst
.. include:: /includes/shared/fact-natural-language-query.rst

- You can also provide natural language prompts on the
:ref:`documents tab <compass-prompt-natural-language-query>`.
Expand All @@ -34,7 +34,8 @@ About this Task
Before you Begin
----------------

You must :ref:`enable natural language querying in Compass <compass-enable-natural-language-querying>`.
You must :ref:`enable natural language querying
<compass-enable-natural-language-querying>` in |compass-short|.

Steps
-----
Expand Down Expand Up @@ -78,10 +79,10 @@ Steps

.. tip::

.. include:: /includes/fact-natural-language-feedback.rst
.. include:: /includes/shared/fact-natural-language-feedback.rst

Example
-------
Examples
--------

Below are examples of prompts to help you understand expected results
when using natural language prompts for aggregation.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ About this Task

.. note::

.. include:: /includes/fact-natural-language-query.rst
.. include:: /includes/shared/fact-natural-language-query.rst

- You can query with natural language to create both queries and
aggregations. If your prompt results in an aggregation, you are
Expand Down Expand Up @@ -74,7 +74,7 @@ Steps

.. tip::

.. include:: /includes/fact-natural-language-feedback.rst
.. include:: /includes/shared/fact-natural-language-feedback.rst

Example
-------
Expand Down
Loading