---
title: "Less Complex Text"
video_id: nyjBtJLCfqk
url: https://www.youtube.com/watch?v=nyjBtJLCfqk
workflow_page: https://workflows-of-ai.com/workflow/less-complex-text
language: en
captions: generated
---

0:01 hi there uh Marcus here as uh in this
0:05 video I'm going to talk about how we're
0:08 going to take this article that's pretty
0:10 complex I have copied it from cnn.com
0:13 talking about um China basically um and
0:17 make a more accessible version of it so
0:20 an less complex text uh that we can use
0:24 for accessibility reasons or it could be
0:26 that you want children to read it as
0:28 well um um as always this already have
0:33 Drupal installed so a base standard
0:35 Drupal installation it already has uh
0:39 the AI interpolators installed so if you
0:42 don't know how to do this you can check
0:45 the uh the description of the video and
0:48 there's links on how to set it up
0:50 there's also links there on uh a video
0:54 basically explaining what the AI
0:56 interpolator does uh in the background
1:00 if you want to understand what the AI
1:01 interpolator is um this is open source
1:05 it's free after this video you can just
1:07 go ahead and download it and set up the
1:09 exact same process of course there's
1:11 cost uh connected to using open AI then
1:15 so let's start we start by logging
1:19 in uh in this case I have a content type
1:22 set up so the article I'm just going to
1:24 go and manage field you see the article
1:26 field there we're going to create a new
1:27 field that's a text formatted long
1:31 uh that's a easier to read uh
1:35 text we call this field right and since
1:38 it's a text formatted long it can take
1:41 HTML uh we just say we just need one
1:44 field we take one field and generate an
1:46 one field as well allow full HTML in
1:49 this case um we enable the interpolator
1:54 uh and we choose the roll open AI text
1:56 long so we take a text long as context
1:59 and we create a text long field the text
2:01 long Fields allows HTML in this case
2:04 this is very important because of
2:06 accessibility reasons you want you or
2:09 you might want headers because of
2:10 accessibility reasons uh as the base
2:13 field so the context we say the article
2:16 and then we just write our prompt based
2:18 on the context re write the text in an
2:24 easy to understand way that even uh t 10
2:30 year old would
2:33 understand uh write around 10
2:40 paragraphs you may use or may you may
2:44 use HTML tags like
2:47 headers em and strong
2:51 use
2:53 headers like H2 and H3 in the text so
2:58 the H1 is probably already set somewhere
3:00 on the the page in this
3:03 case uh and then we have to do the
3:05 context should be in this case we just
3:09 choose the clean version we just need
3:11 the text sometimes it helps to actually
3:15 have
3:17 um have some marker where the context
3:20 starts and ends like this um we take
3:24 advanced settings because in this case
3:25 we have to use gp4 it's just Superior in
3:28 in creating these SU
3:30 we turn on batch mode because we want to
3:31 see progress and write a role you are an
3:36 assistant
3:38 helping rewriting text in an
3:43 easier to understand
3:48 manner understand manner we have on the
3:50 moderation so it uh checks against
3:53 moderation so we don't break any terms
3:55 of
3:56 services because we don't want our open
3:59 AI account block we go then go to the
4:01 content where we have the article and
4:04 just click save so you see the field
4:06 exists here it's not filled out so now
4:08 it's going to get filled out because it
4:09 was empty in this case uh also if you
4:13 would change the base article and you
4:15 have check uh the setting that you want
4:17 the summary to change when the article
4:19 change it would change as well you have
4:22 to decide if this is important of course
4:24 because uh if you just do a minor change
4:26 it might not make sense to rewrite the
4:28 whole summary
4:31 um for anyone working with druple you
4:34 have more steps to do after because you
4:36 have to hide this article and so on if
4:39 you don't work with Drupal and you don't
4:40 want to work with Drupal but you still
4:42 want to chain this so what you can do is
4:44 you can actually set this up uh using
4:48 Drupal in API mode and then basically
4:51 you get the same thing available where
4:54 you can send in a text and you get the
4:55 text out but your application can run
4:57 some other framework right
5:00 um so now it's finished we click edit
5:02 and it should have filled out here uh
5:05 easier to read text with headers as we
5:10 asked um and that's basically it we're
5:13 finished
5:15 now uh so yeah thanks for watching
