Provide a non-ai Text Automator, that simple replaces tokens

Created on 25 January 2025, 2 months ago

I've folowed this Setup complex CKEditor AI Assistants in Drupal in minutes video, where a CKEditor Image alt text automater is created.

In the last automator step, This promt is used, to render the html:

1th, the prompt could be simplified to:

Return following html:
```html
<img src="[automator_chain:field_image_input:entity:url]" data-entity-uuid="[automator_chain:field_image_input:entity:uuid]" data-entity-type="file" width="[automator_chain:field_image_input:width]" height="[automator_chain:field_image_input:height]" alt="[automator_chain:field_text_plain]">
```

But furthermore, no intelligence is required at all! Simple token replacement would do the job:
<img src="[automator_chain:field_image_input:entity:url]" data-entity-uuid="[automator_chain:field_image_input:entity:uuid]" data-entity-type="file" width="[automator_chain:field_image_input:width]" height="[automator_chain:field_image_input:height]" alt="[automator_chain:field_text_plain]">

I see more usecases, where you want to combine several tokens to you final output without AI.
-> A dump text_long Automater would be a nice tool in the box!

Feature request
Status

Active

Version

1.0

Component

AI Automators

Created by

🇩🇪Germany tomsaw Essen

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024