Create an operation type for document to text

Created on 20 October 2024, 8 months ago

Problem/Motivation

Currently, the pdf to text is right now it tied to the AiCkeditor plugin, and it is not reusable at the moment.

In the Drupal AI module, there are operation types like text to speech. These operation types are reusable across providers.

Proposed resolution

Create the DocumentToText operation type.

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Active

Version

1.0

Component

Code

Created by

🇧🇪Belgium joevagyok

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

  • Issue created by @joevagyok
  • Pipeline finished with Canceled
    8 months ago
    Total: 260s
    #315067
  • Pipeline finished with Failed
    8 months ago
    Total: 191s
    #315071
  • Pipeline finished with Success
    8 months ago
    Total: 264s
    #315077
  • Issue was unassigned.
  • 🇮🇳India prashant.c Dharamshala

    Thanks for the great work done @joevagyok on this but there is no activity from last 6 months changing the assignee to unassigned.

  • 🇮🇳India prashant.c Dharamshala

    On the page /admin/config/ai/settings getting the following error:

    Fatal error: Class Drupal\ai\OperationType\DocumentToText\DocumentToTextInput contains 3 abstract methods and must therefore be declared abstract or implement the remaining methods (Drupal\ai\OperationType\InputInterface::getDebugData, Drupal\ai\OperationType\InputInterface::setDebugData, Drupal\ai\OperationType\InputInterface::setDebugDataValue) in /var/www/html/modules/contrib/ai/src/OperationType/DocumentToText/DocumentToTextInput.php on line 11

Production build 0.71.5 2024