(Optional) Running a custom sweep job for summarizing existing documents

You can create a document class subscription for watsonx summary generation. After you create the subscription, a document summary is automatically generated for any new documents that are added to the object store, which belong to the subscribed document class. However, you need to run a custom sweep job to generate a document summary for existing documents that were added to the object store before the subscription was created.

Before you begin

Make sure that you have the following permissions for all existing documents for which you plan to generate watsonx summary:
  • READ
  • WRITE
  • VIEWCONTENT

About this task

Configure and run a custom job sweep for summary generation to generate watsonx summaries for existing document content.
Note: For better throughput and performance, do not run the summary generation custom job sweep and the vector indexing custom job sweep at the same time.

Procedure

  1. Start the New Custom Job wizard in the Administration Console for Content Platform Engine (ACCE):
    1. In the domain navigation pane, select the object store.
    2. In the object store navigation pane, select the Sweep Management > Job Sweeps > Custom Jobs folder.
    3. Click New.
      You can configure the new custom job sweep to configure watsonx summaries for existing documents.
  2. Enter the name and description for the custom job sweep for watsonx summary generation.
    You can name the sweep as Custom Summary Generation Job.
  3. Specify the Custom Sweep subclass as Custom Sweep Job.
  4. Specify the Sweep Mode as Normal.
  5. Select the Enabled property to enable to custom sweep to run. Click Next.
  6. Specify the Target Class as Document.
  7. Specify the Filter Expression to filter objects of the selected target class type.
    For example, you can include a filter VersionStatus=1 for document classes that are Released.
  8. Optional: Select Enabled if you want to include subclasses and if you want to record failures.
  9. Specify the Sweep Action as Gen AI Summary Request Job Sweep Action.
  10. Optional: Specify the start and end dates for the custom job sweep.
  11. Complete the wizard.