-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
priority:criticalCritical priority - must be addressed immediatelyCritical priority - must be addressed immediatelystatus:readyReady to be worked onReady to be worked ontype:featureNew feature or functionalityNew feature or functionality
Description
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.psm1module - 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
- Issue WPF Chat Interface Foundation #1 (for integration testing)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
priority:criticalCritical priority - must be addressed immediatelyCritical priority - must be addressed immediatelystatus:readyReady to be worked onReady to be worked ontype:featureNew feature or functionalityNew feature or functionality