Create an operation type for document to text in AI core
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3482004. -->
Reported by: [joevagyok](https://www.drupal.org/user/2876343)
Related to !209
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>In the <a href="https://git.drupalcode.org/project/ai_summarize_document">AI: summarize document module</a> I use a native method to parse PDF documents to text. It would be nice to have a generic "Document to Text" operation type that could be further extended with different methods of parsing documents by other providers. </p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Create the DocumentToText operation type.</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