AVOID-TOO-SHORT-PROMPT

Impact Area

Manageability

 

Severity

Medium

 

Affected Element

Prompt Templates:

GenAiPromptTemplate

Rule ID #

AVOID-TOO-SHORT-PROMPT

Description #

Prompt Templates should not be too short to ensure clarity and effectiveness.

Impact #

Prompt Templates that are too short may lack the necessary context for the LLM to generate accurate and relevant responses. This can lead to vague, incomplete, or misleading outputs, reducing the effectiveness of automation and requiring additional manual intervention.

Remediation #

Ensure that Prompt Templates are at least 100 characters long. Provide sufficient context, clear instructions, and relevant details to help the LLM generate meaningful responses. If a prompt is too short, consider expanding it with necessary background information or clarifying details.

Time to fix

30 min

Was it helpful ?

THE AI CODE GOVERNANCE BRIEF

Sign up for new updates!