Skip to content
Back to Projects
ResilienceBOT preview
n8nCode on requestReport (PDF)

ResilienceBOT

Agentic-RAG emotional coaching chatbot: 3 orchestrated n8n pipelines, a real-time emotion detection API and a full RAG pipeline with safety rules against hallucination.

Demo

Overview

ResilienceBOT is an Agentic-RAG emotional coaching chatbot developed as a PFA (final-year project) at ENIT, in co-authorship. It orchestrates 3 dedicated n8n pipelines — chat, ingestion and lifecycle — with multi-turn memory and session persistence, so conversations feel continuous and context-aware.

On the AI side, an emotion detection API built on a DistilRoBERTa model (7 emotions) is served via FastAPI, and a normalisation step maps its predictions to operational coaching tones so the agent's behaviour stays stable. A complete RAG pipeline combines Supabase pgvector as a vector store, Google Drive as a knowledge source and Google Gemini for generation.

Appreciative-coaching safety rules are embedded directly in the system prompt, with mandatory vector anchoring to reduce hallucination — ensuring ethical, personality-tailored responses for every user.

n8nSupabase pgvectorGeminiFastAPIPython

Key Features

  • 3 orchestrated n8n pipelines (chat, ingestion, lifecycle)
  • Multi-turn memory with session persistence
  • Emotion detection API (DistilRoBERTa, 7 emotions) served with FastAPI, normalised into coaching tones
  • Chat UI with live emotion indicator, confidence score and emotion history per session
  • Full RAG pipeline: Supabase pgvector + Google Drive + Google Gemini
  • Appreciative-coaching safety rules embedded in the system prompt
  • Mandatory vector anchoring to reduce hallucination

Screenshots

ResilienceBOT screenshot
ResilienceBOT screenshot
ResilienceBOT screenshot
ResilienceBOT screenshot
ResilienceBOT screenshot

Have a project in mind?

I'm open to internships, collaborations and exciting engineering challenges.

Get in Touch