Drupal is a registered trademark of Dries Buytaert
Module Revived: Entity API 8.x-1.7 Module entity updated after 17 months of inactivity (8.x-1.7). Release: WebProfiler 11.2.2 Minor update available for module webprofiler (11.2.2). Release: Field Nif, Nie or Cif 1.2.0 Minor update available for module field_nif_nie_cif (1.2.0). Release: Image Styles Builder 1.1.8 Minor update available for module image_styles_builder (1.1.8). Release: Static Suite 1.2.13 Minor update available for module static_suite (1.2.13). Release: Simple password policy 1.1.2 Minor update available for module simple_password_policy (1.1.2). Release: Simple password policy 1.1.1 Minor update available for module simple_password_policy (1.1.1). Release: Static Suite 1.2.12 Minor update available for module static_suite (1.2.12). Release: Audit Chain 1.4.0 Minor update available for module audit_chain (1.4.0). Usage Milestone: Field as Block Module fieldblock crossed 1,000 active installs.

This module provides a framework for evaluating and improving how AI models handle ethical dilemmas with empathetic reasoning. It integrates with Drupal's AI module to benchmark LLM responses, acting as a testing and quality-assurance layer for AI in Drupal by scoring responses on empathy, accuracy, and explanation quality. It also offers tools for analysis, visual benchmarking across different AI providers and models, and optional integrations for guardrails, governance, observability, and content moderation.

AI Empathy Evaluation

The AI Empathy Evaluation module provides a framework for evaluating and improving how AI models handle ethical dilemmas with empathetic reasoning. It integrates with Drupal's AI module to benchmark LLM responses, and acts as a testing and quality-assurance layer for AI in Drupal.

Core evaluation

  • Scores responses to ethical-dilemma scenarios on four research-backed metrics: decision accuracy, empathy alignment, explanation quality, and consistency.
  • Ships with 20 default scenarios across Military, Medical, Emotion-based, Cultural — plus an Organizational category — each with a reference decision and difficulty level (1–5). Create your own through the admin UI or the AI-assisted scenario builder.
  • Send scenarios to any configured AI provider (OpenAI, Anthropic, etc.) via the AI module and receive structured responses analysed for empathetic reasoning.

Analysis & tooling

  • Interactive dashboard (Chart.js): metric gauges, provider/model comparison, category performance, and trends.
  • Multi-provider comparison / benchmarking with rankings, per-scenario tables, historical trends, and CSV export.
  • Training mode with cumulative feedback across a session.
  • Human rating system with inter-rater reliability (Cohen's / Fleiss' kappa), blind comparison, and rating analysis.
  • Scheduled cron-based evaluation with email alerts on threshold breaches and provider-model changes.

Ecosystem integrations (optional submodules)

  • AI Empathy Guardrail — an Empathy Score Check guardrail for the AI guardrails system.
  • AI Empathy Governance — adds Accountability and Trust dimensions (the Trust · Accountability · Empathy triad) with a triad visualization.
  • AI Empathy Observability — exports metrics as OpenTelemetry spans with a Grafana dashboard template.
  • AI Empathy Field Action — a one-click "Check Empathy" button on text fields, plus an optional content-moderation publish gate.
  • Context Control Centre integration — injects brand / organisational context and adds a tone-alignment metric.
  • Domain scenario packs (Finance, Healthcare, HR) with domain-specific scenarios and scoring.

All integrations are backward-compatible and opt-in — enable only what you need.

Research & references

This module is grounded in peer-reviewed research on evaluating empathetic decision-making in AI:

  • Evaluating Empathetic Decision-Making in AI: A Comparative Study of Open-Source Models in High-Stakes Scenarios — International Journal For Multidisciplinary Research (IJFMR), 2025-12-13.
    DOI: 10.36948/ijfmr.2025.v07i06.63345
    (ISSN 2582-2160).
  • Operationalising Empathy in AI Systems for High-Stakes Decision-Making — International Journal of Innovative Science and
    Research Technology (IJISRT), 2026-06-23.
    DOI: 10.38124/ijisrt/26jun931
    (ISSN 2456-2165).
  • Scoring the Score: An Empathy, Trust and Accountability Lens for
    Auditing AI-Assisted Hiring Decisions
    — International Journal of Science and Research (IJSR), 2026-07-08.
    DOI: 10.21275/sr26705230110
    (ISSN 2319-7064).

See also the Drupal AI module documentation, which this module builds on.

Activity

Tracked releases
7
Tracked since
Mar 2026
Latest release
4 hours ago
Releases (12 mo)
7 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Release date
1.2.x-dev Dev Aug 14, 2026
1.2.0 Stable Jul 23, 2026
1.1.0 Stable Jul 12, 2026
1.0.3 Stable Jun 11, 2026
1.0.2 Stable Apr 8, 2026
1.0.1 Stable Apr 6, 2026
1.0.0 Stable Mar 25, 2026