Skip to content

RandomDialogue 1.4.0

Choose a tag to compare

@voidfemme voidfemme released this 23 Jun 12:20
· 9 commits to master since this release

Chat Filter v1.4.0 Release Notes

πŸ§ͺ New Testing System

Major Feature: Comprehensive LLM testing framework for administrators

New Commands

  • /chatfilter test quick - Run essential transformation tests (4 tests, ~30 seconds)
  • /chatfilter test full - Complete test suite with rate limiting (14+ tests, 2-3 minutes)
  • /chatfilter test filter <name> - Test specific filter with multiple message types

What Gets Tested

  • Intent Preservation: Ensures thanks stay thanks, greetings stay greetings
  • Quote Handling: Verifies quoted text is preserved exactly
  • Adversarial Resistance: Tests against prompt injection attacks
  • Filter Quality: Validates all personality filters work correctly
  • Edge Cases: Empty messages, special characters, mod complaints

🎯 Improved Transformation Quality

Enhanced System Prompts

  • Detailed examples showing correct vs incorrect behavior
  • Explicit rules preventing responses instead of transformations
  • Better context understanding for Minecraft server chat
  • Length guidelines to prevent overly long transformations

Filter-Specific Improvements

  • TRUMP_STYLE: More concise, focused transformations
  • GRANDMA: Better greeting handling with "Hello, dear hearts"
  • ROBOT: Shorter, more robotic responses like "GOOD MORNING. GREETING INITIATED."
  • CONSPIRACY_THEORIST: Concise suspicious tone without long speeches

πŸ›‘οΈ Enhanced Reliability

Better Error Handling

  • Null safety checks prevent crashes during transformation
  • Improved logging with stack traces for debugging
  • Empty message handling prevents unnecessary API calls
  • Rate limit protection with clearer user feedback

Mod Complaint Detection

  • Stronger detection for complaints about the chat filter
  • More aggressive positive transformation removes all negative sentiment
  • Expanded keyword lists catch more complaint variations

πŸ”§ Technical Improvements

Code Quality

  • Comprehensive null checks throughout transformation pipeline
  • Better async handling for test commands
  • Improved cache validation prevents storing null results
  • Enhanced debug logging with transformation quality analysis

Performance

  • Optimized quote handling reduces processing overhead
  • Better rate limiting respects API provider limits
  • Smarter caching based on transformation success

πŸ“‹ Testing Results

This release has been validated with 11/14 automated tests passing (79% success rate):

βœ… Working perfectly:

  • Intent preservation (thanks, greetings, statements)
  • Quote handling and bypass system
  • Adversarial prompt resistance
  • Major personality filters (PIRATE, GRANDMA, ROBOT, TRUMP_STYLE)
  • Empty message handling
  • Rate limiting

⚠️ Minor edge cases:

  • Some complaint transformations could be more positive (but are functional)
  • CONSPIRACY_THEORIST test expectations may be overly strict

πŸš€ For Server Administrators

Immediate Benefits

  • Quality assurance: Test your LLM setup before players notice issues
  • Debugging tools: Identify problematic filters or API configuration
  • Validation: Ensure updates don't break existing functionality

How to Use

  1. Quick health check: /chatfilter test quick after any configuration changes
  2. Full validation: /chatfilter test full before major updates or new filter additions
  3. Filter testing: /chatfilter test filter PIRATE when creating custom filters

πŸ“š Documentation Updates

  • Added comprehensive custom filter creation guide
  • Enhanced troubleshooting section with testing guidance
  • Updated command documentation with new test commands

⚑ Breaking Changes

None - This release is fully backward compatible with existing configurations and filters.

πŸ› Bug Fixes

  • Fixed null pointer exceptions in quote preservation system
  • Resolved transformation analysis crashes with null results
  • Improved empty message handling to prevent unnecessary API calls
  • Enhanced error logging with better stack trace information

πŸ”„ Migration Guide

No migration required - Simply update the mod file and restart your server. All existing configurations, filters, and player settings will continue working.

🎯 What's Next

This release establishes the foundation for even smarter chat transformations. Future updates will build on the conversation context and quality analysis systems introduced here.

Upcoming Features:

πŸ”’ Privacy Controls: Player opt-out system to exclude messages from LLM context sharing for enhanced privacy protection
🧠 Advanced Context: Further improvements to conversation understanding and transformation quality
βš™οΈ Enhanced Configuration: Additional customization options for server administrators


Installation

  1. Stop your server
  2. Replace the old mod file with chat-filter-1.4.0.jar
  3. Start your server
  4. Run /chatfilter test quick to validate your setup

Support

Having issues? Check our troubleshooting guide or run /chatfilter test full to identify configuration problems automatically.