mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-20 08:40:38 +00:00
wip: implemented listen, transcribe, play
This commit is contained in:
31
test/data/good/alternate-syntax.json
Normal file
31
test/data/good/alternate-syntax.json
Normal file
@@ -0,0 +1,31 @@
|
||||
[
|
||||
{
|
||||
"verb": "gather",
|
||||
"action": "https://00dd977a.ngrok.io/gather",
|
||||
"input": ["speech"],
|
||||
"timeout": 12,
|
||||
"recognizer": {
|
||||
"vendor": "google",
|
||||
"language": "en-US",
|
||||
"hints": ["sales", "support", "engineering", "human resources", "HR", "operator", "agent"]
|
||||
},
|
||||
"say": {
|
||||
"text": "Please say the name of the department that you would like to speak with. To speak to an operator, just say operator.",
|
||||
"synthesizer": {
|
||||
"vendor": "google",
|
||||
"voice": "en-US-Wavenet-C"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"verb": "say",
|
||||
"text": "I'm sorry, I did not hear a response. Goodbye.",
|
||||
"synthesizer": {
|
||||
"vendor": "google",
|
||||
"voice": "en-US-Wavenet-C"
|
||||
}
|
||||
},
|
||||
{
|
||||
"verb": "hangup"
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user