BotCustomVocabularyItemArgs

data class BotCustomVocabularyItemArgs(val displayAs: Output<String>? = null, val phrase: Output<String>, val weight: Output<Int>? = null) : ConvertibleToJava<BotCustomVocabularyItemArgs>

A custom vocabulary item that contains the phrase to recognize and a weight to give the boost.

Constructors

Link copied to clipboard
constructor(displayAs: Output<String>? = null, phrase: Output<String>, weight: Output<Int>? = null)

Properties

Link copied to clipboard
val displayAs: Output<String>? = null

Defines how you want your phrase to look in your transcription output.

Link copied to clipboard
val phrase: Output<String>

Phrase that should be recognized.

Link copied to clipboard
val weight: Output<Int>? = null

The degree to which the phrase recognition is boosted. The weight 0 means that no boosting will be applied and the entry will only be used for performing replacements using the displayAs field.

Functions

Link copied to clipboard
open override fun toJava(): BotCustomVocabularyItemArgs