You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Welcome to the Voice Agent Hackathon! This template contains a ready-to-use voice agent built with [AssemblyAI](https://assemblyai.com) and [Rime](https://rime.ai). All you need to run it is a [LiveKit Cloud](https://cloud.livekit.io) project.
3
+
Welcome to the Voice Agent Hackathon! This template contains a ready-to-use voice agent built [LiveKit Agents](https://github.com/livekit/agents). All you need is a [LiveKit Cloud](https://cloud.livekit.io) project.
4
4
5
5
This starter app is compatible with any [custom web/mobile frontend](https://docs.livekit.io/agents/start/frontend/) or [SIP-based telephony](https://docs.livekit.io/agents/start/telephony/).
6
6
@@ -46,9 +46,9 @@ Finally, open the [LiveKit Agents Playground](https://agents-playground.livekit.
46
46
47
47
## Tips for managing background noise
48
48
49
-
This hackathon may be a noisy place which can make it tricky to test your agent. Here are some tips to help you:
49
+
If you're in a noisy hackathon environment, it may be tricky to test your agent. Here are some tips to help you:
50
50
51
-
1. Use headphones with a microphone and noise isolation features (such as Airpods)
51
+
1. Use headphones with a microphone and noise isolation features (such as AirPods Pro)
52
52
2. Use the LiveKit [background voice cancellation](https://docs.livekit.io/home/cloud/noise-cancellation/) model (pre-installed in this template)
53
53
3. Turn off your microphone in the [Agents Playground](https://agents-playground.livekit.io/#cam=0&mic=1&screen=0&video=0&audio=1&chat=1&theme_color=cyan) and use text input to test your agent instead.
54
54
@@ -84,79 +84,8 @@ This project is production-ready and includes a working `Dockerfile`. To deploy
84
84
85
85
## Models
86
86
87
-
This project uses models from AssemblyAI and Rime, as well as GPT-4o-mini from Azure OpenAI. By default, these are served through early-access to LiveKit Inference and no extra account is required.
87
+
This project uses LiveKit Inference with models from AssemblyAI, OpenAI, and Cartesia. No extra account is required to use these models, which have been selected for their quality and performance.
88
88
89
-
### AssemblyAI customization
89
+
Many more models are available, both through LiveKit Inference and through SDK plugins for a wide variety of third-party APIs. See the [LiveKit Agents documentation](https://docs.livekit.io/agents/models/) for a full list.
90
90
91
-
To customize the AssemblyAI model, while still using LiveKit Cloud, you can use the following session setup in your [agent code](https://github.com/livekit-examples/voice-agent-hackathon/blob/main/src/agent.py) instead of the version above:
Refer to the [source code](https://github.com/livekit/agents/blob/main/livekit-agents/livekit/agents/inference/stt.py#L57) for available parameters (docs for LiveKit Inference are coming soon)
102
-
103
-
#### AssemblyAI plugin
104
-
105
-
To use your own AssemblyAI account, or access additional AssemblyAI features, use the AssemblyAI plugin:
106
-
107
-
```shell
108
-
uv add livekit-agents[assemblyai]
109
-
```
110
-
111
-
```python
112
-
from livekit.plugins import assemblyai
113
-
114
-
session = AgentSession(
115
-
stt=assemblyai.STT()
116
-
)
117
-
```
118
-
119
-
Refer to the [plugin documentation](https://docs.livekit.io/agents/integrations/stt/assemblyai/) for more information.
120
-
121
-
### Rime customization
122
-
123
-
To use a different Rime voice, while still using LiveKit Cloud, just change the voice name after the colon in your [agent code](https://github.com/livekit-examples/voice-agent-hackathon/blob/main/src/agent.py):
124
-
125
-
```python
126
-
session = AgentSession(
127
-
tts="rime/arcana:andromeda"
128
-
)
129
-
```
130
-
131
-
Refer to the [Rime voices list](https://docs.rime.ai/api-reference/voices) for more information.
132
-
133
-
#### Rime plugin
134
-
135
-
To use your own Rime account, or access additional features, use the Rime plugin:
136
-
137
-
```shell
138
-
uv add livekit-agents[rime]
139
-
```
140
-
141
-
```python
142
-
from livekit.plugins import rime
143
-
144
-
session = AgentSession(
145
-
tts=rime.TTS(model="arcana", speaker="andromeda")
146
-
)
147
-
```
148
-
149
-
Refer to the [plugin documentation](https://docs.livekit.io/agents/integrations/tts/rime/) for more information.
150
-
151
-
152
-
## Other large language models
153
-
154
-
Refer to the [source code](https://github.com/livekit/agents/blob/main/livekit-agents/livekit/agents/inference/llm.py) for available models (LiveKit Inference docs are coming soon).
155
-
156
-
```python
157
-
session = AgentSession(
158
-
llm="azure/gpt-4o-mini"
159
-
)
160
-
```
161
-
162
-
Or, use an [LLM plugin](https://docs.livekit.io/agents/integrations/llm/) for a wider range of models and more configuration options.
0 commit comments