aws-samples / amazon-lex-customerservice-workshop

Code and walkthrough labs to create a customer service chatbot using Amazon Lex (and integrations with Amazon Connect, Twilio SMS, etc.)
Apache License 2.0
95 stars 70 forks source link

Can I get User Input Voice (Audio file) from lex inside Lambda function to recognise speaker talking to Lex bot #4

Closed GauravGaikwad94 closed 5 years ago

GauravGaikwad94 commented 6 years ago

I want to recognise speaker talking to Lex bot, does AWS provide any service to recognise speaker? Or if I want to use custom package to recognise speaker can I get user voice ( audio file ) inside Lambda function from Lex bot?

corserv commented 6 years ago

I've been looking into this and it so far looks not possible. But it may be. About a year ago Time ran an article saying Amazon was working on it [0]

Last Oct Alexa supposedly gained the ability to distinguish voices [1]. However, I can't find any api's to hook into it.

[0] http://time.com/4683981/amazon-echo-voice-id-feature-2017/ (has autoplay video) [1] https://www.theverge.com/circuitbreaker/2017/10/11/16460120/amazon-echo-multi-user-voice-new-feature

angelarw commented 5 years ago

Lex itself doesn't provide you the audio file, however, if you are using Lex with Amazon Connect, Amazon Connect does have call recording functionality: https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-instance.html