twilio-labs / flex-hackathon-template Goto Github PK
View Code? Open in Web Editor NEWFlex template for SKO 2024 Hackathon participants
License: MIT License
Flex template for SKO 2024 Hackathon participants
License: MIT License
Some issues @Kunalmighty found while testing the IVR:
Within the IVR's gather widgets we were somehow hitting the timeout with no input (maybe speech wasn't recognized?) and the call was dropped.
The variable to read back the order number was not being set for some reason.
Suggestion: we might significantly simplify the IVR to just do Intro -> Transfer to agent. Folks can customize as needed.
I've seen this stack trace pop up sporadically when making an inbound call. It seems that in some cases the sync stream is not being created. Haven't yet determined the cause.
Line throwing the error: https://github.com/Kunalmighty/SKO24Flex/blob/main/apps/transcriptionEngine/src/index.js#L70
Error writing to Sync stream TypeError: Cannot read properties of null (reading 'publishMessage')
at /Users/cweems/workspace/SKO24Flex/apps/transcriptionEngine/src/index.js:70:28
at speechRecognizer.recognizing (/Users/cweems/workspace/SKO24Flex/apps/transcriptionEngine/src/recogniser/microsoft.js:33:7)
at SpeechServiceRecognizer. (/Users/cweems/workspace/SKO24Flex/apps/transcriptionEngine/node_modules/microsoft-cognitiveservices-speech-sdk/distrib/lib/src/common.speech/SpeechServiceRecognizer.js:90:59)
at step (/Users/cweems/workspace/SKO24Flex/apps/transcriptionEngine/node_modules/microsoft-cognitiveservices-speech-sdk/distrib/lib/src/common.speech/SpeechServiceRecognizer.js:48:23)
at Object.next (/Users/cweems/workspace/SKO24Flex/apps/transcriptionEngine/node_modules/microsoft-cognitiveservices-speech-sdk/distrib/lib/src/common.speech/SpeechServiceRecognizer.js:29:53)
at /Users/cweems/workspace/SKO24Flex/apps/transcriptionEngine/node_modules/microsoft-cognitiveservices-speech-sdk/distrib/lib/src/common.speech/SpeechServiceRecognizer.js:23:71
at new Promise ()
at __awaiter (/Users/cweems/workspace/SKO24Flex/apps/transcriptionEngine/node_modules/microsoft-cognitiveservices-speech-sdk/distrib/lib/src/common.speech/SpeechServiceRecognizer.js:19:12)
at SpeechServiceRecognizer.processTypeSpecificMessages (/Users/cweems/workspace/SKO24Flex/apps/transcriptionEngine/node_modules/microsoft-cognitiveservices-speech-sdk/distrib/lib/src/common.speech/SpeechServiceRecognizer.js:66:16)
at SpeechServiceRecognizer. (/Users/cweems/workspace/SKO24Flex/apps/transcriptionEngine/node_modules/microsoft-cognitiveservices-speech-sdk/distrib/lib/src/common.speech/ServiceRecognizerBase.js:646:56)
@cfavila @Kunalmighty Hi guys! I made some progress on getting this set up but am still a bit stuck. Jotting down where I left off for tomorrow:
transcript
and language
) that the ai-suggestion.js
function requires?Let me know if I am off-base here - perhaps the wrong function is being called?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.