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

Validate groups when collect tool packages #3085

Open chenslucky opened 2 weeks ago

chenslucky commented 2 weeks ago

Description

Validate groups when collect tool packages.

  1. Group must have name and inputs
  2. Some group names cannot be used like advanced
  3. Group name should be unique
  4. Each input shouldn't appear in multiple groups

Portal: Test image: promptflow.azurecr.io/promptflow-runtime:pr-1344775-v13

image

image image image image

Extension: pf-tool version: 0.0.410 --extra-index-url https://azuremlsdktestpypi.azureedge.net/test-promptflow/ pf version: 1.10.0.dev125798419 --extra-index-url https://azuremlsdktestpypi.azureedge.net/promptflow

All Promptflow Contribution checklist:

General Guidelines and Best Practices

Testing Guidelines

github-actions[bot] commented 2 weeks ago

promptflow SDK CLI Azure E2E Test Result chesi/validate-group

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

Results for commit 5cd6534c.

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 5cd6534c.

github-actions[bot] commented 2 weeks ago

SDK CLI Global Config Test Result chesi/validate-group

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

Results for commit 5cd6534c.

github-actions[bot] commented 2 weeks ago

Executor E2E Test Result chesi/validate-group

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

Results for commit 5cd6534c.

github-actions[bot] commented 2 weeks ago

Executor Unit Test Result chesi/validate-group

797 tests   797 :white_check_mark:  3m 44s :stopwatch:   1 suites    0 :zzz:   1 files      0 :x:

Results for commit 5cd6534c.

github-actions[bot] commented 2 weeks ago

SDK CLI Test Result chesi/validate-group

    4 files      4 suites   59m 4s :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 5cd6534c.