Created
May 26, 2022 05:46
-
-
Save lando22/386fff8220d10d06b1c5bf8d2259ffea to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import humingbird | |
intent_recognition = humingbird.Text.predict( | |
text="I was wondering what you have on your menu? I love ice cream!", | |
labels=["greeting", "goodbye", "menu", "prices", "start_order"] | |
) | |
print(intent_recognition) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment