classify/batch Request Parameters
Leave feedback
On this page
Parameter | In | Type | Comment |
---|---|---|---|
body | BatchRequest | Batch of texts (up to 10). | |
BestClassesCount | url (Optional) | string (“1”, “2”, “3”,..) | Count of the best classes to return. |
Taxonomy | url (Optional) | string ("", “default”, “iab2”, “documents”, “sentiment”, “sentiment3”) | Taxonomy to use for classification return. |
PrecisionRecallBalance | url (Optional) | string (“precision”, “recall”, “”) | Balance between precision and recall. |
BatchRequest {
batch (string[]),
}
JSON
{
"batch": ["Text1", "Text2"]
}
XML
<?xml version#"1.0"?>
<BatchRequest>
<batch>Text1</batch>
<batch>Text1</batch>
</BatchRequest>
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.