ankitjayswal87 / VoiceBot

Integration of Asterisk and Rasa to create custom Voice Assistants
4 stars 4 forks source link

Replace another service stt and tts #1

Open lionnet1981 opened 4 months ago

lionnet1981 commented 4 months ago

Is it okay if I try using different speech-to-text services like Vosk and a text-to-speech service like Coqui TTS? I've attempted to incorporate them into the project several times, but they haven't been successful. However, when I ran your code and the log asterisk: AGI Script speech-to-text.py completed, returning 0 but it is not transfer intent to rasa. Even after trying my own code, the outcome remained the same. If you have a moment, could you please assist me with this? Thank you.

ankitjayswal87 commented 4 months ago

Yes, you can use different STT and TTS service but need to add function in the files speech_to_text.py and text_to_speech_cpass.py , Also in .env file need to modify flags TTS_ENGINE , RASA_HOST and RASA_PORT