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

# Turn Detector

> Python API reference for the unified turn detector.

<Card title="Usage guide" icon="book" href="/plugins/turn-detection/namo" horizontal>
  Setup, environment variables, and Python/JavaScript/Go usage examples.
</Card>

## TurnDetector

End-of-turn detection through the ZeroRuntime inference gateway.

Slot: turn\_detector. Route: inference -- through the ZeroRuntime inference
gateway, which authenticates with your ZeroRuntime token -- this class
takes no api\_key.

`model` selects the backend:

echo-large
echo-small

```python theme={null}
from zeroruntime.inference import TurnDetector  # same fields, through the gateway, no vendor key
```

### Fields

<ParamField path="model" type="str" default="echo-large" />

<ParamField path="host" type="Optional[str]" default="None" />

<ParamField path="timeout" type="float" default="2.0" />
