Skip to content

FEATURE: automation triage using ai tool or persona #1126

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Mar 5, 2025

Conversation

SamSaffron
Copy link
Member

@SamSaffron SamSaffron commented Feb 14, 2025

LLM Persona Triage

  • Allows automated responses to posts using AI personas
  • Configurable to respond as regular posts or whispers
  • Adds context-aware formatting for topics and private messages
  • Provides special handling for topic metadata (title, category, tags)

LLM Tool Triage

  • Enables custom AI tools to process and respond to posts
  • Tools can analyze post content and invoke personas when needed
  • Zero-parameter tools can be used for automated workflows
  • Not enabled in production yet

Implementation Details

  • Added new scriptable registration in discourse_automation/ directory
  • Created core implementation in lib/automation/ modules
  • Enhanced PromptMessagesBuilder with topic-style formatting
  • Added helper methods for persona and tool selection in UI
  • Extended AI Bot functionality to support whisper responses
  • Added rate limiting to prevent abuse

Other Changes

  • Added comprehensive test coverage for both automation types
  • Enhanced tool runner with LLM integration capabilities
  • Improved error handling and logging

This feature allows forum admins to configure AI personas to automatically respond to posts based on custom criteria and leverage AI tools for more complex triage workflows.

Tool Triage has been disabled in production while we finalize details of new scripting capabilities.

@SamSaffron SamSaffron force-pushed the custom-tool-automation branch from 8d7baa2 to ce29cad Compare March 4, 2025 03:05
@SamSaffron SamSaffron changed the title WIP: automation triage using ai tool FEATURE: automation triage using ai tool or persona Mar 5, 2025
@SamSaffron SamSaffron marked this pull request as ready for review March 5, 2025 07:35
@SamSaffron SamSaffron merged commit e255c7a into main Mar 5, 2025
6 checks passed
@SamSaffron SamSaffron deleted the custom-tool-automation branch March 5, 2025 22:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants