-
Notifications
You must be signed in to change notification settings - Fork 904
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support custom strong type connection in script tool (Simplified) (#733)
# Description doc: [(Simplify) Support custom strong type connection in script tool.docx](https://microsoftapc-my.sharepoint.com/:w:/g/personal/yalu4_microsoft_com/EYUiMpo5kK5Cj7vJygKEqZQBtl28ZZiWQnljvW9URimFDA?e=kE30rg) Support custom strong type connection in script tool. 1. User can define and use their own custom strong type conenction in their script tool: ![image](https://github.com/microsoft/promptflow/assets/46446115/91382a1d-0b6b-460d-876a-e051574e1d8e) 2. The connection type would be shown as custom connection in flow ![image](https://github.com/microsoft/promptflow/assets/46446115/a7c5e6ff-e731-4a38-a3fa-54f53f594c6b) 4. The connection value is the a normal custom connection. 5. The way of creating this custom connection is no different from the usual of a CustomConnection. User needs to fill in the key value of their custom defined connection. ![image](https://github.com/microsoft/promptflow/assets/46446115/d8d41822-c8d9-4b9e-85e9-35d16c930f7c) local to cloud test command: _preparation: install [promptflow package with supported feature](https://msdata.visualstudio.com/Vienna/_build/results?buildId=107506794&view=results) in test runtime._ ``` pfazure run create --subscription 96aede12-2f73-41cb-b983-6d11a904839b -g promptflow -w chjinche-pf-eus --flow D:\testscripts\test_pf_cmd\tests\new-empty-flow-created-at-2023-10-10 --data D:\testscripts\test_pf_cmd\tests\new-empty-flow-created-at-2023-10-10\data.jsonl --runtime test-compute ``` Run success link: https://ml.azure.com/prompts/flow/4d49a4bb-8594-4ccd-842e-73a9aeb3fcb1/27ebca2e-8a12-40a9-9f01-bd1ca72815c2/details?wsid=/subscriptions/96aede12-2f73-41cb-b983-6d11a904839b/resourcegroups/promptflow/providers/Microsoft.MachineLearningServices/workspaces/chjinche-pf-eus&tid=72f988bf-86f1-41af-91ab-2d7cd011db47 --------- Co-authored-by: yalu4 <[email protected]>
- Loading branch information
Showing
20 changed files
with
349 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.