Skip to content

Commit

Permalink
Merge pull request #28 from hyogrin/main
Browse files Browse the repository at this point in the history
update connection guide
  • Loading branch information
hyogrin authored Nov 7, 2024
2 parents 92150bf + 0e14c4d commit 7565b69
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 40 deletions.
20 changes: 0 additions & 20 deletions 3_llmops-aistudio/3_2_prototyping/promptflow_with_code.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -122,26 +122,6 @@
"> Update flow.dag.yaml files in your flow_path with the connection name you have created in the Azure ML Studio UI."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"from promptflow.client import PFClient\n",
"from promptflow.entities import AzureOpenAIConnection, CustomConnection\n",
"\n",
"# Get a pf client to get connections\n",
"# currently we only support create connection in Azure AI, ML Studio UI\n",
"pf = PFClient()\n",
"try:\n",
" pf.connections.list()\n",
" for connection in pf.connections.list():\n",
" print(connection)\n",
"except (ValueError, TypeError) as e:\n",
" print(e)"
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,26 +126,6 @@
"> Update flow.dag.yaml files in your flow_path with the connection name you have created in the Azure ML Studio UI."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"from promptflow.client import PFClient\n",
"from promptflow.entities import AzureOpenAIConnection, CustomConnection\n",
"\n",
"# Get a pf client to get connections\n",
"# currently we only support create connection in Azure AI, ML Studio UI\n",
"pf = PFClient()\n",
"try:\n",
" pf.connections.list()\n",
" for connection in pf.connections.list():\n",
" print(connection)\n",
"except (ValueError, TypeError) as e:\n",
" print(e)"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand Down

0 comments on commit 7565b69

Please sign in to comment.