mirror of
https://github.com/jambonz/verb-specifications.git
synced 2026-03-26 05:47:53 +00:00
Compare commits
6 Commits
recording_
...
v0.0.125
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
887320fd5d | ||
|
|
f0ffdee9c6 | ||
|
|
1013db46d3 | ||
|
|
8771e3f22f | ||
|
|
ff757d3177 | ||
|
|
5745cc9a29 |
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "@jambonz/verb-specifications",
|
||||
"version": "0.0.122",
|
||||
"version": "0.0.125",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@jambonz/verb-specifications",
|
||||
"version": "0.0.122",
|
||||
"version": "0.0.125",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"debug": "^4.3.4",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@jambonz/verb-specifications",
|
||||
"version": "0.0.122",
|
||||
"version": "0.0.125",
|
||||
"description": "Jambonz Verb Specification Utilities",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
||||
16
specs.json
16
specs.json
@@ -534,6 +534,11 @@
|
||||
"type": "string",
|
||||
"enum": ["startCallRecording", "stopCallRecording", "pauseCallRecording", "resumeCallRecording"]
|
||||
},
|
||||
"type" : {
|
||||
"type" : "string",
|
||||
"enum" : ["cloud", "siprec"]
|
||||
|
||||
},
|
||||
"recordingID": "string",
|
||||
"siprecServerURL": "string|array",
|
||||
"headers": "object"
|
||||
@@ -545,7 +550,8 @@
|
||||
"redirect": {
|
||||
"properties": {
|
||||
"id": "string",
|
||||
"actionHook": "object|string"
|
||||
"actionHook": "object|string",
|
||||
"statusHook": "object|string"
|
||||
},
|
||||
"required": [
|
||||
"actionHook"
|
||||
@@ -1079,6 +1085,7 @@
|
||||
"additional_vocab": "array",
|
||||
"diarization": "string",
|
||||
"speaker_diarization_config": "#sm_speakerDiarizationConfig",
|
||||
"conversation_config": "#sm_conversationConfig",
|
||||
"enable_partials": "boolean",
|
||||
"max_delay": "number",
|
||||
"max_delay_mode": {
|
||||
@@ -1106,6 +1113,13 @@
|
||||
"required": [
|
||||
]
|
||||
},
|
||||
"sm_conversationConfig": {
|
||||
"properties": {
|
||||
"end_of_utterance_silence_trigger": "number"
|
||||
},
|
||||
"required": [
|
||||
]
|
||||
},
|
||||
"sm_puctuationOverrides": {
|
||||
"properties": {
|
||||
"permitted_marks": "array",
|
||||
|
||||
@@ -644,6 +644,24 @@ test("validate correct verbs", async (t) => {
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"verb": "transcribe",
|
||||
"transcriptionHook": "http://example.com/transcribe",
|
||||
"recognizer": {
|
||||
"vendor": "speechmatics",
|
||||
"language": "en",
|
||||
"speechmaticsOptions": {
|
||||
"transcription_config": {
|
||||
"language": "en",
|
||||
"enable_partials": true,
|
||||
"max_delay": 2,
|
||||
"conversation_config": {
|
||||
"end_of_utterance_silence_trigger": 0.5
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
];
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user