mirror of
https://github.com/jambonz/verb-specifications.git
synced 2026-03-26 05:47:53 +00:00
Compare commits
26 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
85b1c3a2f9 | ||
|
|
f59137ebad | ||
|
|
7b80ba6fd5 | ||
|
|
216e6954af | ||
|
|
027cce284d | ||
|
|
9a8194b360 | ||
|
|
0bcfa783b7 | ||
|
|
9a3fb68fe7 | ||
|
|
f2ea3f3913 | ||
|
|
6a75a8b98a | ||
|
|
2af0fd4415 | ||
|
|
46688934bc | ||
|
|
afce20a206 | ||
|
|
e80679fd07 | ||
|
|
aa86d0b3e6 | ||
|
|
60f4bcd97a | ||
|
|
cb8b51da4a | ||
|
|
d9fd63850b | ||
|
|
e57c81aeed | ||
|
|
610b14736a | ||
|
|
4a8517cab5 | ||
|
|
21bb3c2b73 | ||
|
|
e044621bbc | ||
|
|
6d8ffc9d80 | ||
|
|
941ba6aa8c | ||
|
|
1d8cf321a7 |
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "@jambonz/verb-specifications",
|
||||
"version": "0.0.74",
|
||||
"version": "0.0.86",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@jambonz/verb-specifications",
|
||||
"version": "0.0.74",
|
||||
"version": "0.0.86",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"debug": "^4.3.4",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@jambonz/verb-specifications",
|
||||
"version": "0.0.74",
|
||||
"version": "0.0.86",
|
||||
"description": "Jambonz Verb Specification Utilities",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
||||
144
specs.json
144
specs.json
@@ -59,7 +59,8 @@
|
||||
"actionHookDelayAction": "#actionHookDelayAction",
|
||||
"sipRequestWithinDialogHook": "object|string",
|
||||
"boostAudioSignal": "number|string",
|
||||
"vad":"#vad"
|
||||
"vad":"#vad",
|
||||
"referHook": "object|string"
|
||||
},
|
||||
"required": []
|
||||
},
|
||||
@@ -272,6 +273,7 @@
|
||||
"dtmfHook": "object|string",
|
||||
"headers": "object",
|
||||
"anchorMedia": "boolean",
|
||||
"exitMediaPath": "boolean",
|
||||
"boostAudioSignal": "number|string",
|
||||
"listen": "#listen",
|
||||
"target": ["#target"],
|
||||
@@ -292,15 +294,17 @@
|
||||
"id": "string",
|
||||
"credentials": "object|string",
|
||||
"project": "string",
|
||||
"agent": "string",
|
||||
"environment": "string",
|
||||
"region": {
|
||||
"region": "string",
|
||||
"model": {
|
||||
"type": "string",
|
||||
"enum": ["europe-west1", "europe-west2", "australia-southeast1", "asia-northeast1"]
|
||||
"enum": ["es", "cx"]
|
||||
},
|
||||
"lang": "string",
|
||||
"actionHook": "object|string",
|
||||
"eventHook": "object|string",
|
||||
"events": "[string]",
|
||||
"events": "array",
|
||||
"welcomeEvent": "string",
|
||||
"welcomeEventParams": "object",
|
||||
"noInputTimeout": "number",
|
||||
@@ -308,7 +312,8 @@
|
||||
"passDtmfAsTextInput": "boolean",
|
||||
"thinkingMusic": "string",
|
||||
"tts": "#synthesizer",
|
||||
"bargein": "boolean"
|
||||
"bargein": "boolean",
|
||||
"queryInput": "#queryInput"
|
||||
},
|
||||
"required": [
|
||||
"project",
|
||||
@@ -316,6 +321,16 @@
|
||||
"lang"
|
||||
]
|
||||
},
|
||||
"queryInput": {
|
||||
"properties": {
|
||||
"text": "string",
|
||||
"intent": "string",
|
||||
"event": "string",
|
||||
"dtmf": "string"
|
||||
},
|
||||
"required": [
|
||||
]
|
||||
},
|
||||
"dtmf": {
|
||||
"properties": {
|
||||
"id": "string",
|
||||
@@ -378,6 +393,26 @@
|
||||
"url"
|
||||
]
|
||||
},
|
||||
"llm": {
|
||||
"properties": {
|
||||
"id": "string",
|
||||
"vendor": "string",
|
||||
"model": "string",
|
||||
"auth": "object",
|
||||
"connectOptions": "object",
|
||||
"actionHook": "object|string",
|
||||
"eventHook": "object|string",
|
||||
"toolHook": "object|string",
|
||||
"events": "array",
|
||||
"llmOptions": "object"
|
||||
},
|
||||
"required": [
|
||||
"vendor",
|
||||
"model",
|
||||
"auth",
|
||||
"llmOptions"
|
||||
]
|
||||
},
|
||||
"message": {
|
||||
"properties": {
|
||||
"id": "string",
|
||||
@@ -492,6 +527,7 @@
|
||||
"properties": {
|
||||
"id": "string",
|
||||
"transcriptionHook": "string",
|
||||
"translationHook": "string",
|
||||
"recognizer": "#recognizer",
|
||||
"earlyMedia": "boolean",
|
||||
"channel": "number"
|
||||
@@ -557,7 +593,7 @@
|
||||
"fallbackVoice": "string|object",
|
||||
"engine": {
|
||||
"type": "string",
|
||||
"enum": ["standard", "neural"]
|
||||
"enum": ["standard", "neural", "generative", "long-form"]
|
||||
},
|
||||
"gender": {
|
||||
"type": "string",
|
||||
@@ -652,7 +688,8 @@
|
||||
"assemblyAiOptions": "#assemblyAiOptions",
|
||||
"googleOptions": "#googleOptions",
|
||||
"customOptions": "#customOptions",
|
||||
"verbioOptions": "#verbioOptions"
|
||||
"verbioOptions": "#verbioOptions",
|
||||
"speechmaticsOptions": "#speechmaticsOptions"
|
||||
},
|
||||
"required": [
|
||||
"vendor"
|
||||
@@ -662,6 +699,7 @@
|
||||
"properties": {
|
||||
"authToken": "string",
|
||||
"uri": "string",
|
||||
"sampleRate": "number",
|
||||
"options": "object"
|
||||
},
|
||||
"required": [
|
||||
@@ -828,6 +866,95 @@
|
||||
"required": [
|
||||
]
|
||||
},
|
||||
"speechmaticsOptions": {
|
||||
"properties": {
|
||||
"transcription_config": "#sm_transcriptionConfig",
|
||||
"translation_config": "#sm_translationConfig",
|
||||
"audio_events_config_config": "#sm_audioEventsConfig"
|
||||
},
|
||||
"required": [
|
||||
]
|
||||
},
|
||||
"sm_transcriptionConfig": {
|
||||
"properties": {
|
||||
"language": "string",
|
||||
"additional_vocab": "array",
|
||||
"diarization": "string",
|
||||
"speaker_diarization_config": "#sm_speakerDiarizationConfig",
|
||||
"enable_partials": "boolean",
|
||||
"max_delay": "number",
|
||||
"max_delay_mode": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"fixed",
|
||||
"flexible"
|
||||
]
|
||||
},
|
||||
"output_locale": "string",
|
||||
"punctuation_overrides": "#sm_puctuationOverrides",
|
||||
"operating_point": "string",
|
||||
"enable_entities": "boolean",
|
||||
"audio_filtering_config": "#sm_audioFilteringConfig",
|
||||
"transcript_filtering_config": "#sm_transcriptFilteringConfig"
|
||||
},
|
||||
"required": [
|
||||
]
|
||||
},
|
||||
"sm_speakerDiarizationConfig": {
|
||||
"properties": {
|
||||
"speaker_sensitivity": "number",
|
||||
"max_speakers": "number"
|
||||
},
|
||||
"required": [
|
||||
]
|
||||
},
|
||||
"sm_puctuationOverrides": {
|
||||
"properties": {
|
||||
"permitted_marks": "array",
|
||||
"sensitivity": "number"
|
||||
},
|
||||
"required": [
|
||||
]
|
||||
},
|
||||
"sm_audioFilteringConfig": {
|
||||
"properties": {
|
||||
"volume_threshold": "number"
|
||||
},
|
||||
"required": [
|
||||
"volume_threshold"
|
||||
]
|
||||
},
|
||||
"sm_transcriptFilteringConfig": {
|
||||
"properties": {
|
||||
"remove_disfluencies": "boolean"
|
||||
},
|
||||
"required": [
|
||||
"remove_disfluencies"
|
||||
]
|
||||
},
|
||||
"sm_translationConfig": {
|
||||
"properties": {
|
||||
"target_languages": "array",
|
||||
"enable_partials": "boolean"
|
||||
},
|
||||
"required": [
|
||||
"target_languages"
|
||||
]
|
||||
},
|
||||
"sm_audioEventsConfig": {
|
||||
"properties": {
|
||||
"types": {
|
||||
"type": "array",
|
||||
"enum": [
|
||||
"applause",
|
||||
"music",
|
||||
"laughter"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
]
|
||||
},
|
||||
"sonioxStorage": {
|
||||
"properties": {
|
||||
"id": "string",
|
||||
@@ -999,7 +1126,8 @@
|
||||
"noResponseTimeout": "number",
|
||||
"noResponseGiveUpTimeout": "number",
|
||||
"retries": "number",
|
||||
"actions": "array"
|
||||
"actions": "array",
|
||||
"giveUpActions": "array"
|
||||
}
|
||||
},
|
||||
"bidirectionalAudio" : {
|
||||
|
||||
@@ -81,6 +81,16 @@ test("validate correct verbs", async (t) => {
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"verb": "config",
|
||||
"referHook": "https://referhook.com"
|
||||
},
|
||||
{
|
||||
"verb": "config",
|
||||
"referHook": {
|
||||
"url": "https://referhook.com"
|
||||
}
|
||||
},
|
||||
{
|
||||
"verb": "config",
|
||||
"recognizer": {
|
||||
@@ -447,6 +457,17 @@ test("validate correct verbs", async (t) => {
|
||||
"interim": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"verb": "transcribe",
|
||||
"transcriptionHook": "http://example.com/transcribe",
|
||||
"recognizer": {
|
||||
"vendor": "nvidia",
|
||||
"language" : "en-US",
|
||||
"customOptions": {
|
||||
"sampleRate": 16000
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"verb": "transcribe",
|
||||
"transcriptionHook": "http://example.com/transcribe",
|
||||
|
||||
Reference in New Issue
Block a user