You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -72,8 +72,8 @@ Follow the quick deploy steps on the deployment guide to deploy this solution
72
72
<br/><br/>
73
73
74
74
75
-
|[](https://codespaces.new/microsoft/Build-your-own-copilot-Solution-Accelerator)|[](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/microsoft/Build-your-own-copilot-Solution-Accelerator)|
76
-
|---|---|
75
+
| [](https://codespaces.new/microsoft/Build-your-own-copilot-Solution-Accelerator) | [](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/microsoft/Build-your-own-copilot-Solution-Accelerator) | [&message=Open&color=blue&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/azure/?vscode-azure-exp=foundry&agentPayload=eyJiYXNlVXJsIjogImh0dHBzOi8vcmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbS9taWNyb3NvZnQvQnVpbGQteW91ci1vd24tY29waWxvdC1Tb2x1dGlvbi1BY2NlbGVyYXRvci9yZWZzL2hlYWRzL21haW4vaW5mcmEvdnNjb2RlX3dlYiIsICJpbmRleFVybCI6ICIvaW5kZXguanNvbiIsICJ2YXJpYWJsZXMiOiB7ImFnZW50SWQiOiAiIiwgImNvbm5lY3Rpb25TdHJpbmciOiAiIiwgInRocmVhZElkIjogIiIsICJ1c2VyTWVzc2FnZSI6ICIiLCAicGxheWdyb3VuZE5hbWUiOiAiIiwgImxvY2F0aW9uIjogIiIsICJzdWJzY3JpcHRpb25JZCI6ICIiLCAicmVzb3VyY2VJZCI6ICIiLCAicHJvamVjdFJlc291cmNlSWQiOiAiIiwgImVuZHBvaW50IjogIiJ9LCAiY29kZVJvdXRlIjogWyJhaS1wcm9qZWN0cy1zZGsiLCAicHl0aG9uIiwgImRlZmF1bHQtYXp1cmUtYXV0aCIsICJlbmRwb2ludCJdfQ==) |
Copy file name to clipboardExpand all lines: docs/DeploymentGuide.md
+37-4Lines changed: 37 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,10 +63,10 @@ azd env set AZURE_ENV_VM_ADMIN_PASSWORD <your-password>
63
63
64
64
## Deployment Options & Steps
65
65
66
-
Pick from the options below to see step-by-step instructions for GitHub Codespaces, VS Code Dev Containers, and Local Environments.
66
+
Pick from the options below to see step-by-step instructions for GitHub Codespaces, VS Code Dev Containers, Visual Studio Code (WEB), and Local Environments.
67
67
68
-
|[](https://github.com/codespaces/new?repo=microsoft/Build-your-own-copilot-Solution-Accelerator)|[](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/microsoft/Build-your-own-copilot-Solution-Accelerator)|
69
-
|---|---|
68
+
| [](https://github.com/codespaces/new?repo=microsoft/Build-your-own-copilot-Solution-Accelerator) | [](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/microsoft/Build-your-own-copilot-Solution-Accelerator) | [&message=Open&color=blue&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/azure/?vscode-azure-exp=foundry&agentPayload=eyJiYXNlVXJsIjogImh0dHBzOi8vcmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbS9taWNyb3NvZnQvQnVpbGQteW91ci1vd24tY29waWxvdC1Tb2x1dGlvbi1BY2NlbGVyYXRvci9yZWZzL2hlYWRzL21haW4vaW5mcmEvdnNjb2RlX3dlYiIsICJpbmRleFVybCI6ICIvaW5kZXguanNvbiIsICJ2YXJpYWJsZXMiOiB7ImFnZW50SWQiOiAiIiwgImNvbm5lY3Rpb25TdHJpbmciOiAiIiwgInRocmVhZElkIjogIiIsICJ1c2VyTWVzc2FnZSI6ICIiLCAicGxheWdyb3VuZE5hbWUiOiAiIiwgImxvY2F0aW9uIjogIiIsICJzdWJzY3JpcHRpb25JZCI6ICIiLCAicmVzb3VyY2VJZCI6ICIiLCAicHJvamVjdFJlc291cmNlSWQiOiAiIiwgImVuZHBvaW50IjogIiJ9LCAiY29kZVJvdXRlIjogWyJhaS1wcm9qZWN0cy1zZGsiLCAicHl0aG9uIiwgImRlZmF1bHQtYXp1cmUtYXV0aCIsICJlbmRwb2ludCJdfQ==) |
69
+
|---|---|---|
70
70
71
71
<details>
72
72
<summary><b>Deploy in GitHub Codespaces</b></summary>
@@ -100,6 +100,39 @@ You can run this solution in [VS Code Dev Containers](https://code.visualstudio.
100
100
3. In the VS Code window that opens, once the project files show up (this may take several minutes), open a terminal window.
101
101
4. Continue with the [deploying steps](#deploying-with-azd).
102
102
103
+
</details>
104
+
105
+
<details>
106
+
<summary><b>Deploy in Visual Studio Code (WEB)</b></summary>
107
+
108
+
### Visual Studio Code (WEB)
109
+
110
+
You can run this solution in VS Code Web. The button will open a web-based VS Code instance in your browser:
111
+
112
+
1. Open the solution accelerator (this may take several minutes):
113
+
114
+
[&message=Open&color=blue&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/azure/?vscode-azure-exp=foundry&agentPayload=eyJiYXNlVXJsIjogImh0dHBzOi8vcmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbS9taWNyb3NvZnQvQnVpbGQteW91ci1vd24tY29waWxvdC1Tb2x1dGlvbi1BY2NlbGVyYXRvci9yZWZzL2hlYWRzL21haW4vaW5mcmEvdnNjb2RlX3dlYiIsICJpbmRleFVybCI6ICIvaW5kZXguanNvbiIsICJ2YXJpYWJsZXMiOiB7ImFnZW50SWQiOiAiIiwgImNvbm5lY3Rpb25TdHJpbmciOiAiIiwgInRocmVhZElkIjogIiIsICJ1c2VyTWVzc2FnZSI6ICIiLCAicGxheWdyb3VuZE5hbWUiOiAiIiwgImxvY2F0aW9uIjogIiIsICJzdWJzY3JpcHRpb25JZCI6ICIiLCAicmVzb3VyY2VJZCI6ICIiLCAicHJvamVjdFJlc291cmNlSWQiOiAiIiwgImVuZHBvaW50IjogIiJ9LCAiY29kZVJvdXRlIjogWyJhaS1wcm9qZWN0cy1zZGsiLCAicHl0aG9uIiwgImRlZmF1bHQtYXp1cmUtYXV0aCIsICJlbmRwb2ludCJdfQ==)
115
+
116
+
2. When prompted, sign in using your Microsoft account linked to your Azure subscription.
117
+
118
+
Select the appropriate subscription to continue.
119
+
120
+
3. Once the solution opens, the **AI Foundry terminal** will automatically start running the following command to install the required dependencies:
121
+
122
+
```shell
123
+
sh install.sh
124
+
```
125
+
During this process, you’ll be prompted with the message:
126
+
```
127
+
What would you like to do with these files?
128
+
- Overwrite with versions from template
129
+
- Keep my existing files unchanged
130
+
```
131
+
Choose “**Overwrite with versions from template**” and provide a unique environment name when prompted.
132
+
133
+
4. Continue with the [deploying steps](#deploying-with-azd).
134
+
135
+
103
136
</details>
104
137
105
138
<details>
@@ -168,7 +201,7 @@ To adjust quota settings, follow these [steps](./AzureGPTQuotaSettings.md).
168
201
169
202
### Deploying with AZD
170
203
171
-
Once you've opened the project in [Codespaces](#github-codespaces), [Dev Containers](#vs-code-dev-containers), or [locally](#local-environment), you can deploy it to Azure by following these steps:
204
+
Once you've opened the project in [Codespaces](#github-codespaces), [Dev Containers](#vs-code-dev-containers), [Visual Studio Code (WEB)](#visual-studio-code-web), or [locally](#local-environment), you can deploy it to Azure by following these steps:
# VS Code for the Web - Azure AI Foundry Templates
2
+
3
+
We've generated a simple development environment for you to deploy the templates.
4
+
5
+
The Azure AI Foundry extension provides tools to help you build, test, and deploy AI models and AI Applications directly from VS Code. It offers simplified operations for interacting with your models, agents, and threads without leaving your development environment. Click on the Azure AI Foundry Icon on the left to see more.
6
+
7
+
Follow the instructions below to get started!
8
+
9
+
You should see a terminal opened with the template code already cloned.
10
+
11
+
## Deploy the template
12
+
13
+
You can provision and deploy this template using:
14
+
15
+
```bash
16
+
azd up
17
+
```
18
+
19
+
Follow any instructions from the deployment script and launch the application.
20
+
21
+
22
+
If you need to delete the deployment and stop incurring any charges, run:
23
+
24
+
```bash
25
+
azd down
26
+
```
27
+
28
+
## Continuing on your local desktop
29
+
30
+
You can keep working locally on VS Code Desktop by clicking "Continue On Desktop..." at the bottom left of this screen. Be sure to take the .env file with you using these steps:
31
+
32
+
- Right-click the .env file
33
+
- Select "Download"
34
+
- Move the file from your Downloads folder to the local git repo directory
35
+
- For Windows, you will need to rename the file back to .env using right-click "Rename..."
36
+
37
+
## More examples
38
+
39
+
Check out [Azure AI Projects client library for Python](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/ai/azure-ai-projects/README.md) for more information on using this SDK.
40
+
41
+
## Troubleshooting
42
+
43
+
- If you are instantiating your client via endpoint on an Azure AI Foundry project, ensure the endpoint is set in the `.env` as https://{your-foundry-resource-name}.services.ai.azure.com/api/projects/{your-foundry-project-name}`
0 commit comments