Quality Review Component
This component is available in the
dist/libs/integrations/invox-dialogs folder of the npm package.The Quality Review Component is a modal window that allows users to review AI-powered quality review suggestions for their dictated text. This high-level component is designed to be integrated quickly and easily in your web application.
Getting started
1. Import resources
Install the SDK via npm:
npm install @invox-medical-npm/invox-dictation
Then import QualityReviewDialog as a named export:
import INVOX, { QualityReviewDialog } from "@invox-medical-npm/invox-dictation";
Component styles are auto-injected at runtime — no separate CSS import needed.
2. Initialize component
- Create a container in the DOM. You can use the same container for all dialog components:
<div id="invox-dialogs-container"></div> - Create the component:
const qualityReviewDialog = QualityReviewDialog.create("invox-dialogs-container");
3. Show component
qualityReviewDialog.show();
4. Hide component (optional)
The dialog can also be closed by pressing ESC or clicking the Close button.
qualityReviewDialog.hide();
5. Remove component (optional)
qualityReviewDialog.remove();
Public methods
create
const qualityReviewDialog = QualityReviewDialog.create("invox-dialogs-container");
show
qualityReviewDialog.show();
hide
qualityReviewDialog.hide();
remove
qualityReviewDialog.remove();
Customize design
Uses the same auto-injected CSS variables as the Dictionary Component.
How to use
The Quality Review dialog allows users to review AI-generated suggestions for improving their dictated text. Users can accept or reject individual suggestions before finalizing the text.