> ## Documentation Index
> Fetch the complete documentation index at: https://assemblyai.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Veterinary Mode (beta)

Veterinary Mode is an add-on that enhances streaming transcription accuracy for veterinary terminology, such as animal medication names, procedures, and conditions. Use it for veterinary use cases where general-purpose transcription frequently gets these terms wrong.

Veterinary Mode can be used with all of our Real-time STT models.

Enable Veterinary Mode by setting the `domain` connection parameter to `"veterinary-v1"`. No other changes to your existing pipeline are required.

## Quickstart

Set `domain` to `"veterinary-v1"` as a connection parameter when you open the WebSocket.

> [tab] Python
>
> ```python theme={null}
> CONNECTION_PARAMS = {
>     "sample_rate": 16000,
>     "speech_model": "universal-3-6-pro",
>     "domain": "veterinary-v1",
> }
> ```

> [tab] Python SDK
>
> ```python theme={null}
> client.connect(
>     RealTimeParameters(
>         sample_rate=16000,
>         speech_model="universal-3-6-pro",
>         domain="veterinary-v1",
>     )
> )
> ```

> [tab] Javascript
>
> ```javascript theme={null}
> const CONNECTION_PARAMS = {
>   sample_rate: 16000,
>   speech_model: "universal-3-6-pro",
>   domain: "veterinary-v1",
> };
> ```

> [tab] JavaScript SDK
>
> ```javascript theme={null}
> const transcriber = client.streaming.transcriber({
>   sampleRate: 16_000,
>   speechModel: "universal-3-6-pro",
>   domain: "veterinary-v1",
> });
> ```

## Use cases

Veterinary Mode is designed for veterinary AI applications where accurate clinical terminology is critical:

* **Real-time veterinary scribes**: Deliver accurate transcripts to veterinarians during or immediately after an exam.
* **Front-office voice agents**: Handle drug names and clinic-specific terminology in scheduling calls and client follow-ups.
* **Veterinary contact centers**: Transcribe calls with correct veterinary vocabulary for downstream processing and quality assurance.

## Combine with other features

Veterinary Mode works alongside other streaming features. You can combine it with:

* [Streaming Diarization](https://assemblyai.com/docs/streaming/label-speakers-and-separate-channels.md) to separate the veterinarian from the pet owner
* [Keyterms Prompting](https://assemblyai.com/docs/streaming/prompting-and-keyterms.md) to further boost accuracy for specific terms unique to your practice

> [tab] Python
>
> ```python theme={null}
> CONNECTION_PARAMS = {
>     "sample_rate": 16000,
>     "speech_model": "universal-3-6-pro",
>     "domain": "veterinary-v1",
>     "speaker_labels": "true",
>     "keyterms_prompt": json.dumps(["Apoquel", "Bravecto", "Cytopoint"])
> }
> ```

> [tab] Python SDK
>
> ```python theme={null}
> client.connect(
>     RealTimeParameters(
>         sample_rate=16000,
>         speech_model="universal-3-6-pro",
>         domain="veterinary-v1",
>         speaker_labels=True,
>         keyterms_prompt=["Apoquel", "Bravecto", "Cytopoint"],
>     )
> )
> ```

> [tab] Javascript
>
> ```javascript theme={null}
> const CONNECTION_PARAMS = {
>   sample_rate: 16000,
>   speech_model: "universal-3-6-pro",
>   domain: "veterinary-v1",
>   speaker_labels: true,
>   keyterms_prompt: JSON.stringify(["Apoquel", "Bravecto", "Cytopoint"]),
> };
> ```

> [tab] JavaScript SDK
>
> ```javascript theme={null}
> const transcriber = client.streaming.transcriber({
>   sampleRate: 16_000,
>   speechModel: "universal-3-6-pro",
>   domain: "veterinary-v1",
>   speakerLabels: true,
>   keytermsPrompt: ["Apoquel", "Bravecto", "Cytopoint"],
> });
> ```
