createUI - Methods - Feedback Aide API

Feedback Aide API Methods


The recommended method to use the Feedback API with our predefined UI.

You would want to use this so that you can easily integrate feedback sessions with a UI, enabling various modules or turning off certain components.


const sessionUI = await feedbackSession.createUI({
    // Optional options to hide unwanted UI
    modules: {
        response: false,
        score: false,

await sessionUI.generateFeedback();


  • modules object

    Options to enable or disable UI components.

    • response boolean

      Enable or disable the response module.

    • rubric boolean

      Enable or disable the rubric module.

    • score boolean

      Enable or disable the score module.

    • feedback boolean

      Enable or disable the feedback module.

Return value

Type Promise

See FeedbackSessionUI for more information.

Was this article helpful?

Did you arrive here by accident? If so, learn more about Learnosity.