File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
Source/ToneAnalyzerV3/Models Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,20 @@ import Foundation
19
19
/** ToneChatScore. */
20
20
public struct ToneChatScore : Decodable {
21
21
22
+ /**
23
+ The unique, non-localized identifier of the tone for the results. The service returns results only for tones whose
24
+ scores meet a minimum threshold of 0.5.
25
+ */
26
+ public enum ToneID : String {
27
+ case excited = " excited "
28
+ case frustrated = " frustrated "
29
+ case impolite = " impolite "
30
+ case polite = " polite "
31
+ case sad = " sad "
32
+ case satisfied = " satisfied "
33
+ case sympathetic = " sympathetic "
34
+ }
35
+
22
36
/**
23
37
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
24
38
tone is perceived in the utterance.
You can’t perform that action at this time.
0 commit comments