public class ToneChatScore
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static interface |
ToneChatScore.ToneId
The unique, non-localized identifier of the tone for the results.
|
Constructor and Description |
---|
ToneChatScore() |
Modifier and Type | Method and Description |
---|---|
Double |
getScore()
Gets the score.
|
String |
getToneId()
Gets the toneId.
|
String |
getToneName()
Gets the toneName.
|
public Double getScore()
The score for the tone in the range of 0.5 to 1. A score greater than 0.75 indicates a high likelihood that the tone is perceived in the utterance.
public String getToneId()
The unique, non-localized identifier of the tone for the results. The service returns results only for tones whose scores meet a minimum threshold of 0.5.
public String getToneName()
The user-visible, localized name of the tone.
Copyright © 2021 IBM Cloud. All rights reserved.