NaturalLanguage
|
ask a large language model to explain a concept
|
|
Calling Sequence
|
|
Explain()
Explain(, )
Explain(, )
|
|
Parameters
|
|
|
-
|
item for the large language model to explain.
|
|
-
|
(optional) option of the form , where is or .
|
|
-
|
string or name of the form more, further, continue, go on, or elaborate.
|
|
|
|
|
Description
|
|
•
|
The Explain command asks a large language model to explain something. The item to be explained can be a string, an algebraic expression, a relation such as an equation or inequality, or a list or set of expressions or relations.
|
•
|
After an explanation, you can ask for more detail by issuing the command . This keyword can be given as a string or a name, and you can equivalently use the arguments , , , or . Note that needs to be quoted because it contains a space.
|
•
|
Maple can interface with OpenAI's GPT-4 and ChatGPT models. The default model is GPT-4; you can select ChatGPT by using the option, or force use of the GPT-4 model by using the option. Note that OpenAI may deprecate and disable models, so the set of models supported may change in the future.
|
|
Note: Large language models often generate inaccurate statements. Please keep this in mind: this is not technology for building a bridge with.
|
|
|
Examples
|
|
>
|
|
| (1) |
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
| (5) |
| (6) |
>
|
|
| (7) |
>
|
|
| (8) |
>
|
|
| (9) |
| (10) |
|
|
References
|
|
|
|
Compatibility
|
|
•
|
The NaturalLanguage:-Explain command was introduced in Maple 2024.
|
|
|