Skip to content

Additional metadata on requesting callback for large audio files #62

Discussion options

You must be logged in to vote

Hey @pranjal-zipteams, it sounds like the tag feature is what you're looking for.

Python SDK Usage:

#single tag
response = await dg_client.transcription.prerecorded(source,
        { "model": "general", 
          "language": "en", 
          "tier": "enhanced",
          "tag" : "foo",
          "callback" : CALLBACK_URL
        })
        
#multiple tags
response = await dg_client.transcription.prerecorded(source,
        { "model": "general", 
          "language": "en", 
          "tier": "enhanced",
          "tag" : ["foo", "bar"],
          "callback" : CALLBACK_URL
        })

These tags appear on the callback in the metadata.tags field

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by michaeljolley
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants