---
title: "Summarize"
video_id: Xr-5ms2Nbzk
url: https://www.youtube.com/watch?v=Xr-5ms2Nbzk
workflow_page: https://workflows-of-ai.com/workflow/summarize
language: en
captions: generated
---

0:01 hey guys Marcus here uh easiest workflow
0:04 ever we're just going to summarize
0:05 something typical use case you have a
0:08 article in a CMS you want to show a
0:10 preview in some listing or something and
0:13 maybe you just want to show one or two
0:14 sentences what that article is about as
0:18 always this is druple content management
0:20 framework Delux can do anything around
0:23 content makes great content Management
0:25 Systems as well uh on top of that you
0:28 have the AI interpolator the module I
0:31 built if you want to know more about how
0:33 you install that what it is uh check the
0:37 check the uh description of the video
0:41 and it's open source
0:43 free just you can just take the code you
0:46 can download it you can run it on your
0:47 own computer you can set it up in the
0:49 cloud you can sell it commercially if
0:52 you want feel free to take what I did
0:56 and take especially what Dre did with
0:58 druple which is
1:00 great so let's get started we log in we
1:05 log in here and what are we going to do
1:08 after that is create a new content type
1:10 in this case we just create a
1:13 article so this is a typical CMS use
1:16 case as I said we create the article
1:18 that should have an article text so we
1:21 just remove what comes with nodes by
1:24 default which is the body so in this
1:26 case we do article
1:28 text save it it should just be one and
1:31 we have to require it you have to fill
1:34 in a article otherwise we can't create a
1:36 summary because there's nothing to
1:38 summarize create next field which is the
1:41 summary
1:43 then uh and this is another takt
1:47 formatted log it doesn't have to be
1:49 formatted there's no necessary need for
1:51 HTML right so just so you understand so
1:55 far if I go and create the content this
1:58 is normal Drupal now
2:00 so I could actually fill out the title
2:02 I'm just going to steal something here I
2:04 used it in another video uh CNN writing
2:09 about the AI let's just we don't have to
2:12 take everything here put that in and
2:16 then I could of course now manually
2:17 write my summary based on the text
2:19 because I probably wrote the text so I
2:22 might be able to write a good summary
2:24 but in this case I'm just going to save
2:26 this and we want to autograde it there
2:29 right
2:30 so if we jump back here we have the
2:33 summary it's going to be full HTML and
2:36 we're going to enable the AI
2:37 interpolator use the text long so that
2:40 takes text and creates text use the base
2:43 mode because we only need one context
2:45 and that context is the article
2:47 text uh and we can even steal what was
2:52 in the placeholder there based on the
2:55 context create a sum summary that
3:01 is between no let's say two
3:06 sentences
3:08 long context and then we fill in the
3:11 context so this is going to replace this
3:14 context now with the article then right
3:16 we just send this to open AI we don't
3:18 really need to change anything we can
3:20 use three5 it's good at
3:22 summarization or no let's do GPT 4 we
3:27 say direct because this is we are not
3:29 chaining any anything we don't need to
3:30 see any progress It's just going to do
3:33 this one thing now when we click save
3:35 here then so this is set up now when we
3:38 click save now it's going to do a
3:39 request open AI to summarize this going
3:41 to fill in that field under here with
3:44 two sentences of a summary that we can
3:47 use in a
3:48 preview that is a summarization very
3:51 very
3:52 easy uh but still needs to be done thank
3:57 you for watching
