classify/batch Request Parameters

ParameterInTypeComment
bodyBatchRequestBatch of texts (up to 10).
BestClassesCounturl (Optional)string (“1”, “2”, “3”,..)Count of the best classes to return.
Taxonomyurl (Optional)string ("", “default”, “iab2”, “documents”, “sentiment”, “sentiment3”)Taxonomy to use for classification return.
PrecisionRecallBalanceurl (Optional)string (“precision”, “recall”, “”)Balance between precision and recall.

BaseRequest

Model:


BatchRequest {
  batch (string[]),
}

Examples:

JSON

{
  "batch": ["Text1", "Text2"]
}

XML


<?xml version#"1.0"?>
<BatchRequest>
  <batch>Text1</batch>
  <batch>Text1</batch>
</BatchRequest>