Text Dialog Tags
Dialog tag classification is the task of classifying an utterance with respect to the function it serves in a dialogue, i.e. the act the speaker is performing
API Request
Returns the predicted dialog tag for a given sentence
POST
https://api.marsview.ai/text/dialog_tag/get_dialog_tag
Query Parameters
Name | Type | Description |
---|---|---|
jwtToken* | String | Marsview api access token. You can generate it here: https://docs.marsview.ai/speech-analytics-api/authentication |
sentence* | String | The sentence you want to predict dialog tag for |
userId* | String | Your Email or User ID |
Example Curl Request
Shown below is a code snippet to send a sample request for dialog tag detection
Example Response
Shown below is a sample JSON response from the above request.
Response Object
Field | Description |
---|---|
| The tag label identified by the models for the given sentence |
Last updated