Note: External ASR systems are typically slower and less optimized than Tavus’ built-in pipeline.
Prerequisites
Before you begin, ensure the following dependencies are installed:flask-
daily-python
Create an Echo PAL
Step 1: Get an API Key
- Go to the PAL Maker and select API Key from the sidebar menu.
- Click Create New Key to begin generating your API key.
- Enter a name for the key and (optional) specify allowed IP addresses, then click Create API Key.
- Copy your newly created API key and store it securely.
Step 4: Create an App
Create a file named
script.py and paste the following code:This script starts a Flask app that connects to a Daily room and sends echo interaction messages to your PAL.
Step 5: Execute the Code
Run the script:
Replace
<conversation_url> with the URL returned when creating your conversation.
