Comprehend-it API
Processing the provided text and classifying it into the specified labels, returning a probability score for each label.
POST https://comprehend-it.p.rapidapi.com/predictions/ml-zero-nli-model
Headers
X-RapidAPI-Key*
String
Your API key. Where can I get it?
X-RapidAPI-Host*
String
comprehend-it.p.rapidapi.com
content-type*
String
application/json
Request Body
labels*
String list
Specific categories or labels that you want the text to be classified into during the classification process. Check out the details.
text*
String
Text for processing. Check size limits here.
threshold
Float
Classification output scores threshold.
The model has successfully analyzed the input text and labels.
This may be due to missing or improperly formatted parameters. Check for parameter type mismatches, Invalid characters, or bad code formatting.
Check for parameter type mismatches, Invalid characters, or bad code formatting. The required header might be wrong, such as X-RapidAPI-Host.
You've gone over the 30 KB limit with your submitted data. Please see our limits page for proper API request sizes. If you need to increase your limit, our support team is here to help.
An unexpected issue occurred on our end. We are notified and investigating. If this issue persists or follows a pattern, please contact our support. Join our Discord for support.
Last updated