Data Machines
...
Models Supported by Data Machi...
NLP Models
Categorize Text
5min
This model categorizes assigns to an input document individual nodes within a hierarchical taxonomy. For example, in the text: "IBM announces new advances in quantum computing." Examples of categories extracted are technology and computing/hardware/computer and technology and computing/operating systems, nodes respectively at level 3 and level 2 in a hierarchical taxonomy.
Parameter Name | Parameter Type | Required | Preset Values |
---|---|---|---|
input | Text | Yes | |
Rest API Input Example
Parameter Name | Parameter Type |
---|---|
input | Text |
original input | Text |
categories identified | JSON String |
confidence score | Number |
final result | JSON String |
sessionid | GUID String |
status | Text |
Example API Output
Every model execution output consists of the following standard output parameters
- input
- The input string required for the model to extract the categories
- original input
- This is the input provided to the first step in model which is retained across multiple steps in a Data Machine workflow.
- final result
- The result of the model executed in the final step of the Data Machine workflow
- sessionid
- A unique session id that is generated for every execution of a Data Machine which can be used to retain results across multiple sessions
- status
- The result of the Data Machine execution. If all of the steps in a sequence are successfully executed, a value of "Completed" is provided. If the execution is interrupted at any point, a value of "Terminated" is provided with the reason for Termination.