The agnet takes you on a little voice adventure every morning and wakes you up feeling refreshed! a better way to wake up isn't it :D
- First install dependencies
pip3 install -r requirements.txt
-
Fill out the API keys in
.env
-
In another bash, use ngrok to expose this port to public network
ngrok http 8080
- Start the websocket server
python3 -m uvicorn app.server:app --reload --port=8080
You should see a fowarding address like
https://dc14-2601-645-c57f-8670-9986-5662-2c9a-adbd.ngrok-free.app
, and you
are going to take the IP address, prepend it with wss, postpend with
llm-websocket
path and use that in the retell ai dashboard to create a new agent
. Now
the agent
you created should connect with your localhost.
The custom LLM URL would look like
wss://dc14-2601-645-c57f-8670-9986-5662-2c9a-adbd.ngrok-free.app/llm-websocket