Links

Comprehend-it API

post
https://comprehend-it.p.rapidapi.com/predictions/ml-zero-nli-model
Processing the provided text and classifying it into the specified labels, returning a probability score for each label.
Parameters
Header
X-RapidAPI-Key*
Your API key. Where can I get it?
X-RapidAPI-Host*
comprehend-it.p.rapidapi.com
content-type*
application/json
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*
Text for processing. Check size limits here.
threshold
Float
Classification output scores threshold.
Responses
200: OK
Request is successful.
400: Bad Request
Invalid or incomplete request.
401: Unauthorized
Invalid authorization.
404: Not Found
Invalid payload or header.
413: Payload Too Large
Payload size exceeded.
500: Internal Server Error
Internal server error.