Giter Club home page Giter Club logo

Comments (4)

atoa avatar atoa commented on May 13, 2024

Hello,

Couple of questions to better troubleshoot this:

  1. Are you using text or voice?
  2. If you look at the response in the Network tab of Developer Tools, do you see a responseCard field being returned?

Feel free to post a link to the application here as that may help to pinpoint the issue

-- Oliver

from aws-lex-web-ui.

meeshu avatar meeshu commented on May 13, 2024

Hey Oliver,

Thanks for the heads-up! I didn't realize that it worked only with text and not voice. Is there a way to make it work with both? Here's the url: http://lexorderflower-hosting-mobilehub-769249220.s3-website-us-east-1.amazonaws.com/

-- Meeshu

from aws-lex-web-ui.

atoa avatar atoa commented on May 13, 2024

H Meeshu,

Is there a way to make it work with both?

Yes. Although the Lex service only supports response cards with text, the web UI implements a workaround which uses a custom session attribute to return a response card when using voice. This requires the bot to use a Lambda function to set the session attribute (see the Lex documentation for using Lambda functions).

For details about this custom voice-compatible response card, see the Response Cards section in the README of the Lex Web UI component.

Let me know if this clarifies it.

-- Oliver

from aws-lex-web-ui.

atoa avatar atoa commented on May 13, 2024

Closing this issue as it seems like the question was answered. Feel free to reopen otherwise.

from aws-lex-web-ui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.