Skip to content

Intent Router Engine #2

@POWDER-RANGER

Description

@POWDER-RANGER

Description

Implement the intelligent routing engine that analyzes user input and determines which service handler should process the request.

Requirements

  • Parse user input to detect intent (PowerShell command, AI query, service-specific mention)
  • Implement pattern matching for PowerShell commands (verbs, cmdlets)
  • Detect explicit service mentions (@chatgpt, @claude, @Perplexity)
  • Route research/fact-based queries to Perplexity
  • Route coding/technical queries to ChatGPT by default
  • Route creative/writing queries to Claude
  • Support fallback routing logic
  • Log routing decisions for debugging

Technical Details

  • Create IntentRouter.psm1 module
  • Use regex patterns for command detection
  • Implement scoring system for multi-signal routing
  • Support configuration-based routing rules
  • Return structured routing decision object

Acceptance Criteria

  • Correctly identifies PowerShell commands
  • Routes explicit @mentions to correct service
  • Makes intelligent default routing decisions
  • Handles ambiguous input gracefully
  • Logs all routing decisions
  • Configuration file allows custom routing rules
  • Unit tests cover all routing scenarios

Dependencies

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority:criticalCritical priority - must be addressed immediatelystatus:readyReady to be worked ontype:featureNew feature or functionality

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions