Text Fact-Checking Assistance Workflow

This workflow is designed to automate fact-checking in text by utilizing natural language processing technology to split the input text into sentences and verify the authenticity of each one. By invoking a locally running customized language model, it efficiently identifies false information, reduces the workload of manual proofreading, and enhances the accuracy and efficiency of content review. It is suitable for fields such as media, research, and content creation, helping users ensure the authenticity and authority of information, and enabling rapid fact screening and error correction.

Workflow Diagram
Text Fact-Checking Assistance Workflow Workflow diagram

Workflow Name

Text Fact-Checking Assistance Workflow

Key Features and Highlights

This workflow leverages natural language processing and a specialized lightweight language model to automatically split input text into sentences and perform fact-checking on each statement, accurately identifying false information within the text. By integrating a custom mini-model (bespoke-minicheck) running locally on Ollama, it delivers efficient and professional fact verification. It supports manual test triggering and can be invoked as an entry point by other workflows, allowing flexible integration into complex automation scenarios.

Core Problems Addressed

Rapidly screening large volumes of text to identify potential factual errors, thereby reducing manual proofreading workload and enhancing the efficiency and accuracy of content review and editing. It is suitable for fields such as news reporting, academic articles, and content creation, helping users maintain information authenticity and authority.

Application Scenarios

  • Automated fact verification of manuscripts for media and news organizations
  • Validation of data and statements in scientific papers or reports
  • Fact-checking articles before publication by content creators
  • Quality control of internal knowledge bases and corporate documents
  • Text analysis and grading assistance in education and training

Main Process Steps

  1. Input Text Preparation: Receive the text to be fact-checked along with relevant factual background information.
  2. Text Splitting: Execute custom JavaScript code via a “Code” node to split the text into individual sentences, ensuring special formats such as dates and lists are not incorrectly segmented.
  3. Merging Text and Facts: Combine the split sentences with factual content to form units of statements for verification.
  4. Sentence-by-Sentence Fact-Checking: Use the Ollama-based bespoke mini language model (bespoke-minicheck) to perform binary (“yes/no”) fact verification on each statement.
  5. Result Filtering and Aggregation: Filter out statements marked as “incorrect,” aggregate them, and generate a list of issues along with a summary evaluation.
  6. Output Summary: Utilize a language model to further construct a consolidated report of factual errors, facilitating quick identification and correction of content issues.

Involved Systems or Services

  • n8n: Workflow automation platform responsible for process orchestration and node scheduling
  • Ollama API: Locally hosted customized language model service providing AI-powered fact-checking capabilities
  • JavaScript Code Node: Used for text splitting and preprocessing
  • Multi-node Merging and Filtering: Manages data flow and combines and filters analysis results

Target Users and Value

  • Content editors and proofreaders: Automatically assist in detecting factual errors in text, improving work efficiency
  • News and media industry: Ensure the authenticity and reliability of reporting content, reducing the risk of fake news
  • Academic researchers and students: Aid in verifying the accuracy of cited materials and statements
  • Corporate knowledge management teams: Ensure the quality of internal documentation and training materials
  • AI and automation enthusiasts: Provide a representative application combining language models with automation tools

In summary, this workflow offers a comprehensive, automated, and efficient solution for text fact-checking, enabling users to quickly discern truthfulness within large volumes of text and enhance content quality and credibility.