promptflow icon indicating copy to clipboard operation
promptflow copied to clipboard

[Feature Request] Support to fail custom python tool manually with outputs

Open anandchugh opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? Please describe. Currently if custom python tool throws exception then particular record is marked as Failes instance without any outputs. It should allow to manually fail so that we can also attach output params. We have a scenerio when we want to mark a record as failed and also attach some output params.

Describe the solution you'd like A clear and concise description of what you want to happen. A status field in output could be treated for Success of Failed scenerio

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered. There is no alternative here, for failed instances we are not able to get any output. For getting more info we go to Traces and see more details.

Additional context Add any other context or screenshots about the feature request here.

anandchugh avatar Mar 19 '24 06:03 anandchugh

Hi @anandchugh ,

Just to confirm, is your feedback related to azure portal experience? If that's the case, please check this link and create feedback there Frequency asked questions (FAQ) — Prompt flow documentation

Github issue mainly focus on non-portal user experience issue.

0mza987 avatar Mar 19 '24 07:03 0mza987