The JSON enforce type in prompt studio was inconsistent and wasn't returning the intended results.
-
Why
The prompt was not built to handle all the corner cases.
-
How
Improved the prompt to generate the result in JSON format so that it is more consistent.
-
Can this PR break any existing features. If yes please list of possible items. If no please exaplin why. (PS: Admins do not merge the PR without this section filled)
This PR will not break any existing features. The changes are solely within the scope of enforce JSON type, and the possibility of them affecting existing features is minimal.
-
Database Migrations
NA
Env Config
NA
Relevant Docs
NA
Related Issues or PRs
NA
Dependencies Versions
NA
Notes on Testing
NA
Screenshots
Checklist
I have read and understood the [Contribution Guidelines]().
What
The JSON enforce type in prompt studio was inconsistent and wasn't returning the intended results.
-
Why
The prompt was not built to handle all the corner cases.
-
How
Improved the prompt to generate the result in JSON format so that it is more consistent.
-
Can this PR break any existing features. If yes please list of possible items. If no please exaplin why. (PS: Admins do not merge the PR without this section filled)
This PR will not break any existing features. The changes are solely within the scope of enforce JSON type, and the possibility of them affecting existing features is minimal.
-
Database Migrations
NA
Env Config
NA
Relevant Docs
NA
Related Issues or PRs
NA
Dependencies Versions
NA
Notes on Testing
NA
Screenshots
Checklist
I have read and understood the [Contribution Guidelines]().