We have updated to beta version inorder to use the Text Source
Adding the AI features as Text to Speech and Speech to Text options
Use ChoiceResult recognize type
Scenario:
Create outbound call, once the call is connected then we use the TextSource convert text to Speech by using Recognize feature in the call automation. It plays the text "Hello this is Contoso Bank, we’re calling in regard to your appointment tomorrow at 9am to open a new account. Please confirm if this time is still suitable for you or if you would like to cancel.
This call is recorded for quality purposes."
We use the choiceresult, to confirm/cancel the appointment and play the prompt appropriately
for confirmation we play : "Thank you for confirming your appointment tomorrow at 9am, we look forward to meeting with you."
for cancelation we play: "Your appointment tomorrow at 9am has been cancelled. Please call the bank directly
if you would like to rebook for another date and time"
If recognize then we do try to listen once by playing the text "I’m sorry I didn’t receive a response, please try again.", and then we disconnect the call according to the conversation if customer says confirm/cancel we play the above confirmation/cancellation text else we play "I didn't receive an input, we will go ahead and confirm your appointment. Goodbye"
Does this introduce a breaking change?
[ ] Yes
[ ] No
Pull Request Type
What kind of change does this Pull Request introduce?
[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:
How to Test
Get the code
git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install
Purpose
Does this introduce a breaking change?
Pull Request Type
What kind of change does this Pull Request introduce?
How to Test
What to Check
Verify that the following are valid
Other Information