Comments (9)
@chanbi-aws thanks for your report, we will investigate and get back to you
from qnabot-on-aws.
Hi @chanbi-aws, I assume you are using v5.4.5 from your latest post. I recommend trying to upgrade to the latest version v5.5.0. I wasn't able to replicate this issue when deploying qnabot v5.5.0. Let me know if you still come across issues! Thanks.
from qnabot-on-aws.
After discussion with @chanbi-aws, this seems to be a bug from lex-web-ui, which our QnABot solution does not manage.
from qnabot-on-aws.
This is a different issue to the 'invalid ssml'.
from qnabot-on-aws.
@michaelin-96 @chanbi-aws If the LLM (Bedrock) response is generating output to be used in a voice based response through QnABot, the handlers managing the request/response with Bedrock will need to manage output in a voice based SSML manner. That is, the Bedrock integration will need to provide a voice based response in valid SSML if that is supported. LexWebUi is not going to manage output from the Lex bot and perform correction to account for incorrectly formatted SSML. The integration in QnABot needs to identify that the request was made in voice mode and that the output should be in voice mode using valid SSML.
Is the response payload being provided to LexWebUi when the error occurs available to investigate further?
Is there a public endpoint that can be exercised to investigate?
from qnabot-on-aws.
The issue occurs prior to any request to the LLM. The error is thrown when you click the 'mic' icon to record your voice input. Maybe this is an issue that needs to be raised with https://github.com/aws-samples/aws-lex-web-ui.
from qnabot-on-aws.
@chanbi-aws Is the embedded version of LexWebUi being used or was the full version from https://github.com/aws-samples/aws-lex-web-ui installed? Sounds like it is the full version based on the use of parent.html but want to confirm. If its the full version then this should be submitted against LexWebUi. Note a number of problems with voice mode were resolved in LexWebUi 0.20.2 which was released on 2023-11-28. So first step is going to be to upgrade to the latest LexWebUi at least greater than or equal to 0.20.2.
from qnabot-on-aws.
@bobpskier This comment should refer to this ticket 694.
In terms of the mic issue in the embedded page, I recommend using the latest lex build (20.6), otherwise this may be a bug for lex-web-ui. Closing this ticket out now
@michaelin-96 @chanbi-aws If the LLM (Bedrock) response is generating output to be used in a voice based response through QnABot, the handlers managing the request/response with Bedrock will need to manage output in a voice based SSML manner. That is, the Bedrock integration will need to provide a voice based response in valid SSML if that is supported. LexWebUi is not going to manage output from the Lex bot and perform correction to account for incorrectly formatted SSML. The integration in QnABot needs to identify that the request was made in voice mode and that the output should be in voice mode using valid SSML.
Is the response payload being provided to LexWebUi when the error occurs available to investigate further?
Is there a public endpoint that can be exercised to investigate?
from qnabot-on-aws.
I will raise an issue with aws-lex-web-ui. Updating the stack with the master.yaml (https://github.com/aws-samples/aws-lex-web-ui/blob/master/templates/master.yaml) successfully upgrades to v0.20.6, but when the UI initialises with version 0.20.5. Browser console output: "lex-web-ui.min.js:29 successfully initialized lex web ui version: 0.20.5"
from qnabot-on-aws.
Related Issues (20)
- Lex slot validation using lambda code hook in lex v2 console HOT 4
- Kendra context summary encoding/decoding issues. HOT 2
- a Terraform version HOT 2
- Provide session management capabilities HOT 2
- Ability to reset the conversation or start new conversation HOT 2
- QnA wont get any content from Kendra , if the Kendra content is not in english. HOT 15
- [Bug] AWS environment variable for region is wrongly set HOT 3
- Enable Intent Trigger every start of a session HOT 2
- Using Elicit Response but with chaining HOT 4
- Confirmation Decline Response Prompt not sending HOT 2
- Lambda creates about 1 bilion copies of file HOT 5
- Lambda layer changes not reflecting HOT 4
- Response card is not showing when chaining rule is added. HOT 8
- Amazon Polly voice name for Austrian German is incorrect HOT 4
- Score matching HOT 2
- Answer data that contains only double-byte full-width characters cannot be imported. HOT 2
- Shell and other commands not working in Ubuntu linux HOT 3
- Issue: QnABot logs Never Expire. Request: Add configurable log retention period for all CloudWatch log groups used by QnABot HOT 2
- 6.0.0 has updated PassRole resource constraint definition that breaks upgrades or new installs if stack name is greater than 26 characrters HOT 5
- Kendra Web Cwaler is executed, but the KendraCrawlerSNSTopic that launches the ClowlerLambda is not triggered 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 qnabot-on-aws.