Chat App allows people to chat with a BOT. But you could define everything you want for the BOT, like it's person.
Chat App leverages the MS speech service (Key word detection, TTS, STT) and OpenAI (ChatGPT). Therefore you have to create your own resources:
-
Create your own MS Speech Resource. It has free level on speech resources so you can have a try.
-
OpenAI ChatGPT. Free trial available as well.
- When you finished
Service Dependencies
, please update them on variablesapi_key
,region
andopenai_key
in fileresources/config.json
. - Then you could describe who you want to talk with. Update your description on variable
bot_character
in fileconstant.py
- (Optional) Now it's ready to run. But if you want to have your own key word, play voice, or bot name, feel free to update
info
in fileconstant.py
. - Feel free to explore more available options :)
-
For MS Speech Service, please check: