Angular 使用语音进行反应或使用放大交互进行角度调整
交互代码为:Angular 使用语音进行反应或使用放大交互进行角度调整,angular,reactjs,aws-amplify,amazon-lex,Angular,Reactjs,Aws Amplify,Amazon Lex,交互代码为: I am using aws-amplify interaction : https://aws-amplify.github.io/docs/ 谁能帮我解决这个问题 我对amplify chatbot ui组件也有同样的问题,我已经在aws sdk repo中解决了这个问题: 在做了一些分析之后,我认为需要对lib进行一些调整,以解决这个错误。我对amplify chatbot ui组件也有同样的问题,我在aws sdk repo中提出了一个问题: 在做了一些分析之后,我认为需
I am using aws-amplify interaction : https://aws-amplify.github.io/docs/
谁能帮我解决这个问题 我对amplify chatbot ui组件也有同样的问题,我已经在aws sdk repo中解决了这个问题:
在做了一些分析之后,我认为需要对lib进行一些调整,以解决这个错误。我对amplify chatbot ui组件也有同样的问题,我在aws sdk repo中提出了一个问题: 在做了一些分析之后,我认为需要对lib进行一些调整,以解决这个错误
<ChatBot
title="My Bot"
theme={myTheme}
botName="OrderFlowers"
welcomeMessage="Welcome, how can I help you today?"
onComplete={this.handleComplete.bind(this)}
clearOnComplete={true}
conversationModeOn={false}
voiceEnabled={true}
voiceConfig={customVoiceConfig}
/>
const customVoiceConfig = {
silenceDetectionConfig: {
time: 2000,
amplitude: 0.2
}
}
*While using voice enabled interaction I am getting this error. When I press the voice button.*
[enter image description here][1]Aws_restJson1_1.ts:834 Uncaught (in promise) **BadRequestException: Invalid Request: The header x-amz-content-sha256 must be set to the literal string** UNSIGNED-PAYLOAD.
at http://localhost:3000/static/js/1.chunk.js:91237:42
at step (http://localhost:3000/static/js/1.chunk.js:318206:17)
at Object.next (http://localhost:3000/static/js/1.chunk.js:318137:14)
at fulfilled (http://localhost:3000/static/js/1.chunk.js:318092:24)
[1]: https://i.stack.imgur.com/4heUC.png