-
-
Save SamuelAlgheriniAI/ad672e735a78f2b9599dd745fa382d22 to your computer and use it in GitHub Desktop.
Classification Sample
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
output = client.classification(text) | |
print("Tab separated list of categories:") | |
for category in output.categories: | |
print(category.id_, category.hierarchy, sep="\t") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment