AbrahamSanders / seq2seq-chatbot

A sequence2sequence chatbot implementation with TensorFlow.
MIT License
99 stars 56 forks source link

in chat_ui, speech-to-text mode only activates the mic for about 10 seconds #6

Open AbrahamSanders opened 6 years ago

AbrahamSanders commented 6 years ago

There should be a way to configure how long it listens before shutting off.

sagarhingal commented 6 years ago

We can keep it to always listen righ? It just then filters out the appropriate questions which the user is asking to him?

AbrahamSanders commented 6 years ago

Yeah I think there should be a way to configure it to listen indefinitely. I will need to explore the webkitSpeechRecognition documentation and see if this is possible. If not, there might be a way to capture the event when the speech recognition stops and simply restart it.