Skip to content

28.0: Prompt change to encourage function call for EDocGLAccountMatching#8371

Merged
mynjj merged 1 commit into
releases/28.0from
bugs/636939-28.0
May 29, 2026
Merged

28.0: Prompt change to encourage function call for EDocGLAccountMatching#8371
mynjj merged 1 commit into
releases/28.0from
bugs/636939-28.0

Conversation

@mynjj
Copy link
Copy Markdown
Contributor

@mynjj mynjj commented May 28, 2026

Backport of #8282. Fixes AB#636939.

…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:54
@github-actions github-actions Bot added the AL: Apps (W1) Add-on apps for W1 label 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:57
@github-actions github-actions Bot added this to the Version 28.0 milestone May 28, 2026
@mynjj mynjj merged commit 90988eb into releases/28.0 May 29, 2026
75 of 77 checks passed
@mynjj mynjj deleted the bugs/636939-28.0 branch May 29, 2026 07:01
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