Workflow

Create AI articles from content on your hard drive

You have articles on your hard drive and you want to send them into AI models to get re-written, summarised etc.

The article creator allows you to access articles on your hard drive and load them into macros that can be placed inside AI prompts.

How to load articles into the Article Creator

Create a new Article Creator task.

qwN6iVgqIr

Before you can load articles, you must choose an AI prompt.

image 1

The AI template editor will show.

image 19

Choose any RAG template to support loading article content into an AI prompt.

The simplest template, is RAG, rewrite using 1 article.

image 20

Click on the template to see the prompts.

image 22

As you hover over the template, it gives you a tooltip description of how it works.

image 23

Click Select button to load the prompt into the Article Creator.

image 24

Our AI prompts are loaded.

image 25

How does the AI template work?

The first thing we need to do is load an article (from either a scraped source or articles on your hard drive)

The macro <load_next_article> tells SCM to load the first article into memory.

image 26

We can access the article title and body using 2 macros.

  • %article_title%
  • %article_body%

You can see macros being used inside the AI prompt.

image 27

How to load articles from hard drive

In order to load articles, we must select a source.

Scroll down to find ‘Load articles'

image 10

Enable it to show the browse folder settings.

Click ‘Select folder' to load our articles

image 11

Now set the article count.

Make sure the article count matches the number of articles in our folder.

If we don't have enough articles, SCM will print an error in the task log.

image 13

A setting of 1, will just take the first article and send it to the AI.

A setting of 10, will load the first 10 articles, etc

Click Run to see the task in action.

image 14

Task output explanation

The task log will explain what steps are being taken.

First we load an article.

image 28

There are 8 articles available in cache.

Next the prompt is generated and sent to the AI model.

Once finished, the newly summarised article is written to the output folder.

image 16

If you have multiple articles the article creator will load each article sequentially.

image 18

If you don't have enough articles, the task will reload the first article and go around again.