Skip to content

Instantly share code, notes, and snippets.

@akirilyuk
Created January 21, 2022 16:19
Show Gist options
  • Select an option

  • Save akirilyuk/0fee177ad43d2e877ef8b8f675ae4f81 to your computer and use it in GitHub Desktop.

Select an option

Save akirilyuk/0fee177ad43d2e877ef8b8f675ae4f81 to your computer and use it in GitHub Desktop.
jambonz-cognigy-api-contract-session-next-turn
{
"session": {
"synthesizer": {
"voice": "string",
"language": "string",
"vendor": "azure|google",
"azure": {
"ttsDeploymentId": "string containing custom voice"
},
"google": {
"disablePunctiation": "boolean"
}
},
"recognizer": {
"language": "string",
"vendor": "azure|google",
"hints": ["example context"],
"azure": {
"sttDeploymentId": "string containin custom speech model",
"speechRecognitionMode": "string containing recognigtion mode",
"enableAudioLogging": "boolean"
},
"google": {
"interactionType": "string",
"hints": "string",
"hintsBoost": "number"
},
"disableTtsCache": "boolean",
"continuousASR": {
"digits": "string",
"timeoutInMs": "number"
}
},
"bargein": {
"enable": ["speech", "dtmf"],
"minWordCount": "number"
},
"bot": {
"failOnError": "boolean",
"noInputGiveUpTimeoutMs": "number",
"noInputTimeout": "number",
"noInputRetries": "number",
"noInputSpeech": "string",
"noInputUrl": "string"
},
"user": {
"noInputSendEvent": "boolean",
"noInputTimeout": "number",
"noInputRetries": "number",
"noInputSpeech": "string",
"noInputUrl": "string"
},
"dtmf": {
"collect": "boolean",
"interDigitTimeout": "number",
"maxDigits": "number",
"minDigits": "number",
"submitDiget": "string"
}
},
"nextTurn": {
"synthesizer": {
"voice": "string",
"language": "string",
"vendor": "azure|google",
"azure": {
"ttsDeploymentId": "string containing custom voice"
},
"google": {
"disablePunctiation": "boolean"
}
},
"recognizer": {
"language": "string",
"vendor": "azure|google",
"hints": ["example context"],
"azure": {
"sttDeploymentId": "string containin custom speech model",
"speechRecognitionMode": "string containing recognigtion mode",
"enableAudioLogging": "boolean"
},
"google": {
"interactionType": "string",
"hints": "string",
"hintsBoost": "number"
},
"disableTtsCache": "boolean",
"continuousASR": {
"digits": "string",
"timeoutInMs": "number"
}
},
"bargein": {
"enable": ["speech", "dtmf"],
"minWordCount": "number"
},
"bot": {
"failOnError": "boolean",
"noInputGiveUpTimeoutMs": "number",
"noInputTimeout": "number",
"noInputRetries": "number",
"noInputSpeech": "string",
"noInputUrl": "string"
},
"user": {
"noInputSendEvent": "boolean",
"noInputTimeout": "number",
"noInputRetries": "number",
"noInputSpeech": "string",
"noInputUrl": "string"
},
"dtmf": {
"collect": "boolean",
"interDigitTimeout": "number",
"maxDigits": "number",
"minDigits": "number",
"submitDiget": "string"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment