NaturalLanguage - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

Home : Support : Online Help : Programming : Packages : NaturalLanguage

Overview of the NaturalLanguage Package

 

Description

List of NaturalLanguage Package Commands

Examples

References

Compatibility

Description

• 

The NaturalLanguage package offers an interface to explore using large language models such as ChatGPT for processing natural language in Maple.

• 

Before using this package, you need to agree to the terms of use.

To agree to the terms of use:

1. 

In the Maple Standard Interface, on the left side of the Maple window, click the AI Formula Assistant tab.

2. 

Click AI Terms of Use.

3. 

Read and accept the terms and click Apply Globally. Now the functionality in both the AI Formula Assistant and the NaturalLanguage package is enabled.

  

Note: Large language models often generate inaccurate statements. Please keep this in mind: this is not technology for building a bridge with.

List of NaturalLanguage Package Commands

• 

The package contains the following commands.

Explain

ask a large language model to explain a concept

GetCommand

ask a large language model to find a Maple command

GetMath

ask a large language model a question to be answered with math

Query

ask a large language model to answer a question in English and math

RawQuery

send a query directly to a large language model

• 

Before using any of the commands in this package, you need to review and agree to the AI Terms of Use. You can do so in Maple's Standard GUI, in two ways:

– 

Open the Options dialog using the menus (the linked help page describes how).

– 

Ensure the General tab is active.

– 

Select the button labeled AI: Terms of Use.

– 

Read and accept the terms.

  

Alternatively:

– 

Open the pane on the left hand side of the main window, if it is closed.

– 

Select the AI Formula Assistant tab.

– 

Select the button labeled AI Terms of Use.

– 

Read and accept the terms.

Examples

(1)

If you have not agreed to the AI Terms of Use, you will see an error message when you use the NaturalLanguage package. (The error message varies according to the platform and the interface you use, so it may look slightly different when you receive it.)

Error, (in NaturalLanguage:-RawQuery) before using the NaturalLanguage package, you need to review and agree to the AI Terms of Use. You can do so by opening the Options dialog (Tools > Options > General tab) and selecting AI Terms of Use.

Once you agree to the AI Terms of Use, this error does not occur.

(2)

(3)

(4)

(5)

(6)

References

  

The OpenAI website.

Compatibility

• 

The NaturalLanguage package was introduced in Maple 2024.

• 

For more information on Maple 2024 changes, see Updates in Maple 2024.


Download Help Document