---
title: "DiarizeOptions"
sidebar_label: "DiarizeOptions"
description: "Kotlin binding reference: DiarizeOptions."
---

<!-- Generated by tools/api_reference/generate_api_docs.py. Do not edit. -->

//[clika-runtime](../../../index.md)/[io.clika.modelverse](../index.md)/[DiarizeOptions](index.md)

# DiarizeOptions

[common]\
data class [DiarizeOptions](index.md)(val streaming: [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) = false, val streamingMode: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)? = null, val threshold: [Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html) = 0.5f)

How a diarization runs. [streaming](streaming.md) runs the clip chunk by chunk with the speaker cache, as a live stream does, [streamingMode](streamingMode.md) naming the latency mode (the checkpoint's default when null); [threshold](threshold.md) in (0, 1) is the activity a frame needs to count for a speaker.

## Constructors

| | |
|---|---|
| [DiarizeOptions](DiarizeOptions.md) | [common]<br>constructor(streaming: [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) = false, streamingMode: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)? = null, threshold: [Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html) = 0.5f) |

## Properties

| Name | Summary |
|---|---|
| [streaming](streaming.md) | [common]<br>val [streaming](streaming.md): [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) = false |
| [streamingMode](streamingMode.md) | [common]<br>val [streamingMode](streamingMode.md): [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)? = null |
| [threshold](threshold.md) | [common]<br>val [threshold](threshold.md): [Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html) = 0.5f |