0 / 0
Managing and customizing report templates
Last updated: Nov 27, 2024
Managing and customizing report templates

If the default report templates that are provided for AI use cases or asset factsheets do not meet your governance needs, you can download a default report template, customize it, and upload the new template.

Customizing a custom report template

Create a report from an AI use case that captures all the details from An AI use case or for an AI asset. You can use reports for compliance verification, archiving, or other purposes.

If the default templates for the reports do not meet the needs of your organization, you can customize the report templates, the branding file, or the default stylesheet. For example, you can replace the IBM logo with your own logo image file. You must have the manage_catalog role to customize report templates.

Follow these steps to customize a report template. Report templates to customize are available for download from this folder.

Downloading a report

To download a report template from the UI:

  1. Open the AI uses cases settings and click the Report templates tab. If you do not see this tab, you might have insufficient access.
  2. In the options menu for a report template, click Download. Downloading a report template
  3. Open the <report-name>.ftl file in an editor.
  4. Edit the template by using instructions from Apache FreeMarker or the API commands.

To download a report template by using APIs:

  1. Use the GET endpoint for /v1/aigov/report_templates in the AI Factsheets to list the available templates. Note the ID for the template that you want to download.
  2. Use the GET endpoint /v1/aigov/report_templates/{template_id}/content with the template ID to download the template file.
  3. Open the <report-name>.ftl file in an editor.
  4. Edit the template by using instructions from Apache FreeMarker.

Uploading a template

  1. Open the AI uses cases settings and click the Report templates tab. If you do not see this tab, you might have insufficient access.
  2. Click Add template.
  3. Specify a name for the template and an optional description.
  4. Choose the type of template: AI asset or AI use case. The reports are available for external models and watsonx.ai Runtime assets.
  5. Upload the updated FTL file.
Restriction:

The ftl file that you upload must not import any other files. Support is not yet available for import statements other than system templates in the ftl file.

The custom template displays in the Report templates section and is available for creating reports. Click Edit or Delete from the action menu for a custom template to update the template details or to remove the template.

Parent topic: Managing AI use cases

Generative AI search and answer
These answers are generated by a large language model in watsonx.ai based on content from the product documentation. Learn more