diff --git a/cli/jobs/pipelines-with-components/flow_in_pipeline/1a_flow_in_pipeline/README.md b/cli/jobs/pipelines-with-components/flow_in_pipeline/1a_flow_in_pipeline/README.md index ba2b95d14c3..efc52ee6de1 100644 --- a/cli/jobs/pipelines-with-components/flow_in_pipeline/1a_flow_in_pipeline/README.md +++ b/cli/jobs/pipelines-with-components/flow_in_pipeline/1a_flow_in_pipeline/README.md @@ -2,19 +2,6 @@ This is a dummy pipeline job with anonymous reference for flow as component. Note that you will need to install a private version of cli and make sure that the compute cluster has the permission to access connections before you try to use this feature. -## dependency - -To use this feature, you'll need to install a private version of `mldesigner` and cli: - -```bash -# install the private version azure-ai-ml first. mldesigner depends this to compile flow as component -python -m pip install azure-ai-ml==1.10.0a20230904003 --extra-index-url https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-python/pypi/simple/ - -# remove existed ml extension if you haven't installed the private version -az extension remove -n ml -az extension add --source https://azuremlsdktestpypi.blob.core.windows.net/wheels/sdk-cli-v2/ml-0.0.139-py3-none-any.whl -y -``` - ## for usage in office When using in office, there are some more constraints: @@ -27,19 +14,19 @@ To meet the requirement, please install below private version packages and exten python -m pip install shrike[build]==2.0.0dev9 # install this after shrike as shrike depends on a stable version -python -m pip install azure-ai-ml==1.10.0a20230904003 --extra-index-url https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-python/pypi/simple/ +python -m pip install azure-ai-ml python -m pip install mldesigner==0.0.105430780 --extra-index-url https://azuremlsdktestpypi.azureedge.net/test-sdk-cli-v2 # the private promptflow is to allow pandas >= 2.0.0 -python -m pip install promptflow==0.0.105586882 promptflow-tools --extra-index-url https://azuremlsdktestpypi.azureedge.net/promptflow/ +python -m pip install promptflow promptflow-tools # note that all referred python scripts will be loaded during compile. Please use local package import instead of global import python -m pip install bs4 # remove existed ml extension if you haven't installed the private version az extension remove -n ml -az extension add --source https://azuremlsdktestpypi.blob.core.windows.net/wheels/sdk-cli-v2/ml-0.0.139-py3-none-any.whl -y +az extension add ml ``` For global import issue, suppose below tool is referred in `flow.dag.yaml`: