LucasBassetti/react-simple-chatbot

ENABLE/DISABLE SPEECH

Opened this issue · 0 comments

Speech works but it repeats all the conversation each time when cache={true} and speechSynthesis={{ enable: true, lang: 'en' }}

To Reproduce
Steps to reproduce the behavior:

  1. Create long conversation with chatbot
  2. Reset ChatBot React component (In my case I reset it to turn audio on or off, I have a button for it to disable/enable the speechSynthesis)
  3. All the conversation is reproduced in the audio each time I turn the audio on, sometimes very large conversations

Expected behavior
A way to reproduce audio only the new dialogs with the chatbot