RealtimeSTT plugin for LiveKit
Project description
RealtimeSTT plugin for LiveKit
Use RealtimeSTT as the speech-to-text component in LiveKit
LiveKit is an open-source WebRTC platform with support for AI agents.
RealtimeSTT is a speech-to-text library with advanced voice activity detection, wake-word activation and instant transcription.
This is a plugin for LiveKit that uses RealtimeSTT for speech-to-text generation. It supports only streaming mode, which means VAD and turn-detection components should be disabled in LiveKit.
Installation
pip install livekit-plugins-realtimestt
Example
from livekit.agents import Agent
from livekit-plugins-realtimestt import STT
agent = Agent(
stt=STT(
# For the full list of options, see RealtimeSTT documentation.
options={
# When "use_client" is True, the plugin will try to connect to a RealtimeSTT server
# via WebSockets, otherwise it will run the library in-process. In that case,
# it is recommended to pre-initialize the plugin by calling `stt.prewarm()`
# to preload the model and other resources.
"use_client": True,
# When "enable_realtime_transcription" is True, interim (partial) transcriptions
# will be generated in real-time.
"enable_realtime_transcription": True,
"language": "de",
}
)
)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file livekit_plugins_realtimestt-0.1.1.tar.gz.
File metadata
- Download URL: livekit_plugins_realtimestt-0.1.1.tar.gz
- Upload date:
- Size: 103.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b67a1cffc15c7001921a5dff387129e81f4383816f545a3a9a20a582a3ff1108
|
|
| MD5 |
c30194b4e25a67abf22ee45352a8f82e
|
|
| BLAKE2b-256 |
41a9a067e226b8baf2c65d28b5defef3dd3c335c2ba5799c2d4566c19d84e094
|
File details
Details for the file livekit_plugins_realtimestt-0.1.1-py3-none-any.whl.
File metadata
- Download URL: livekit_plugins_realtimestt-0.1.1-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
462dd2628938e7e9928f94552c167d5ce4ef5f58b0beea87c9c47b9100e70581
|
|
| MD5 |
723ec4ad7f746d0deb877eff1081a22b
|
|
| BLAKE2b-256 |
05af3e605574aacaf18b3fc67fe5e2b54f0ae757a22098400d46c9c0651d263e
|