AI Agents

Discover hallucinations using our custom mini-screening template

18 nodes 225 164 Automatic trigger
Download

Workflow Description

A specialized template for detecting hallucinations in language model outputs using a custom screening chain, combining advanced text processing with local models to evaluate response accuracy and filter unreliable content.

How it works

  1. 1.Trigger the workflow manually or via external event to initiate screening
  2. 2.Process text and data through LLM chains to analyze model responses
  3. 3.Split results and apply screening criteria to identify potential hallucinations
  4. 4.Merge and filter results to retain only verified, reliable data
  5. 5.Publish reports to social platforms or store for further review

Use cases

  • Verify quality of AI model responses before deployment to end users
  • Monitor accuracy of data generated by LLM systems in operational workflows
  • Screen auto-generated content for sensitive applications requiring high reliability

Requirements

  • Local language model setup (Ollama) or compatible LLM API interface
  • Access to X/Twitter if publishing results is required
  • Sample data or responses for testing and evaluation

Service Value

Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.

Apps Used

LLM Chain Lm Chat Ollama Twitter/X Lm Ollama

Details

Trigger Automatic trigger
Nodes 18
Apps 4
Views 225
Downloads 164

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (18)

/

Code

Code

#1

Split Out1

Split Out

#2

Basic LLM Chain4

LLM Chain

#3

Ollama Chat Model

Lm Chat Ollama

#4

When clicking ‘Test workflow’

Manual Trigger

#5

Edit Fields

Set

#6

Merge

Merge

#7

Filter

Filter

#8

When Executed by Another Workflow

Execute Workflow Trigger

#9

Aggregate

Aggregate

#10

Merge1

Merge

#11

Basic LLM Chain

LLM Chain

#12

Ollama Model

Lm Ollama

#13

Sticky Note

Sticky Note

#14

Sticky Note1

Sticky Note

#15

Sticky Note2

Sticky Note

#16

Sticky Note3

Sticky Note

#17

Sticky Note4

Sticky Note

#18