This page is machine-translated from French. Read the French original.

Commands and variables

Two mechanisms accelerate daily work: commands, typed in the conversation, and variables, resolved automatically in the system prompt.


Integrated controls

Typed at the beginning of the message, they are processed before anything else — the document search and the model are not used unnecessarily.

/reset

The conversation restarts in the current thread, without changing threads or modifying documents. Exchanges disappear from the conversation and are no longer sent to the template. They are not deleted, however: they remain in the conversation log, accessible to administrators and managers. To completely erase them, delete the thread.

When to use it: the assistant is stuck on a previous topic, or the thread has become too long and the answers are deteriorating.

During an agent session, /reset also terminates the session. /exit terminates the session on its own.

/img

Generates an image from the following description. /image also works.

/img un schéma isométrique d'un entrepôt logistique, style épuré

Requires that an image generation provider be configured. → Images, videos and voices

/video

Generates a short video from the description below. Requires a configured video generation provider and takes significantly longer than generating an image.

/note

Capture a note instantly in your Second Brain.

/note Le client Dupont préfère être contacté par téléphone le matin.

The note is saved and can be used in your future conversations, across all platforms.


Custom orders

You can define your own shortcuts: a keyword that replaces a long text when sending.

Create an order. From the input area, open the Tools menu (or type /), select the Shortcuts tab, and then Add. You define:

  • the keyword (for example /synthesis);
  • the replacement text — the complete instructions;
  • a description, displayed in the menu.

The keyword is in lowercase, and any character other than an unaccented letter, a number, _ or - is replaced by a hyphen: write /synthese, not /synthèse.

Example. The /synthesis command has been replaced by:

Rédige une synthèse structurée du document en trois parties :
1. Points essentiels
2. Points d'attention ou risques
3. Actions recommandées
Cite le document source pour chaque point.

Then simply type /synthese to send the whole thing.

Good to know:

  • Multiple commands can appear in the same message; each one is replaced.
  • The names of the built-in commands are reserved: a custom command cannot reuse them.
  • Your orders are unique to you and follow you from one space to another.

Typical use cases: proofreading instructions, report format, customer response template, recurring analysis grid.


System prompt variables

Variables are written between single curly braces in the system prompt, with a space, and are replaced with each message. The double curly brace form is not recognized. {{date}} remains as is in the prompt.

Variables provided

Variable Value
{date} Today's date
{time} Current time
{datetime} Date and time
{user.name} Username of the writer
{user.bio} Description that the user has provided about themselves
{workspace.name} Workspace name

{user.name} And {user.bio} are only valid in multi-user mode; in single-user mode, the template receives a placeholder text such as [User name].

24-hour format variants ({time_24}, {datetime_24}) and technical identifiers ({user.id}, {workspace.id}) are also available. The complete list can be found in Settings → System Prompt Variables.

Custom variables

An administrator can define organization-specific variables in Settings → System Prompt Variables: company name, applicable repository, department contact information, procedure version. Their names contain only unaccented letters, numbers, and underscores (_).

The advantage: a value modified in one place propagates to all system prompts that use it.

Example

Nous sommes le {date}. Tu assistes {user.name} au sein de {nom_entreprise}.
Tu travailles dans l'espace « {workspace.name} ».
Applique systématiquement {referentiel_qualite}.

Why the date matters. A language model has no concept of the present day: without a date variable, «Does the contract expire soon?» has no reliable answer. Injecting it resolves an entire category of errors.


Message processing order

1. Content control, if configured → the message can be rejected or redacted here.

2. Built-in command (/reset, /img, /image, /video, /note) → processed, end.

3. Custom commands → replaced by their text.

4. Prefix @agent, or space in Agent mode with a compatible model → control passes to the agent.

5. Otherwise → document search then response generation.