microsoft / promptflow

Build high-quality LLM apps - from prototyping, testing to production deployment and monitoring.
https://microsoft.github.io/promptflow/
MIT License
9.41k stars 856 forks source link

[Feature Request] The evaluation of Prompt Flow outputs in parallel with a Prompt Flow run #3612

Closed mariia-ascent closed 4 weeks ago

mariia-ascent commented 2 months ago

We are writing to seek your assistance regarding an issue we've encountered while attempting to run a Prompt Flow evaluation locally using the Prompt Flow VS Code extension.

In Microsoft AI Studio, there is a functionality that allows for the evaluation of Prompt Flow outputs in parallel with a Prompt Flow run. However, we have observed that when running this evaluation locally through the VS Code extension, the process does not fully incorporate the Prompt Flow output collection into the evaluation result. Specifically, the code generated during the evaluation run in Azure AI Studio appears to omit the integration of the Prompt Flow outputs into the evaluation process. Currently, we are only able to execute the evaluation locally using a pre-existing dataset that includes the question, the ground truth answer, and the Prompt Flow output. This limitation restricts our ability to dynamically specify a new Prompt Flow for evaluation alongside the relevant dataset containing the question and ground truth.

Additionally, while running the evaluation locally via the Prompt Flow VS Code extension, we appreciate the feature that allows us to visualize the run results in a well-organized table format. However, unlike in Azure AI Studio, there seems to be no option to export these results into a CSV or JSON format for further analysis and reporting.

Our primary queries are as follows:

D-W- commented 2 months ago

Hi @mariia-ascent , you can run evaluation against existing run in VS Code extension by selecting input source as existing run in extenstion: image

Here's related doc for this scenario.

github-actions[bot] commented 1 month ago

Hi, we're sending this friendly reminder because we haven't heard back from you in 30 days. We need more information about this issue to help address it. Please be sure to give us your input. If we don't hear back from you within 7 days of this comment, the issue will be automatically closed. Thank you!