microsoft / promptflow

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

Add execution target to distinguish dag or non-dag flow #3086

Closed huaiyan closed 2 weeks ago

huaiyan commented 2 weeks ago

Description

Add execution target to distinguish dag or non dag execution. Will set different value for each executor FlowExecutor: dag ScriptExecutor: flex PromptyExecutor: prompty

For now, when customer run pf flow test command to a python file, we will create flow.flex.yaml file for customer, and will report it as flex

Execution target filed will be used in

  1. PowerBI AOAI token page
  2. Trace telemetry

All Promptflow Contribution checklist:

General Guidelines and Best Practices

Testing Guidelines

github-actions[bot] commented 2 weeks ago

promptflow-tracing test result

 12 files   12 suites   7m 27s :stopwatch:  19 tests  19 :white_check_mark: 0 :zzz: 0 :x: 228 runs  228 :white_check_mark: 0 :zzz: 0 :x:

Results for commit 587ec813.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 2 weeks ago

promptflow SDK CLI Azure E2E Test Result dev/robbenwang_execution_target

  4 files    4 suites   4m 6s :stopwatch: 238 tests 203 :white_check_mark:  35 :zzz: 0 :x: 952 runs  812 :white_check_mark: 140 :zzz: 0 :x:

Results for commit 587ec813.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 2 weeks ago

promptflow-core test result

0 tests   0 :white_check_mark:  0s :stopwatch: 0 suites  0 :zzz: 0 files    0 :x:

Results for commit 587ec813.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 2 weeks ago

SDK CLI Global Config Test Result dev/robbenwang_execution_target

6 tests   6 :white_check_mark:  1m 16s :stopwatch: 1 suites  0 :zzz: 1 files    0 :x:

Results for commit 587ec813.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 2 weeks ago

Executor Unit Test Result dev/robbenwang_execution_target

792 tests   792 :white_check_mark:  3m 42s :stopwatch:   1 suites    0 :zzz:   1 files      0 :x:

Results for commit 587ec813.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 2 weeks ago

Executor E2E Test Result dev/robbenwang_execution_target

242 tests   237 :white_check_mark:  5m 10s :stopwatch:   1 suites    5 :zzz:   1 files      0 :x:

Results for commit 587ec813.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 2 weeks ago

SDK CLI Test Result dev/robbenwang_execution_target

    4 files      4 suites   57m 46s :stopwatch:   668 tests   655 :white_check_mark: 13 :zzz: 0 :x: 2 672 runs  2 620 :white_check_mark: 52 :zzz: 0 :x:

Results for commit 587ec813.

:recycle: This comment has been updated with latest results.