• Installs:
  • Today: 90
  • This Week: 1042
  • This Month: 3676
  • All Time: 19535
Developer: dimashirokov

AudioTranscription . createCategorizationTask

This endpoint creates a categorization task. In this task, one of our workers will view the attachment and choose a category for it according to the instruction. You may allow multiple categories to be chosen by setting allow_multiple to true. Example use cases are spam detection, copyright detection, product categorization, etc.

Test This Block


Required Parameters

  • callbackUrl
    The full url (including the scheme http:// or https://) of the callback when the task is completed.
  • instruction
    A markdown-enabled string explaining how to categorize the item. You can use markdown to show example images, give structure to your instructions, and more.
  • attachmentType
    One of `text`, `image`, `video`, `audio`, `website`, or `pdf`. Describes what type of file the attachment is.
  • attachment
    The attachment to be categorized. If `attachmentType` is text, then it should be plaintext. Otherwise, it should be FILE a URL pointing to the attachment.
    Upload file
  • categories
    An array of strings for the categories which you’d like the object to be sorted between.
Optional Parameters
  • urgency
    Default if `day`. A string describing the urgency of the response. One of `immediate`, `day`, or `week`, where immediate is a one-hour response time.
  • categoryIds
    An optional dictionary where the keys are the optional ids, and the values are the category values provided in categories.
  • allowMultiple
    Default is `false`. Determines whether you allow multiple categories to be chosen for the attachment
  • metadata
    A set of key/value pairs that you can attach to a task object. It can be useful for storing additional information about the task in a structured format.
Show Optional Parameters
TEST Function
CODE ( )
Response

Nice try, But you still have to Log in.
Meanwhile, you can enjoy this limerick:

"A programming genius called HEAP
Had trouble in getting to sleep
So he made his lambs troup
through a huge FOR-NEXT loop
FOR 1 TO 10000: NEXT sheep."

Sign In