Skip to content

Add configurable DBContext capabilities - #12

Merged
MikeChristensen merged 1 commit into
mainfrom
ConfigurableContextCapabilities
Aug 28, 2026
Merged

Add configurable DBContext capabilities#12
MikeChristensen merged 1 commit into
mainfrom
ConfigurableContextCapabilities

Conversation

@MikeChristensen

Copy link
Copy Markdown
Member

Summary

  • add independently configurable ingredient autocomplete, NLP parsing, and recipe modeler capabilities
  • retain the current all-capabilities default for backward compatibility
  • provide database-backed recipe aggregation when the modeler is disabled
  • decouple modeler ingredient names from the autocomplete index
  • fail clearly when an API requires a disabled capability
  • document profiles, measurements, and the legacy NLP view audit

Performance

Using the sample PostgreSQL data, the parsing-only profile reduced median startup time by approximately 37%, managed memory by 46%, and working set by 31% compared with the previous all-feature initialization.

Validation

  • dotnet build core.slnx: succeeded with 0 warnings and 0 errors
  • unit tests: 39 passed
  • end-to-end PostgreSQL parsing-only flow: recipe search, detail, database-backed aggregation, NLP parsing, shopping-list persistence, and cleanup passed

Closes #9

@MikeChristensen
MikeChristensen merged commit a13f7d3 into main Aug 28, 2026
1 check passed
@MikeChristensen
MikeChristensen deleted the ConfigurableContextCapabilities branch August 28, 2026 05:55
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.

Make expensive context indexes independently configurable

1 participant