Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants