Managing commands

How to manage the commands people can use in an Assistant, from turning them on or off to creating your own.

Commands are reusable shortcuts that let you quickly enter an instruction, pose a question, or perform an action in an Assistant. They help your team get consistent results without writing the prompt themselves. Users run a command in the chat by typing / on their keyboard and the command's name, such as /quiz, or by choosing it from the Commands panel.

Each Assistant has its own set of commands, so you can offer the ones that fit its purpose. For example, a training Assistant might offer /quiz and /slides, while an HR Assistant offers /summarize and a custom command that answers questions in your policy format. An Assistant's commands can be:

  • System commands: Pre-built commands that come with Joy, such as /summarize, /quiz, and /slides. You can turn them on or off, or duplicate one to make a version you can change.
  • Custom commands: Commands you create for your organization's needs, such as a weekly status update command that turns your notes into the format your leaders expect.

You manage both types on the Assistant's Commands tab.

Viewing an Assistant's commands

To view an Assistant's commands, follow these steps.

Open the Management Center and click Assistants.

Find the Assistant.

You can browse the list or use the search bar.

Click the Assistant's name.

The Assistant Admin panel opens.

Go to the Commands tab.

On the Commands tab, a table shows each command's name, whether it's turned on, its type (System or Custom), its category, and its description. Below the table, you can see how many commands are turned on for the Assistant.

Each command has a  More Actions icon that lists the different things you can do. For a system command, you can view its details, duplicate it, and turn it on or off. For a custom command, you can also edit or delete it.

Finding a command

When an Assistant has a lot of commands, you can narrow down what you see in a few ways.

  • Search: In the search bar, enter a command's name.
  • Filter: Click the  Filter icon next to the Type or Category column heading, then choose what to show. For example, to see only the commands your team created, click the  Filter icon next to Type and select Custom.
  • Sort: Click a column heading to sort the table by that column. For example, click Category to list the commands in alphabetical order by category.

To clear your filters and sorting, click the  Reset filters and sorting icon.

Viewing a command's details

A command's details show everything about it, including the instructions it sends to the Assistant. To view a command's details, follow these steps.

Go to the Assistant's Commands tab.

Click the command's  More Actions icon, then About.

A window opens with the command's details.

The window shows the command's fields and settings, such as its prompt and category. For a custom command, you can click the  Edit icon to change them.

Turning a command on or off

When you turn off a command, it stays on the Assistant's Commands tab, but users can no longer use it in the chat. You can turn it back on at any time. To turn a command on or off, follow these steps.

Go to the Assistant's Commands tab.

Click the command's toggle to turn it on or off.

The change takes effect immediately.

You can also turn a command on or off by clicking its  More Actions icon, then Enable or Disable.

To turn many commands on or off at once, search or filter the table so it shows only those commands, then click the toggle in the heading row, above the commands' toggles. If some of the commands shown are on and some are off, it turns them all on.

Turning on new commands automatically

When Joy adds new system commands, your team can start using them right away. Use Auto-enable new, at the top of the Commands tab, to choose whether new system commands are turned on for this Assistant when they arrive. This setting is on by default.

Turn off Auto-enable new if you'd rather review new system commands before your team can use them. Then, when Joy adds a new system command, it stays off until you turn it on.

Creating a custom command

To create a custom command, follow these steps.

Go to the Assistant's Commands tab.

Click + Command.

The New Command window opens.

In the Command Name field, enter a clear name that describes what the command does.

Users see this name in the Commands panel and type it after / to run the command.

In the Prompt field, enter the instructions to send to the Assistant when a user runs the command.

Fill in any optional fields, such as a description, guidance, or category.

Click Save.

The command appears on the Assistant's Commands tab, and users can run it immediately.

To customize a system command, duplicate it and change the copy.

Editing a custom command

To edit a custom command, follow these steps.

Go to the command's details.

Click the  Edit icon.

You can now change the command's details.

Make your changes, such as a new prompt or category.

Click Save.

Your changes take effect immediately.

System commands can't be edited, but you can duplicate one to make a version you can change.

You can also edit a command from the Commands tab by clicking its  More Actions icon, then Edit.

Duplicating a command

Duplicating a command copies its prompt and settings into a new custom command, which you can then change. It's the only way to customize a system command, and a quick way to make a variation of one of your own.

To duplicate a command, follow these steps.

Go to the Assistant's Commands tab.

Click the command's  More Actions icon, then Duplicate.

The New Command window opens with the command's details filled in. Its name starts with Copy of, such as Copy of summarize.

Change the name and anything else you need, such as the prompt or category.

Click Save.

The new command appears on the Assistant's Commands tab, and the original stays the same.

If you're replacing a system command with your own version, turn off the system command so users don't see both.

Deleting a custom command

You can delete any custom command your team no longer needs, but not system commands.

To delete a custom command, follow these steps.

Go to the Assistant's Commands tab.

Click the command's  More Actions icon, then Delete.

The Delete command? window opens.

Click Delete.

The command is permanently removed from the Assistant.

If you might need the command again later, turn it off instead. You can turn it back on at any time.

Command fields and settings

When you create, edit, or duplicate a command, you'll see the following fields and settings, grouped into two sections: Basic Info and Advanced.

Basic Info

  • Command Name: A clear name that describes what the command does, such as meeting summary. Users see this name in the Commands panel and type it after / to run the command. Keep it short and different from the Assistant's other commands, including system commands.
  • Enabled: Whether users can see and use the command.
  • Prompt: The instructions the Assistant follows when a user runs the command. Write it the way you'd write a request in a chat.
  • Description: A short summary of what the command does. This description appears in the Commands panel when using the Assistant.
  • Guidance: A short question or instruction users see instead of the prompt when they use the command, such as What topic would you like to be quizzed on? Without guidance, using the command puts the prompt in the message box, where users can edit it before sending. Click + Guidance to add guidance, or the  Remove guidance icon to remove it.
  • Type (view only): Whether the command is a System command from Joy or a Custom command your team created.
  • Category: A way to group related commands. Select an existing category or type a new one. Commands in the same category appear together in the Commands panel when using the Assistant.

Advanced

The following settings are turned on by default. Turn one off when the Assistant's usual instructions would get in the way of what the command needs to do.

  • Retain system instructions: If on, the Assistant follows its system instructions as well as the command's prompt. If off, the Assistant ignores its system instructions when it runs the command.
  • Retain custom instructions: If on, the Assistant follows its custom instructions as well as the command's prompt. If off, the Assistant ignores its custom instructions when it runs the command.

For example, suppose your HR Assistant's custom instructions limit its answers to three sentences. You create a command that users can run to quickly write an onboarding checklist, which needs to be longer than three sentences. In this case, it's a good idea to turn off Retain custom instructions for the command, so the Assistant writes the full checklist. Its other replies in the chat still stay within three sentences.

A command can only use instructions that are turned on for the Assistant. For example, if the Assistant's Custom Instructions setting is off, the command doesn't use custom instructions, even when Retain custom instructions is on.