#13964 Adjust relevance score for new embedding model
Relevance score thresholds for item search have been adjusted to work with a new embedding model that returns different score ranges, making more relevant items appear in search results with appropriate confidence levels.
- 2files
- 2AL files
- 2objects
Pull request · merged into main (BC30) on 2026-11-12 by VolodySyn · 2 files (+7 -7), 2 AL · fix · tier official · reviewed (checked by Opus)
What changed
- Minimum context-aware ranking score lowered from 0.70 to 0.25 in Sales Lines Suggestions
- Confidence thresholds (High/Medium/Low) significantly reduced in both Sales Lines Suggestions and Create Product Information apps
- Comparison operators changed from greater-than to greater-than-or-equal for consistency
- Changes optimize results for new embedding model while maintaining confidence categorization
- No API, schema or permission changes; behavior adapts to new model’s scoring distribution
- Behaviour changes for users or extensions.
AL objects touched
- Codeunit 7333 “Search”, CreateProductInformationWithCopilot: modified
- Codeunit 7282 “Search”, SalesLinesSuggestions: modified
Context
- Work items: AB#658841
- Labels: AL: Apps (W1), Team: SCM
- Systems: inventory, sales
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Transparency Note Semantic Metadata Search in Business Central — possibly related: Documents semantic search with embedding models that determine relevance scoring for results. (model-linked)
Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).