Skip to main content
Version: 1.0.0

Sentences

Phrases are all the elements your agent can pronounce. These are set directly in the configuration of the latter and are broken down as specified below. Basically, it's an object in which the keys are used in the agent to pronounce the sentence. As for the value, it can take two forms.

  • In a basic string.
  • In array form. This allows you to add variations to the phrases spoken for the same key.
danger

When recovering an agent, none of the keys entered must be missing during backup. This could have a negative impact on your agent's operation.

warning

In some sentences, you'll find this kind of format: "Hi {{ interlocutor.firstName}}, how are you today?". This allows us to add dynamic values when pronouncing sentences. To avoid compromising the agent, we advise you not to modify sentences containing these values. We'll expose the conversational context in order to have the set of dynamic values enabled later.