Skip to content

Commit 778653e

Browse files
committed
rm redundant para.
1 parent b23e6ce commit 778653e

4 files changed

Lines changed: 2555 additions & 14 deletions

File tree

README.md

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ The starter project includes:
1212
- A voice AI pipeline built on [LiveKit Inference](https://docs.livekit.io/agents/models/inference)
1313
with [models](https://docs.livekit.io/agents/models) from OpenAI, Cartesia, and Deepgram. More than 50 other model providers are supported, including [Realtime models](https://docs.livekit.io/agents/models/realtime)
1414
- Eval suite based on the LiveKit Agents [testing & evaluation framework](https://docs.livekit.io/agents/start/testing/)
15-
- [LiveKit Turn Detector](https://docs.livekit.io/agents/logic/turns/turn-detector/), a multimodal end-of-turn model that listens to the user's audio directly, combining semantic understanding with acoustic cues for state-of-the-art accuracy across 14 languages
15+
- [LiveKit Turn Detector](https://docs.livekit.io/agents/logic/turns/turn-detector/), an end-of-turn model that listens to the user's audio directly, combining semantic understanding with acoustic cues for state-of-the-art accuracy across 14 languages
1616
- [Background voice cancellation](https://docs.livekit.io/transport/media/noise-cancellation/)
1717
- Deep session insights from LiveKit [Agent Observability](https://docs.livekit.io/deploy/observability/)
1818
- A Dockerfile ready for [production deployment to LiveKit Cloud](https://docs.livekit.io/deploy/agents/)
@@ -92,15 +92,7 @@ lk app env -w -d .env.local
9292

9393
## Run the agent
9494

95-
Before your first run, download the [ai-coustics noise cancellation](https://docs.livekit.io/transport/media/noise-cancellation/) model used by the agent:
96-
97-
```console
98-
uv run --module livekit.agents download-files
99-
```
100-
101-
The [LiveKit turn detector](https://docs.livekit.io/agents/logic/turns/turn-detector/) and the agent's voice activity detection both run on [LiveKit Inference](https://docs.livekit.io/agents/models/inference) and are built into the Agents SDK, so they don't require a separate download.
102-
103-
Next, run this command to speak to your agent directly in your terminal:
95+
Run this command to speak to your agent directly in your terminal:
10496

10597
```console
10698
uv run python src/agent.py console

src/agent.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,12 +110,12 @@ async def my_agent(ctx: JobContext):
110110
model="cartesia/sonic-3", voice="9626c31c-bec5-4cca-baa8-f8ba9e84c8bc"
111111
),
112112
# The LiveKit turn detector determines when the user is done speaking and the agent should respond.
113-
# AudioTurnDetector is a multimodal model that listens to the user's audio directly, combining
113+
# TurnDetector is an end-of-turn model that listens to the user's audio directly, combining
114114
# semantic understanding with acoustic cues (intonation, pitch, rhythm) for state-of-the-art accuracy.
115115
# AgentSession supplies the required VAD automatically.
116116
# See more at https://docs.livekit.io/agents/build/turns
117117
turn_handling=TurnHandlingOptions(
118-
turn_detection=inference.AudioTurnDetector(),
118+
turn_detection=inference.TurnDetector(),
119119
),
120120
# allow the LLM to generate a response while waiting for the end of turn
121121
# See more at https://docs.livekit.io/agents/build/audio/#preemptive-generation

taskfile.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ tasks:
4343
- echo ''
4444
- echo '{{ indent .INDENT "cd" }} {{ .REL_PATH }}'
4545
- echo '{{ indent .INDENT "uv sync" }}'
46-
- echo '{{ indent .INDENT "uv run --module livekit.agents download-files" }}'
4746
- echo '{{ indent .INDENT "uv run" }} {{ .PYTHON_MAIN }} console'
4847

4948
help_open_web_console:
@@ -57,7 +56,6 @@ tasks:
5756
- echo ''
5857
- echo '{{ indent .INDENT "cd" }} {{ .REL_PATH }}'
5958
- echo '{{ indent .INDENT "uv sync" }}'
60-
- echo '{{ indent .INDENT "uv run --module livekit.agents download-files" }}'
6159
- echo '{{ indent .INDENT "uv run" }} {{ .PYTHON_MAIN }} dev'
6260
- echo ''
6361
- echo 'Then visit:'

0 commit comments

Comments
 (0)