/Chat-App

Chat App allows people to chat with a BOT. But you could define everything you want for it, like it's person, with different background and character.

Primary LanguagePythonMIT LicenseMIT

Chat App

Chat App allows people to chat with a BOT. But you could define everything you want for the BOT, like it's person.

Demo

  1. Happy Chinese Lunar New Year - 春节快乐!
  2. Horizon 5 Chat - 地平线5相关闲聊

Service Dependencies

Chat App leverages the MS speech service (Key word detection, TTS, STT) and OpenAI (ChatGPT). Therefore you have to create your own resources:

  1. Create your own MS Speech Resource. It has free level on speech resources so you can have a try.

  2. OpenAI ChatGPT. Free trial available as well.

How to Play with?

  1. When you finished Service Dependencies, please update them on variables api_key, region and openai_key in file resources/config.json.
  2. Then you could describe who you want to talk with. Update your description on variable bot_character in file constant.py
  3. (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 file constant.py.
  4. Feel free to explore more available options :)

Useful Resource Link

  1. For MS Speech Service, please check:

  2. OpenAI ChatGPT