Interface suggestion for text classification operator type
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3456768. -->
Reported by: [marcus_johansson](https://www.drupal.org/user/385947)
Related to !1400 !1491
>>>
<p>Mostly Huggingface at the moment, but still powerful for future hosted local small inference models that can run on CPU. And for validation</p>
<h3>Takes</h3>
<p>string<br>
TextClassificationInput</p>
<h3>Outputs</h3>
<p>raw data<br>
TextClassificationOutput</p>
<h3>TextClassificationInput</h3>
<p>getText()<br>
setText()<br>
toString()</p>
<h3>TextClassificationOutput</h3>
<p>getRaw()<br>
getNormalized() returns array of text classification value and text classification weights<br>
getMetadata()</p>
issue