Status Report Summarization throwing exception
search cancel

Status Report Summarization throwing exception

book

Article ID: 375799

calendar_today

Updated On:

Products

Clarity PPM On Premise Clarity PPM SaaS

Issue/Introduction

Steps to Reproduce:

  1. Setup AI configuration for Generate Status Summary by setting the Status report attribute and enable.
  2. Try to configure the attribute in either Status Report canvas or details or properties page
  3. Click on Generate content under AI action button.


Expected Result: Generate content with out any exceptions

Actual Result: Below exception is throwing while generating the content.

at java.base/java.lang.Thread.run(Thread.java:840) ERROR 2024-08-21 05:59:19,038 [http-nio-8080-exec-45] genai.Prompt (clarity:XXX:XXX__BDBF22D3-29C0-493A-8A83-452850B69289:PPM_REST_API) (f165758b-bb34-4273-85e1-1660f561bdfc)  The value for the invalid prompt json is {"main": " Can you give me executive project status summary? Do not guess or speculate; I want accurate information only based on the data that I give you. Do not include project name in the response. I need a breakdown of project status in paragraphs with your detailed assessment. ",                    "additionalContext": {                    "tone": {                        "DIRECT": " Keep a direct tone. ",                        "PROFESSIONAL": " Keep a professional tone. ",                     "STANDARD": " Keep a professional tone. "                     },                     "format": {                         "RICH_TEXT": " I require the response to be STRICTLY in HTML code format with html tags like <BR> and <U>, but avoid header tags. NEVER GENERATE any Markdown output.",                          "PLAIN_TEXT": ""                     },                     "additionalContents": {                          "RECOMMENDATIONS": "Add three Recommendations. ",                           "NONE": "Add three Recommendations. "                     }},                      "additionalPrompt": "",                      "hasDynamic": true,                      "revise": "Revise the following text to a professional tone and retain its meaning while improving the phrasing, formatting, and grammar with a preference for using stronger verbs, quantitative focus, and conciseness. "               } ERROR 2024-08-21 05:59:19,038 [http-nio-8080-exec-45] ppm.rest (clarity:XXX:XXX__BDBF22D3-29C0-493A-8A83-452850B69289:PPM_REST_API) (f165758b-bb34-4273-85e1-1660f561bdfc) com.ca.ppm.rest.exception.APISystemException: A valid JSON prompt for the config is required to construct the Prompt instance. 

Environment

Clarity Version 16.2.3 

Cause

DE153081

Resolution

  • Broadcom SaaS - Fixed with 16.2.3 upgrade 
  • DE153081 is fixed in 16.3.0 (Targeted to release November 2024) and also backported to 16.2.3 patch 1