- Telephony System + Text to Speech (Twilio)
- Realtime Speech to Text + Intelligence (AssemblyAI)
- Download ngrok
- Run ngrok on the http protocol on port 5000
- Create a Twilio account
- Create a Twilio Voice Phone Number
- Create an AssemblyAI Account
- Paste the appropriate API keys & NGROK_URL in the
app.py
file. - Run
pip3 install -r requirements.txt
- Run
python3 app.py
- Call the Twilio phone number you created
data.py
& context.py
can be used to prompt the Phone call Assistant.
In this example the context is provided via a variable prompt
. data.py
contains info about the 'user' and app.py
can be used to provide additional context - such as how the agent should behave, etc.
Feel free to get creative with the prompts!