Conversation Type (Speech Type)

Enable this model configuration to distinguish between speech type and capture actionable notes during your conversation

Overview

Conversation Type (Speech Type) model helps you understand the type of conversation at any given time. Every phone call, online or offline conversation can be broadly classified into four categories - Statement, Command, Action Item, or a Question.

NOTE: You can also enable Action Items & Follow-ups to get more actionable and comprehensive Action Items

NOTE: You can also enable Questions & Responses to get more actionable and comprehensive Action Items

Speech Type

modelTypeConfiguration

Example Request

curl --location --request POST 'https://api.marsview.ai/cb/v1/conversation/compute' \
--header 'Content-Type: application/json' \
--header "Authorization: {{Insert Auth Token}}" \
--data-raw '{
        "txnId": "{{Insert txn ID}}",
        "enableModels":[
            {
            "modelType":"speech_to_text",
                "modelConfig":{
                    "automatic_punctuation" : true,
                    "custom_vocabulary":["Marsview", "Communication"],
                    "speaker_seperation":{
                        "num_speakers":2
                    },
                    "enableKeywords":true,
                    "enableTopics":false
                    }
            },
            {
            "modelType":"speech_type_analysis"
            }
        ]
}'

Example Response

"data": {
    "speechType": [
        {
            "sentence": "Good evening teresa.",
            "startTime": 1390,
            "endTime": 2690,
            "speaker": "1",
            "type": "statement",
            "confidence": 0.9962469935417175
        },
    ]
}

Response Object

Last updated