Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Simple

Simple responses take the form of a chat bubble visually and use text-to-speech (TTS) or Speech Synthesis Markup Language (SSML) for sound. By using short simple responses in conversation, you can keep users engaged with a clear visual and audio interface that can be paired with other conversational elements.

example
app.handle('Simple', conv => {
  conv.add(new Simple({
    speech: 'This is the first simple response.',
    text: 'This is the 1st simple response.'
  }));
  conv.add(new Simple({
    speech: 'This is the last simple response.',
    text: 'This is the last simple response.'
  }));
});
see

Developer Documentation

see

SSML Documentation

Hierarchy

  • Simple

Properties

Properties

speech

speech: string

text

text: string

Generated using TypeDoc