Templates / Detect hallucinations using specialised Ollama model bespoke-minicheck

Detect hallucinations using specialised Ollama model bespoke-minicheck

Ready for 3.0

by Guido Zockoll · 2,981 views · created 2025-02-17 · Document Extraction, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 13 nodes and runs when another workflow calls it (plus 1 other trigger). Along the way it connects Ollama Chat Model and Ollama Model.

How it runs

Trigger: When another workflow calls it (plus 1 other trigger).

  1. Code: runs custom JavaScript code
  2. Merge: merges the data from its input branches
  3. Edit Fields (Edit Fields (Set)): sets 2 fields: facts, text
  4. Split Out: splits a list into separate items
  5. Merge: merges the data from its input branches
  6. Basic LLM Chain: sends a prompt to an LLM, with model: Ollama Chat Model
  7. Filter: keeps only the items that match a condition
  8. Aggregate: combines items into one
  9. Basic LLM Chain: sends a prompt to an LLM, with model: Ollama Model

Services it uses

Ollama Chat ModelOllama Model

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (11)

From the author

Fact-Checking Workflow Documentation Overview This workflow is designed for automated fact-checking of texts. It uses AI models to compare a given text with a list of facts and identify potential discrepancies or hallucinations. Components 1. Input - The…

Excerpt from Guido Zockoll's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.