-
Notifications
You must be signed in to change notification settings - Fork 901
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
Add flow test http api #2089
Add flow test http api #2089
Conversation
SDK CLI Global Config Test Result chenyin/add_pfs_api3 tests 3 ✅ 44s ⏱️ Results for commit ef73930. ♻️ This comment has been updated with latest results. |
promptflow SDK CLI Azure E2E Test Result chenyin/add_pfs_api 4 files 4 suites 4m 49s ⏱️ Results for commit ef73930. ♻️ This comment has been updated with latest results. |
SDK CLI Test Result chenyin/add_pfs_api 12 files 12 suites 44m 57s ⏱️ Results for commit ef73930. ♻️ This comment has been updated with latest results. |
Description
run
pf flow test --flow tests/test_configs/flows/web_classification --ui
will start pfs if it's not stared and redirect to page like below (add a min js placeholder), we will encode flow path and pass it to ux for now and ux need use it as query parameter to call pfs flow api.URL: http://127.0.0.1:55057/v1.0/ui/chat?flow=QzpcVXNlcnNcY2hlbnlpblxyZXBvXHByb21wdGZsb3dcc3JjXHByb21wdGZsb3dcdGVzdHNcdGVzdF9jb25maWdzXGZsb3dzXHdlYl9jbGFzc2lmaWNhdGlvbg%3D%3D
flow test
experiment test
Please add an informative description that covers that changes made by the pull request and link all relevant issues.
All Promptflow Contribution checklist:
General Guidelines and Best Practices
Testing Guidelines