# Plugins

LiveKit Agents and Pipecat take a base URL on their Deepgram speech-to-text plugin. Point it at .wave and pass your .wave API key; the rest of the pipeline stays as it is.

## LiveKit Agents

```python
import os
from livekit.plugins import deepgram

stt = deepgram.STT(
    api_key=os.environ["DOTWAVE_API_KEY"],
    base_url="https://api.dotwave.ai/v1/listen",
    model="nemotron-asr-streaming",
    language="pt-BR",
)
```

## Pipecat

```python
import os
from pipecat.services.deepgram.stt import DeepgramSTTService
from pipecat.transcriptions.language import Language

stt = DeepgramSTTService(
    api_key=os.environ["DOTWAVE_API_KEY"],
    base_url="api.dotwave.ai",
    settings=DeepgramSTTService.Settings(
        model="nemotron-asr-streaming",
        language=Language.PT_BR,
    ),
)
```

## Settings

- **Model**: Can stay at the plugin’s default.
- **Language**: Name it when you know it; leave it out to let the model detect it. See [Languages](https://dotwave.ai/docs/realtime/languages/).
- **Other settings**: Plugin defaults such as `punctuate`, `smart_format` and `interim_results` are accepted. See [Parameters](https://dotwave.ai/docs/deepgram/parameters/).
