Interface IntentResult
public interface IntentResult
IntentResult
-
Nested Class Summary
-
Method Summary
-
Method Details
-
getIntent
String getIntent()The most probable intent of the analyzed text. For example, chitchat.greeting, chitchat.bye, chitchat.compliment, chitchat.how_are_you, or general.yes_or_agreed.- Returns:
- intent
-
getScore
Float getScore()The likelihood that the assigned intent represents the purpose of the analyzed text. 1 is the maximum value, representing the highest likelihood that the message text matches the intent, and 0 is the minimum value, representing the lowest likelihood that the message text matches the intent.- Returns:
- score
-
builder
Getting builder- Returns:
- New Builder instance
-