-
Notifications
You must be signed in to change notification settings - Fork 728
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removing incorrect end comma in jsonStructure for POJO extracting AI …
…Services (#894) ## Context I noted that for more complex POJO object, the JSON returned by the LLM often contained a last comma before closing bracket, making the JSON invalid and resulting in an error while parsing it. I traced it back to the proposed jsonStructure that is part of the SystemMessage, sending a wrong format to the LLM. ## Change Removed the last comma that shouldn't be there in the jsonStructure + updated the unit tests --------- Co-authored-by: Lize
- Loading branch information
Showing
2 changed files
with
19 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters