Zipstack / unstract

No-code LLM Platform to launch APIs and ETL Pipelines to structure unstructured documents
https://unstract.com
GNU Affero General Public License v3.0
2.23k stars 127 forks source link

Enabled settings for exported tool #360

Closed Deepak-Kesavan closed 4 months ago

Deepak-Kesavan commented 4 months ago

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

image

Checklist

I have read and understood the [Contribution Guidelines]().

sonarcloud[bot] commented 4 months ago

Quality Gate Passed Quality Gate passed

Issues
2 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud