Analyzing and extracting data from documents using Pega GenAI
3 タスク
45 分
シナリオ
An Executive Manager at MDC is responsible for reviewing the Business Partner Registration Cases. To enhance the screening of business partners, MDC decides to collect supporting documents, which include a “Certificate of business registration.”
However, manually reviewing lengthy documents slows down the approval process and increases the risk of missing critical details. To improve efficiency and decision quality, MDC wants to use Pega GenAI™ to automatically summarize the submitted document and present it to the Executive Manager. The generated summary should highlight key business details, confirm legal validity, and surface any potential concerns that might require further review.
The following table provides the credentials you need to complete the challenge:
| Role | User name | Password |
|---|---|---|
| Application developer | admin@deliveryservice | rules |
詳細なタスク
1 Update the Partner Case Type to accept supporting documents
- In the Pega Platform instance for the challenge, enter the following credentials:
- In the User name field, enter admin@deliveryservice.
- In the Password field, enter rules.
- In the header of App Studio, switch to the Registration application.
- Switch to Dev Studio, then add a new Ruleset Version to the PartnerRegistration Ruleset.
- Save the Ruleset, and then switch back to App Studio.
- In the navigation pane of App Studio, click Case Types, and then open Partner Case Type.
- Click the Data Model tab, and then add the following fields:
- Add an Attachment field with the label Certificate of business registration.
- Add a Text (paragraph) field with the label Partner profile.
- Click the Workflow tab, and then in the Create Stage, add a Form Step in the Create Process, and then name it Upload supporting documents.
- In the Step configuration pane, click Configure User Action.
- Add the Certificate of business registration field to the View, and then click Submit.
- Click UX tab, and then on the Full Page View tab, configure the Partner profile summary in the Case for review:
- In the Tabs section, click Add, and then create a new View named Partner profile.
- Drill into the newly created View, and click Add.
- Select the Partner profile field, and then click Add.
- Click Configure icon and set Edit mode as Read-only.
- Save the Partner Case Type.
2 Create GenAI Connect Rule to summarize partner profile
- In the navigation pane of App Studio, click AI Designer > GenAI Connect.
- Click Create new GenAI Connect, and then in the dialog box, complete the details:
- In the Class list, in the Case Types section select Partner.
- In the Name field, enter Summarize document.
- In the Description text box, enter Analyze and summarize the attached Certificate of Business Registration to present the Executive Manager with a concise, approval ready view of the registering business partner’s profile.
- Click Submit.
- Review the generated prompts and configurations in Summarize document GenAI Connect Rule.
- Review the System prompt and User prompt.
- Select Include attachment field for analysis checkbox
- In the Select attachment field list, select CertificateOfBusinessRegistration.
- In the Response section, in the Expected response mode section, select Unstructured.
- In To property list, select PartnerProfile.
- Click Save
3 Configure the GenAI Connect Rule in the Partner Case Type
- In App Studio, open the Partner Case Type.
- In the Approval Stage, add a GenAI Connect Automation Step before the Executive Manager approval Step.
- In the Step properties pane of the GenAI Connect Step, in the GenAI Connect name list, select Use existing and choose the SummarizeDocuments.
- Save the Case Type.