livekit-plugins-smallestai-1.5.8
توضیحات
Agent Framework plugin for speech synthesis and recognition with Smallest AI.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | livekit-plugins-smallestai-1.5.8 |
| نام | livekit-plugins-smallestai |
| نسخه کتابخانه | 1.5.8 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | LiveKit <hello@livekit.io> |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/livekit-plugins-smallestai/ |
| مجوز | - |
# Smallest AI plugin for LiveKit Agents
Support for speech synthesis (TTS) and speech recognition (STT) with the [Smallest AI](https://smallest.ai/) API.
## Installation
```bash
pip install livekit-plugins-smallestai
```
## Pre-requisites
You'll need an API key from Smallest AI. It can be set as an environment variable: `SMALLEST_API_KEY`
## Usage
### Speech-to-Text (Pulse STT)
```python
from livekit.plugins import smallestai
# Streaming transcription
stt = smallestai.STT(language="en")
# Automatic language detection across 39 languages
stt = smallestai.STT(language="multi")
```
### Text-to-Speech (Lightning TTS)
```python
from livekit.plugins import smallestai
tts = smallestai.TTS(voice_id="emily")
```
نیازمندی
| مقدار | نام |
|---|---|
| - | livekit-agents[codecs]>=1.5.8 |
| - | numpy>=1.26 |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.10.0 | Python |
نحوه نصب
نصب پکیج whl livekit-plugins-smallestai-1.5.8:
pip install livekit-plugins-smallestai-1.5.8.whl
نصب پکیج tar.gz livekit-plugins-smallestai-1.5.8:
pip install livekit-plugins-smallestai-1.5.8.tar.gz