ClassifyText Processor
Part of the GCP Natural Language processor family
This processor will attempt to fit the input text into a category. The list of categories that it could be is very extensive, and can be found here.
Properties
This processor does not have any unique properties outside of the common ones.
Data Output
Field Name
Data Type
Description
categories
array of Category
The list of categories the API thinks the text can fall under
Category
CategoryField Name
Data Type
Description
confidence
float
How confident the API is in its response
{
"output":{
"categories":[
{
"confidence":0.81,
"name":"\/Arts & Entertainment"
}
]
},
"raw-input":"James Adams is a fantastic developer who has been on the scene for over ten years. His excellent attitude and steady work ethic contribute to his character. May he stay with our company for many years to come."
}Last updated
Was this helpful?