Comments (12)
Hi, yes you can do this. First, you need to enable streaming to and from the customer in the contact flow by using the Start Media Streaming block. Then you need to update the KvsTrigger Lambda function to set the boolean to true for both directions. Then you should see the audio stream to the customer being transcribed into the DDB for the ToCustomer audio stream.
from ai-powered-speech-analytics-for-amazon-connect.
Thanks for the response đ. Yes I did the same and it worked as u said. Looks like I have to set the lambda trigger function for agent segment table too to send it in the socket response on DB insert. Will try that, as I was expecting e2e transcription on both voices âď¸.
from ai-powered-speech-analytics-for-amazon-connect.
@efh365 , @tamdilip, Is there any way I can show the Agent transcribe on the front end. If so could you please tell me? Thanks.
from ai-powered-speech-analytics-for-amazon-connect.
Yes, you can copy the setup for the customer side transcript for the agent side transcript. In short, there is a websocket established on the front end and whenever there is a write to the DDB, the messages are pushed to the API Gateway websocket API and received on the front end.
from ai-powered-speech-analytics-for-amazon-connect.
@efh365 Thanks for the reply, I tried the same, but couldn't able to achieve it. Could you please show me an example or could you please tell me the method for Agent?
from ai-powered-speech-analytics-for-amazon-connect.
@efh365 I have enabled to Stream both Agent and Customer audio, I can also able to store the transcript of Agent and Customer in DDB. But I couldn't able to find the method to show the Agent transcripts on the front end. Kindly help me on this please
from ai-powered-speech-analytics-for-amazon-connect.
Sorry, let me clarify. The pieces needed to pass the agent transcript to the front end are not a part of this solution. However, you can follow the same pattern that is used to pass the customer transcript to the front end (using a websocket API Gateway endpoint and subscribing to that websocket on the front end). You will need to configure that yourself, but you have the pattern available through this solution.
from ai-powered-speech-analytics-for-amazon-connect.
@efh365 Thank you. I made a workaround, It worked. Thanks again for the wonderful response.
from ai-powered-speech-analytics-for-amazon-connect.
@YogeshDhana can you help me with the same..
I am able to save the transcript to DDB but not able to get it on frontend.
I tried to make a clone of lambda function ( Ai-powered-speech-analyti-wsrealtimetranscribeOnDD ) and set the trigger on "tocustomer" DDB but not able to get the data on frontend.
I think DDB scan method returning empty array instead of transcript .
can you help me with the same. what I need to do and get the agent transcript on front end.
from ai-powered-speech-analytics-for-amazon-connect.
@aman-appcino Please check whether the transcript is enabled for both agent and the customer. If not enable the transcripts to both and set the same trigger to both customer and the agent DDB.
from ai-powered-speech-analytics-for-amazon-connect.
@YogeshDhana
Thank you for reply.
The transcript is enabled for both agent and the customer . and the trigger is set on both agent and customer DDB.
The values are stores in agent table as well but unable to them on frontend using websocket.
from ai-powered-speech-analytics-for-amazon-connect.
@aman-appcino You have to work around with Lambda functions to get the transcripts through WebSocket messages. Please take a look at the kvs_transcribe_streaming_lambda and ws_realtime_transcribe_OnMessage lambda functions
from ai-powered-speech-analytics-for-amazon-connect.
Related Issues (20)
- How can I get Agent Transcript on Front End HOT 2
- How can I get Outgoing Transcript of both agent and customer. HOT 6
- In transcribeStreaming, some languages is not working. HOT 2
- How to get the real time Transcript of both the agent as well as customer? HOT 1
- the maximum session duration for the role HOT 1
- How can I get the real-time agent transcript? HOT 3
- How can i get agent side transciption? Currently I am only able to get customer transcription. HOT 2
- Chat with Translate doesn't work HOT 1
- How to get the real time agent transcript? HOT 4
- How do I add more languages to the translate options? HOT 2
- Chat Translate not working HOT 2
- [Feature] Adding more transcribe language HOT 3
- ćĺ辡ăăăŽćŹ č˝ HOT 5
- ĺćé芹ă§ćĺ辡ăăăä¸ćăăă HOT 4
- Chat translate not working HOT 3
- CCP domain changed HOT 1
- How do I remediate RCE 0-day exploit found in Apache Log4j2 HOT 2
- deployment/manifest-generator: No such file or directory HOT 1
- Error on UI when connecting to connect HOT 2
- Build fails with 'manifest-generator: No such file or directory' HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
đ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. đđđ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google â¤ď¸ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ai-powered-speech-analytics-for-amazon-connect.