ai_validations for smart text and image validation
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3456199. -->
Reported by: [wouters_f](https://www.drupal.org/user/721548)
Related to !12
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>We need something to do smart <strong>ai_validations</strong></p>
<h3>Validation of text</h3>
<ul>
<li>emotion detection on text (<a href="https://www.drupal.org/project/azure_text_analytics_api">https://www.drupal.org/project/azure_text_analytics_api</a>)</li>
<li>emotion detection on text (custom model)</li>
<li>not allowing hate speech</li>
</ul>
<h3>Validation of images</h3>
<ul>
<li>validate images on upload (safe search, no xxx rated content)</li>
<li>Custom validate (only pizza pictures allowed)</li>
<li>Custom validate (only happy profile pics allowed)</li>
</ul>
<p>Some of this functionality is already existing (image things already exist in google_vision).</p>
<ul>
<li><a href="https://www.drupal.org/project/azure_text_analytics_api">azure_text_analytics_api</a>
</li><li><a href="https://www.drupal.org/project/vision">vision</a></li>
<li><a href="https://www.drupal.org/project/google_cloud_vision">google_cloud_vision</a></li>
<li><a href="https://www.drupal.org/project/google_vision">google_vision</a></li>
</ul>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Have a<br>
<strong>ai_validation</strong> submodule<br>
That allows the use of automators to do smart validation.<br>
No clue however how it should look/work</p>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<h3 id="summary-ui-changes">User interface changes</h3>
<h3 id="summary-api-changes">API changes</h3>
<h3 id="summary-data-model-changes">Data model changes</h3>
issue