Steps to Reproduce:
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.
Clarity Version 16.2.3
DE153081