Chat - Maple Help

QuantumChemistry

 Chat

ask AI to define a molecule, drug, or compound or to explain a scientific concept, terminology, or method

 Calling Sequence Chat($s$) Chat($s$, $\mathrm{mo}$) Chat($\mathrm{more}$, $\mathrm{mo}$)

Parameters

 $s$ - item for the large language model to explain. $\mathrm{mo}$ - (optional) option of the form $\mathrm{model}=m$, where $m$ is $\mathrm{ChatGPT}$ or $\mathrm{GPT4}$. $\mathrm{more}$ - string or name of the form more, further, continue, go on, or elaborate.

Description

 • The Chat command asks a large language model to define a molecule, drug, or compound or to explain a scientific concept, terminology, or method. 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 $\mathrm{Chat}\left(\mathrm{more}\right)$. This keyword can be given as a string or a name, and you can equivalently use the arguments $\mathrm{further}$, $\mathrm{continue}$, $\mathrm{go on}$, or $\mathrm{elaborate}$. Note that $\mathrm{go on}$ needs to be quoted because it contains a space.
 • The Chat command uses Maple's NaturalLanguage package.  Maple can interface with OpenAI's GPT-4 and ChatGPT models. The default model is GPT-4; you can select ChatGPT by using the $\mathrm{model}=\mathrm{ChatGPT}$ option, or force use of the GPT-4 model by using the $\mathrm{model}=\mathrm{GPT4}$ 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 when using the results.
 • If you have not agreed to the AI Terms of Use, you will see an error message when you use the Chat command. (The error message varies according to the platform and the interface you use, so it may look slightly different when you receive it.)
 • You can agree to the AI Terms of Use 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.
 – 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.
 – Read and accept the terms.
 References OpenAI. (2024). ChatGPT [Large language model]. https://chat.openai.com/chat

Examples

With the new command Chat you can ask AI to define a molecule, drug, or compound or to explain a scientific concept, terminology, or method.  (Note that before using Chat, you need to review and agree to the AI Terms of Use.)

 >
 > $\mathrm{Chat}\left("Buckminsterfullerene"\right);$
 ${"Buckminsterfullerene, also known as a buckyball, is a specific type of molecular formation that includes 60 carbon atoms arranged in a spherical structure, similar in shape to a soccer ball. It was named after Richard Buckminster Fuller, a renowned architect known for designing structures similar to the shape of this molecule. This particular molecule is a type of fullerene, a category of carbon structures which also includes carbon nanotubes. Buckminsterfullerenes are significant in scientific research due to their unique physical and chemical properties. They are used in a variety of applications, ranging from conductors and superconductors to medical applications. The buckminsterfullerene was discovered in 1985 by a team of scientists including Harry Kroto, Richard Smalley, and Robert Curl, for which they were awarded the Nobel Prize in Chemistry in 1996."}$ (5.1)

or the antibiotic drug penicillin

 > $\mathrm{Chat}\left("penicillin"\right);$
 (5.2)

If we want to know more about penicillin, we can just ask for more

 > $\mathrm{Chat}\left(\mathrm{more}\right);$

We can also inquire about any scientific concept or terminology; for example, we can ask about entanglement

 (5.3)
 > $\mathrm{Chat}\left("entanglement"\right);$

or even an electronic structure method like density functional theory

 (5.4)
 > $\mathrm{Chat}\left("density functional theory"\right);$

The command Chat allow you to connect to the power of AI without leaving either Maple or the Quantum Chemistry package.

 (5.5)
 >