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

FIX: Issue with displaying the prompt output in the coverage modal #359

Closed tahierhussain closed 4 months ago

tahierhussain commented 4 months ago

What

Fixed the issue with displaying the prompt output in the coverage modal after the prompt run.

-

Why

The response of the /prompt-studio/fetch_response/{tool_id} API was modified, but the corresponding updates in the FE were inadvertently missed.

-

How

Updated the FE to correctly handle the new structure of the API response from /prompt-studio/fetch_response/{tool_id}.

-

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)

No, this PR will not affect any existing features. It is a minor UI fix that will only impact the coverage modal.

-

Database Migrations

NA

Env Config

NA

Relevant Docs

NA

Related Issues or PRs

https://zipstack.atlassian.net/browse/UN-1290

Dependencies Versions

NA

Notes on Testing

NA

Screenshots

Screenshot from 2024-05-28 00-04-55

Checklist

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

sonarcloud[bot] commented 4 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

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

See analysis details on SonarCloud