aws-solutions / qnabot-on-aws

AWS QnABot is a multi-channel, multi-language conversational interface (chatbot) that responds to your customer's questions, answers, and feedback. The solution allows you to deploy a fully functional chatbot across multiple channels including chat, voice, SMS and Amazon Alexa.
https://aws.amazon.com/solutions/implementations/aws-qnabot
Apache License 2.0
384 stars 247 forks source link

Enable Intent Trigger every start of a session #715

Closed dangollayan closed 2 months ago

dangollayan commented 2 months ago

As of now we have these two: WebAppConfBotInitialText: Initial text sent by the bot every session started WebAppConfBotInitialUtterance: Initial utterance sent to the bot every session started (forces an intent to trigger)

Currently, the WebAppConfBotInitialText parameter is utilized to send an initial message from the bot at the start of each session. However, there's a need for this initial text to trigger an intent without requiring a separate initial utterance to be sent by the user.

Use Case: Our use case requires prompting the user for their name at the beginning of each session. By setting the initial text as an intent, we can ensure that this prompt consistently appears at the start of every conversation, without relying on a user-sent initial utterance.

Is there a way to do this?

fhoueto-amz commented 2 months ago

Hi @dangollayan I am not aware of such setting. You may want to post this question to the https://github.com/aws-samples/aws-lex-web-ui project as the chat client is coming from that project.

dangollayan commented 2 months ago

thank you so much @fhoueto-amz , you may close this.