Enabled tool settings for exported tools to support single pass extraction, challenge and summarize
Why
Currently due to lack of missing tool settings, users were unable to run the prompts with single pass extraction, challenge and summarize.
How
Added JSON schema to enable settings when tool is exported
Note: For existing tools we need to export the tool again to get these settings.
Can this PR break any existing features. If yes, please list possible items. If no, please explain why. (PS: Admins do not merge the PR without this section filled)
Mostly no. Tested the existing behavior to make sure it doesn't break. For some reason if it breaks, it might affect prompt studio exported tools because the changes are mostly around that.
Database Migrations
Env Config
Relevant Docs
-
Related Issues or PRs
-
Dependencies Versions
-
Notes on Testing
Made the required changes in the tool, built it and used with unstract. Verified if the flow goes to single pass extraction and challenge plugin based on the settings enabled.
Screenshots
Checklist
I have read and understood the [Contribution Guidelines]().
What
Enabled tool settings for exported tools to support single pass extraction, challenge and summarize
Why
Currently due to lack of missing tool settings, users were unable to run the prompts with single pass extraction, challenge and summarize.
How
Added JSON schema to enable settings when tool is exported
Note: For existing tools we need to export the tool again to get these settings.
Can this PR break any existing features. If yes, please list possible items. If no, please explain why. (PS: Admins do not merge the PR without this section filled)
Mostly no. Tested the existing behavior to make sure it doesn't break. For some reason if it breaks, it might affect prompt studio exported tools because the changes are mostly around that.
Database Migrations
Env Config
Relevant Docs
-
Related Issues or PRs
-
Dependencies Versions
-
Notes on Testing
Made the required changes in the tool, built it and used with unstract. Verified if the flow goes to single pass extraction and challenge plugin based on the settings enabled.
Screenshots
Checklist
I have read and understood the [Contribution Guidelines]().