From 3369866c730b950745a3374bfaaaa71454bfef74 Mon Sep 17 00:00:00 2001 From: leawn Date: Mon, 17 Mar 2025 19:27:11 +0100 Subject: [PATCH] Update voice example --- agent_voice/livekit/README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/agent_voice/livekit/README.md b/agent_voice/livekit/README.md index 93a0049..a0a27fc 100644 --- a/agent_voice/livekit/README.md +++ b/agent_voice/livekit/README.md @@ -9,6 +9,7 @@ For a complete documentation on how the agent works and how to setup the service - Docker (for running Restack) - Python 3.10 or higher +- Livekit account (for live chat) - Deepgram account (For speech-to-text transcription) - ElevenLabs account (for text-to-speech and voice cloning) @@ -16,6 +17,23 @@ For a complete documentation on how the agent works and how to setup the service In all subfolders, duplicate the `env.example` file and rename it to `.env`. +### How to setup + +1. **Set up Deepgram** + - Sign up at [Deepgram](https://developers.deepgram.com/home/introduction) + - Get an API key + +2. **Set up Livekit** + - Sign up at [Livekit](https://docs.livekit.io/home/) + - In .env file: + - Set `LIVEKIT_URL` to `WEBSOCKET_URL` value + - Set `LIVEKIT_API_KEY` to `API_KEY` value + - Set `LIVEKIT_API_SECRET` to `API_SECRET` value + +3. **Set up ElevenLabs** + - Sign up at [ElevenLabs](https://elevenlabs.io/docs/overview) + - Add `ELEVENLABS_API_KEY` to .env file + Obtain a Restack API Key to interact with the 'gpt-4o-mini' model at no cost from [Restack Cloud](https://console.restack.io/starter) ## Start Restack