This repo is my quick template for setting up whatsapp and slack chatbots using OpenAI's Assistants API, Slack or Twilio apis, and Flask
Install the requirements.txt and follow the steps for installing ffmpeg on your ec2 instance here: https://www.maskaravivek.com/post/how-to-install-ffmpeg-on-ec2-running-amazon-linux/