[ai validation] Default prompt and constraint to not match
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3486729. --> Reported by: [mrdalesmith](https://www.drupal.org/user/2612656) Related to !260 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>The default prompt provided by the module instructs the LLM to reply XTRUE if the text contains the phrase we are validating for. The code in the constraint however only fails validation if the LLM responds XFALSE.</p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>The module should be updated so it is clear to the user that the prompt should return XTRUE if validation passes and XFALSE if not, and the code updated accordingly.</p>
issue