Skip to content

28.x: Prompt change to encourage function call for EDocGLAccountMatching#8369

Merged
mynjj merged 1 commit into
releases/28.xfrom
bugs/636938-28x
May 29, 2026
Merged

28.x: Prompt change to encourage function call for EDocGLAccountMatching#8369
mynjj merged 1 commit into
releases/28.xfrom
bugs/636938-28x

Conversation

@mynjj
Copy link
Copy Markdown
Contributor

@mynjj mynjj commented May 28, 2026

Backport of #8282. Fixes AB#636938.

…8282)

Fixes
[AB#636066](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/636066)

Almost all the accuracy jobs running for Payables Agent that fail, fail
with the the agent not being able to finalize due to no account
types/numbers assigned.

After reproing locally with several runs, one run revealed the potential
culprit (at least of that run). At times, the LLM returns the shape in
the explicit examples as part of the content, instead on relying on
function calling. Resulting on function calls not being detected and no
account being assigned.

This change:
- Changes the prompt to make this more explicit. Unfortunately, changing
the tool_choice doesn't work for batched responses as intended for this
feature.

---------

Co-authored-by: Joshua Martínez Pineda <diegojoshuam@microsoft.com>
@mynjj mynjj requested a review from a team as a code owner May 28, 2026 11:52
@github-actions github-actions Bot added the AL: Apps (W1) Add-on apps for W1 label May 28, 2026
@github-actions github-actions Bot added this to the Version 28.2 milestone May 28, 2026
@mynjj mynjj requested review from a team and Groenbech96 May 28, 2026 11:56
@mynjj mynjj enabled auto-merge (squash) May 28, 2026 11:56
@mynjj mynjj merged commit f0e0b18 into releases/28.x May 29, 2026
47 checks passed
@mynjj mynjj deleted the bugs/636938-28x branch May 29, 2026 07:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AL: Apps (W1) Add-on apps for W1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants