Giter VIP home page Giter VIP logo

Comments (4)

zhengfeiwang avatar zhengfeiwang commented on June 3, 2024

hi @CodeFree-xzk , thanks for your feedback! currently, we have not exposed such API to get the node or line level information; but these informations are already stored locally, so it's possible to collect them from the disk - let me briefly introduce that:

  1. for each run, you can get its output path from run object; by default, it's a path under ~/.promptflow/.runs, named with its run name, and you can get its precise value via CLI command pf run show --name <run>

image

  1. navigate to that folder, there will be two folders node_artifacts and flow_artifacts, which contains the informations about nodes and lines. there are same numbers of JSON files as the lines, each one corresponds to a line, and you can get what you expect (status, output and something else) from those files.
  2. then it's your turn to collect what you need and transform them with your magic!

besides, we are working on some new features related to line level metrics with telemetry, which will expose some APIs to retrieve something related to your ask; but I cannot get you a precise timeline for now.

please take a look on the collection from run local storage first, and feel free to let me know if that does not work fine with your case, and I can explain more on what we are doing.

from promptflow.

CodeFree-xzk avatar CodeFree-xzk commented on June 3, 2024

Thank you for your suggestion! However, if I run the flow in web UI, where can I find the output file?

from promptflow.

zhengfeiwang avatar zhengfeiwang commented on June 3, 2024

Thank you for your suggestion! However, if I run the flow in web UI, where can I find the output file?

oh, I didn't realize we are talking about the runs in Azure - sorry about that.

for runs in Azure, those artifacts are persisted in Azure blob storage, which can be a little bit difficult to traverse, however, we have a feature that enable you to download all the artifacts from Azure to local, after that, you can do what I suggested above; you can refer to this doc: pfazure run download for more detail.

from promptflow.

github-actions avatar github-actions commented on June 3, 2024

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!

from promptflow.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.