wit-ai / pywit

Python library for Wit.ai
Other
1.45k stars 359 forks source link

Is it possible to use interactive() method in speech? #136

Closed zume2020 closed 4 years ago

zume2020 commented 4 years ago

Is it possible to use interactive() method in speech? It would be really helpful if you can provide any link to documentation or examples regarding .interactive() method for voice interaction.

jtliao commented 4 years ago

Unfortunately, interactive does not support speech at the moment. But, interactive is just a light wrapper around other functions that exist, you should be able to have a loop that takes in audio samples, then using similar prompt logic to keep the interactive conversation

zume2020 commented 4 years ago

okey, thanks! @jtliao