-
Notifications
You must be signed in to change notification settings - Fork 736
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Test] Add basic flex flow e2e test #3173
Conversation
promptflow SDK CLI Azure E2E Test Result wanhan/basic_flex_flow_test 4 files 4 suites 4m 10s ⏱️ Results for commit 6d3887b. ♻️ This comment has been updated with latest results. |
SDK CLI Global Config Test Result wanhan/basic_flex_flow_test6 tests 6 ✅ 1m 12s ⏱️ Results for commit 6d3887b. ♻️ This comment has been updated with latest results. |
SDK CLI Test Result wanhan/basic_flex_flow_test 4 files 4 suites 1h 1m 58s ⏱️ For more details on these failures, see this check. Results for commit 6d3887b. ♻️ This comment has been updated with latest results. |
Hi, thank you for your interest in helping to improve the prompt flow experience and for your contribution. We've noticed that there hasn't been recent engagement on this pull request. If this is still an active work stream, please let us know by pushing some changes or leaving a comment. |
Hi, thank you for your contribution. Since there has not been recent engagement, we are going to close this out. Feel free to reopen if you'd like to continue working on these changes. Please be sure to remove the |
Description
Please add an informative description that covers that changes made by the pull request and link all relevant issues.
This pull request primarily introduces a new end-to-end test flow for the
promptflow
package. The changes include the creation of a new class-based model configuration, the addition of a new YAML file to specify the entry point for the flow, and the creation of several JSON and JSONL files to define the inputs and test configurations for the flow.New class-based model configuration:
src/promptflow/tests/test_configs/e2e_test_flows/class_based_flex_flow_with_model_config/class_based_model_config.py
: Introduced a new classEvalFlow
that takes anAzureOpenAIModelConfiguration
as an argument. The class includes a__call__
method to evaluate if an expected word is present in a given answer and an__aggregate__
method to calculate the total number of correct results.New YAML file:
src/promptflow/tests/test_configs/e2e_test_flows/class_based_flex_flow_with_model_config/flow.flex.yaml
: Added a new YAML file to specifyEvalFlow
fromclass_based_model_config
as the entry point for the flow.New JSON and JSONL files:
src/promptflow/tests/test_configs/e2e_test_flows/class_based_flex_flow_with_model_config/init.json
: Created a new JSON file to define themodel_config
for the flow, which includes the connection and Azure deployment details.src/promptflow/tests/test_configs/e2e_test_flows/class_based_flex_flow_with_model_config/inputs.jsonl
: Added a new JSONL file to provide the inputs for the flow, which include an answer and an expected word.src/promptflow/tests/test_configs/e2e_test_flows/class_based_flex_flow_with_model_config/test_configs/batch_run_config_1.json
: Created a new JSON file to define the test configurations for a batch run of the flow. The file includes details about the run configurations, assertions, and expected outputs.All Promptflow Contribution checklist:
General Guidelines and Best Practices
Testing Guidelines