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
Copy file name to clipboardExpand all lines: README.md
+80-3Lines changed: 80 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,8 +43,6 @@ uv run python src/agent.py console
43
43
44
44
## Web playground
45
45
46
-
## Web frontend
47
-
48
46
This agent is compatible with the [LiveKit Agents Playground](https://agents-playground.livekit.io).
49
47
50
48
To run the agent for the playground, use the `dev` subcomand:
@@ -81,4 +79,83 @@ To run the tests in a CI environment, you must also [add repository secrets](htt
81
79
82
80
## Deploying to production
83
81
84
-
This project is production-ready and includes a working `Dockerfile`. To deploy it to LiveKit Cloud or another environment, see the [deploying to production](https://docs.livekit.io/agents/ops/deployment/) guide.
82
+
This project is production-ready and includes a working `Dockerfile`. To deploy it to LiveKit Cloud or another environment, see the [deploying to production](https://docs.livekit.io/agents/ops/deployment/) guide.
83
+
84
+
## Models
85
+
86
+
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
+
88
+
### AssemblyAI customization
89
+
90
+
To customize the AssemblyAI model, while still using LiveKit Cloud, you can use the following session setup 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)
101
+
102
+
#### AssemblyAI plugin
103
+
104
+
To use your own AssemblyAI account, or access additional features, use the AssemblyAI plugin:
105
+
106
+
```shell
107
+
uv add livekit-agents[assemblyai]
108
+
```
109
+
110
+
```python
111
+
from livekit.plugins import assemblyai
112
+
113
+
session = AgentSession(
114
+
stt=assemblyai.STT()
115
+
)
116
+
```
117
+
118
+
Refer to the [plugin documentation](https://docs.livekit.io/agents/integrations/stt/assemblyai/) for more information.
119
+
120
+
### Rime customization
121
+
122
+
To use a different Rime voice, while still using LiveKit Cloud, just change the voice name after the colon:
123
+
124
+
```python
125
+
session = AgentSession(
126
+
tts="rime/arcana:andromeda"
127
+
)
128
+
```
129
+
130
+
Refer to the [Rime voices list](https://docs.rime.ai/api-reference/voices) for more information.
131
+
132
+
#### Rime plugin
133
+
134
+
To use your own Rime account, or access additional features, use the Rime plugin:
135
+
136
+
```shell
137
+
uv add livekit-agents[rime]
138
+
```
139
+
140
+
```python
141
+
from livekit.plugins import rime
142
+
143
+
session = AgentSession(
144
+
tts=rime.TTS(model="arcana", speaker="andromeda")
145
+
)
146
+
```
147
+
148
+
Refer to the [plugin documentation](https://docs.livekit.io/agents/integrations/tts/rime/) for more information.
149
+
150
+
151
+
## Other large language models
152
+
153
+
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).
154
+
155
+
```python
156
+
session = AgentSession(
157
+
llm="azure/gpt-4o-mini"
158
+
)
159
+
```
160
+
161
+
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