Skip to content

fix: honour PreferStructuredCategories in notification pipeline#128

Merged
shanselman merged 1 commit intomasterfrom
fix/prefer-structured-categories
Apr 1, 2026
Merged

fix: honour PreferStructuredCategories in notification pipeline#128
shanselman merged 1 commit intomasterfrom
fix/prefer-structured-categories

Conversation

@shanselman
Copy link
Copy Markdown
Collaborator

Reimplements #104 on current master (post-#93 merge).

  • Add \preferStructuredCategories\ param to \Classify()`n- Add \SetPreferStructuredCategories()\ on GatewayClient
  • Wire setting in App.xaml.cs InitializeGatewayClient
  • 5 new tests covering skip/keep structured metadata paths

515 shared tests pass.

Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com

@shanselman shanselman force-pushed the fix/prefer-structured-categories branch from e074746 to a9e18e0 Compare April 1, 2026 06:51
#104)

Adds preferStructuredCategories parameter to Classify() — when false,
structured metadata (Intent, Channel) is skipped, going straight to
user rules and keyword fallback.

Reimplemented on current master (post-#93 UserRules merge).
5 new tests covering all code paths.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@shanselman shanselman force-pushed the fix/prefer-structured-categories branch from a9e18e0 to 634613a Compare April 1, 2026 07:05
@shanselman shanselman merged commit 344461d into master Apr 1, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant