Amazon Comprehend
Enable your integration with models from Amazon Comprehend.
ML-assisted labeling supports models from Amazon Comprehend. If you already have data and training pipelines in Amazon Comprehend, you can utilize your trained model to enhance the performance.
Enable ML-assisted labeling extension
Create a custom project for row labeling.
Click the gear icon in the extension panel on the right to open the Manage extensions dialog.
From the Manage extensions dialog, enable the ML-assisted labeling extension.

Once enabled, select Amazon Comprehend as the service provider.

Setup role in AWS Identity and Access Management (IAM)
Before creating a role in the IAM page, create the required policies to define permissions for the new role.
Go to your IAM page, navigate to the Policies section, and then create a new policy.
Download the example below and add it.
After that, proceed to create a new role:
Go to the IAM page and navigate to the Roles section.
Click Create role, then select AWS account as the role type.
Enter the Account ID and External ID. These values are automatically generated within the Datasaur ML-assisted labeling extension and can be copied into AWS.

Select trusted entity On the Add permissions step, search for the policy you created earlier and add it to the permissions.

Add permissions Provide a role name and click Create role. The role will be created successfully.

View your role and copy the Role ARN.

Role ARN Paste this information into the ML-assisted labeling extension.
Go back to the Amazon Comprehend page and retrieve the Endpoint ARN. Copy it and paste it into the extension.

Endpoint details
Start prediction
Once you have configured the settings, click Predict labels to generate predictions from your model.

Last updated
Was this helpful?