Redleaf Tutorial 2 Core Workflow

Now that you have Redleaf installed and your documents added, it’s time to build your knowledge graph. The Redleaf Dashboard features three main workflow buttons that control the entire process. This guide explains what each one does.

The Three Main Workflow Buttons On The Redleaf Dashboard.

The Three-Step Process

The core workflow is designed to be simple and explicit, giving you control over when your computer’s resources are used. The process consists of three sequential steps:

  1. Discover Docs: Scan the documents/ folder and register files.
  2. Process All ‘New’: Perform the heavy-lifting NLP analysis.
  3. Update Browse Cache: Pre-compute data for fast browsing.

Let’s go through each one.

Step 1: Discover Docs

Discover

Clicking this button tells Redleaf to scan your documents/ directory. It looks for any files that are new or have been modified since the last scan.

You should run “Discover Docs” anytime you add or update files in your documents/ folder.

Step 2: Process All “New”

Discovered Documents Listed in the Document Registry.

This is the most intensive step, where the actual knowledge extraction happens. When you click Process All ‘New’, Redleaf creates a background job to analyze every document with the “New” status.

Because this runs in the background, you can continue to browse and use the Redleaf interface while your documents are processing.

Step 3: Update Browse Cache

Update Browser Cache

After your documents have been successfully “Indexed,” there is one final step. The “Update Browse Cache” button takes all the raw data extracted in Step 2 and organizes it for the Discovery and Search features.

You should run this after a large batch of documents has finished processing, or if you feel the Discovery view is not showing the latest information.

Discovery Page

Keyword Search

Discovery Tab

Discovery Tab Expanded


That’s it! Once you have completed these three steps, your knowledge graph is fully built and ready to be explored.

In the next tutorial, we will dive into the Discovery interface to search your documents and navigate the connections you’ve just uncovered.