Include item identifiers in Sales Order Agent searches - #9856
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
PredragMaricic
left a comment
There was a problem hiding this comment.
Approved with suggestions:
S1 - Require the identifier to be the first search term. SOAItemSearch.GetItemFilters treats only the first search keyword as a potential exact Item."No." lookup. Update the prompt to require the identifier first so descriptive terms cannot bypass the deterministic exact-match path.
S2 - Add regression evaluation evidence for an order line containing an identifier plus a noisy or mismatched description. Verify that search preserves the identifier, places it first, and selects the exact item; compile and unit-build checks do not establish prompt behavior.
S3 - Clarify requirement traceability. AB#641231 covers replacing Document Intelligence with direct model document reading, but its acceptance metrics do not specify identifier-search behavior. Link the specific requirement or document the relevant acceptance criterion and validation in this PR.
Summary
AB#641231