Mother Nature Commands Software

This API is designed as an explanation of all commands that our prototype AI chat bot is capable of understanding. Only some of these commands may be available to users depending on their authentication. The following commands apply only if you have downloaded our software from our GitHub. If you are using Discord to communicate with Mother Nature, follow the Mother Nature Commands Discord API page.

Get the current list of commands

Get the list of all commands.

commands()

Check Whether a molecule is safe as a Color Additive

Compares the given chemical to the FDA Color Additive Status List.

is_color_legal(chemical_name)

Parameters:

  • chemical_name(string) : The name of a chemical.

Check Whether a molecule is safe as FDA Color Additive

Checks if any color additives have changed in the FDA Color Additive Status List.

check_fda_color_status()

Remove Smiles from the Chemical Training List

Removes the SMILE at the given index in the given chemical training list.

remove_smile_file(smile_index, categories)

Parameters:

  • smile_index(int) : A number corresponding to the location of a SMILES in the given chemical training list. These training lists can be found by using fetch_training_set(categories) or by manually looking in our GitHub repository.

  • categories(string) : The name(s) of the category(s) for the training list(s).

Add Smiles to the Chemical Training List

Appends the given SMILE to the given chemical training list.

add_smile_file(smile, categories)

Parameters:

  • smile(string) : A valid SMILES. See here for help with SMILES.

  • categories(string) : The name(s) of the category(s) for the training list(s).

Rerun Training for Deep Learning

Retrains the Mother Nature bot in the given chemical category.

retrain_mother_nature(channel_name, retrain_again)

Parameters:

  • channel_name(string) (optional) : The name(s) of the category(s) to be retrained. If no input is given will default to the name of the channel the command is used it.

  • retrain_again(bool) : If true, then the given category(s) will retrain every 7 days.

Generate Chemicals For Different Categories - Lorax

Generates new chemicals in the given category(s). Cannot generate chemicals for war, narcotics, and performance enhancements categories.

make_github_issue_lorax(channel_name, categories)

Parameters:

  • categories(string) : The name(s) of the category(s) for the new chemicals.

Generate Chemicals For Different Categories - Arbiter

Generates new chemicals in the given category(s). Can generate chemicals for war, narcotics, and performance enhancements categories.

make_github_issue_arbiter(channel_name, categories)

Parameters:

  • categories(string) : The name(s) of the category(s) for the new chemicals.

Create a Graph Node in GlobalChem

Creates a new node in the Global Chem repository.

create_graph_node(node_class_name, text_message)

Parameters:

  • node_class_name(string) : The name of the node.

  • text_message(string) : The list of chemicals to be added to the node.

Fetch the Training Set Used in Retraining

Gets the training set from the specified category.

fetch_training_set(categories)

Parameters:

  • categories(string) : The name(s) of the category(s) for the training list(s).

Last updated