Update starter to use new turn detection model (#85)
* Update starter to use new turn detection model * rm redundant para. * Untrack uv.lock and loosen livekit-agents version constraint uv.lock should not be tracked in the template (enforced by template-check.yml CI). Also change livekit-agents from ==1.6.0 to >=1.6.0 so the starter picks up newer compatible releases. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * Update livekit-agents dependency to version 1.6.1 --------- Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Co-authored-by: Chenghao Mou <chenghao.mou@livekit.io>
This commit is contained in:
co-authored by
Claude Opus 4.8
Chenghao Mou
parent
a7575e8af0
commit
9bf4404101
@@ -12,7 +12,7 @@ The starter project includes:
|
||||
- A voice AI pipeline built on [LiveKit Inference](https://docs.livekit.io/agents/models/inference)
|
||||
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)
|
||||
- Eval suite based on the LiveKit Agents [testing & evaluation framework](https://docs.livekit.io/agents/start/testing/)
|
||||
- [LiveKit Turn Detector](https://docs.livekit.io/agents/logic/turns/turn-detector/) for contextually-aware speaker detection, with multilingual support
|
||||
- [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
|
||||
- [Background voice cancellation](https://docs.livekit.io/transport/media/noise-cancellation/)
|
||||
- Deep session insights from LiveKit [Agent Observability](https://docs.livekit.io/deploy/observability/)
|
||||
- A Dockerfile ready for [production deployment to LiveKit Cloud](https://docs.livekit.io/deploy/agents/)
|
||||
@@ -92,13 +92,7 @@ lk app env --write --destination .env.local
|
||||
|
||||
## Run the agent
|
||||
|
||||
Before your first run, you must download certain models such as [Silero VAD](https://docs.livekit.io/agents/logic/turns/vad/) and the [LiveKit turn detector](https://docs.livekit.io/agents/logic/turns/turn-detector/):
|
||||
|
||||
```console
|
||||
uv run python src/agent.py download-files
|
||||
```
|
||||
|
||||
Next, run this command to speak to your agent directly in your terminal:
|
||||
Run this command to speak to your agent directly in your terminal:
|
||||
|
||||
```console
|
||||
uv run python src/agent.py console
|
||||
|
||||
Reference in New Issue
Block a user