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
post
https://api.marsview.ai/text/dialog_tag
/get_dialog_tag
Returns the predicted dialog tag for a given sentence
Example Curl Request
Shown below is a code snippet to send a sample request for dialog tag detection
1
curl --location --request POST 'https://api.marsview.ai/text/dialog_tag/get_dialog_tag'\
2
--header 'Content-Type: application/json'\
3
--data-raw '{
4
"jwtToken": "Insert JWT token Key",
5
"sentence": "Insert your sentence for dialog tag prediction here",