Skip to content

Commit 8c08ea2

Browse files
Update AIStudioDeployment.md
1 parent b9cf0f8 commit 8c08ea2

File tree

1 file changed

+30
-30
lines changed

1 file changed

+30
-30
lines changed

ResearchAssistant/Deployment/AIStudioDeployment.md

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -4,68 +4,68 @@ Please follow the steps below to configure the Prompt flow endpoint in App servi
44
## Step 1: Open AI Studio Project
55
1. Launch the [AI Studio](https://ai.azure.com/) and select `Build` from the top menu.
66

7-
![Home](/Deployment/images/aiStudio/Home.png)
7+
![Home](/ResearchAssistant/Deployment/images/aiStudio/Home.png)
88

99
2. Click on the project with name `ai_project_{your deployment prefix}`.
1010

1111
## Step 2: Import Prompt Flow and Deploy
1212

1313
1. Click on `PromptFlow` button from left menu under `Tools`.
1414

15-
![Prompt Flow](/Deployment/images/aiStudio/PromptFlow.png)
15+
![Prompt Flow](/ResearchAssistant/Deployment/images/aiStudio/PromptFlow.png)
1616

1717
2. Click on `Create` button. Then click on `Upload` button from `Upload From Local` option from the last row.
1818

19-
![Upload](/Deployment/images/aiStudio/UploadFromLocal.png)
19+
![Upload](/ResearchAssistant/Deployment/images/aiStudio/UploadFromLocal.png)
2020

21-
3. Click on `Zip File` radio button. Then click on `Browse` to select the file `DraftFlow.zip` from the cloned/downloaded GitHub repository folder. The file will be located at `<Your Download Folder Path>/Deployment/scripts/ai_hub_scripts/flows/`.
21+
3. Click on `Zip File` radio button. Then click on `Browse` to select the file `DraftFlow.zip` from the cloned/downloaded GitHub repository folder. The file will be located at `<Your Download Folder Path>/ResearchAssistant/Deployment/scripts/ai_hub_scripts/flows/`.
2222

23-
![Select Local File](/Deployment/images/aiStudio/SelectLocalFile.png)
23+
![Select Local File](/ResearchAssistant/Deployment/images/aiStudio/SelectLocalFile.png)
2424

2525
4. Once the DraftFlow.zip file is uploaded, change folder name to `DraftFlow` and Select Flow type as `Chat Flow` and click on `Upload` button.
2626

27-
![Upload Local File](/Deployment/images/aiStudio/UploadLocalFile.png)
27+
![Upload Local File](/ResearchAssistant/Deployment/images/aiStudio/UploadLocalFile.png)
2828

2929

3030
5. Click on `Select runtime` and chick on `Start` from the drop-down list. It can take few minutes for the runtime to start.
3131

32-
![Select Runtime](/Deployment/images/aiStudio/SelectRunTime.png)
32+
![Select Runtime](/ResearchAssistant/Deployment/images/aiStudio/SelectRunTime.png)
3333

3434
6. Click on `Deploy` button once it is enabled. Enter a unique name for Endpoint Name field.
3535
>IMPORTANT: This name has to be unique across all endpoints in your Azure subscription.
3636
3737
You can leave the Deployment name, Virtual machine type, and Instace count as populated and click on `Review + Create`. Optionally you can choose a different VM type/size and increase/decrease the Instance count as needed. Then review details and click on `Create` in the next screen.
3838

39-
![Deploy Draft Flow](/Deployment/images/aiStudio/DeployDraftFlow.png)
39+
![Deploy Draft Flow](/ResearchAssistant/Deployment/images/aiStudio/DeployDraftFlow.png)
4040

4141
7. It will take few minutes for the flow to be validated and deployed. Click on `Deployments` from left menu. You might only see the Default_AzureOpenAI deployments in the page until the deployment is completed. Please wait and click on `Refresh` after few minutes.
4242

43-
![Deployments Page](/Deployment/images/aiStudio/BlankDeploymentsPage.png)
43+
![Deployments Page](/ResearchAssistant/Deployment/images/aiStudio/BlankDeploymentsPage.png)
4444

4545

4646
8. Click on the deployed endpoint with name `draftsinference-1`.
47-
![Drafts Endpoint](/Deployment/images/aiStudio/DraftsEndpoint.png)
47+
![Drafts Endpoint](/ResearchAssistant/Deployment/images/aiStudio/DraftsEndpoint.png)
4848

4949
9. Click on `Consume` from the top menu. Copy below details to use later in step 3.6.
5050
- Deployment
5151
- REST endpoint
5252
- Primary key
5353

54-
![Drafts Endpoint Consume](/Deployment/images/aiStudio/DraftsEndpointConsume.png)
54+
![Drafts Endpoint Consume](/ResearchAssistant/Deployment/images/aiStudio/DraftsEndpointConsume.png)
5555

5656
## Step 3: Update the deployment keys in Azure App Service configuration
5757
1. Launch the Azure Portal [Azure Portal](https://portal.azure.com/).
5858
2. Enter `Resource Groups` in the top search bar.
5959

60-
![Search Resource Groups](/Deployment/images/aiStudio/AzurePortalResourceGroups.png)
60+
![Search Resource Groups](/ResearchAssistant/Deployment/images/aiStudio/AzurePortalResourceGroups.png)
6161

6262
3. Locate your Resource Group you selected/created during one-click deployment and click on it.
6363

6464
4. Locate the App Service in the Resource Group and click on it.
6565

6666
5. Click on `Environment Variables` from left menu under `Settings`.
6767

68-
![Application Environment Variables](/Deployment/images/aiStudio/AppEnvironmentVariables.png)
68+
![Application Environment Variables](/ResearchAssistant/Deployment/images/aiStudio/AppEnvironmentVariables.png)
6969

7070
6. Modify the below variables with values collected in step 2.9 above.
7171
- AI_STUDIO_DRAFT_FLOW_ENDPOINT
@@ -74,64 +74,64 @@ Please follow the steps below to configure the Prompt flow endpoint in App servi
7474

7575
7. Click on `Apply` button at the bottom of the screen. Then click on `Confirm` in the pop-up.
7676

77-
![Application Environment Variables Confirm](/Deployment/images/aiStudio/AppEnvironmentVariablesConfirm.png)
77+
![Application Environment Variables Confirm](/ResearchAssistant/Deployment/images/aiStudio/AppEnvironmentVariablesConfirm.png)
7878

7979
8. Click on `Overview` from the left menu. Then click on `Restart` button in the top menu. Then click on `Yes` in the pop-up message.
8080

81-
![Application Restart](/Deployment/images/aiStudio/AppServiceRestart.png)
81+
![Application Restart](/ResearchAssistant/Deployment/images/aiStudio/AppServiceRestart.png)
8282

8383

8484
## Step 4: Add Authentication in Azure App Service configuration
8585

8686
1. Click on `Authentication` from left menu.
8787

88-
![Authentication](/Deployment/images/aiStudio/AppAuthentication.png)
88+
![Authentication](/ResearchAssistant/Deployment/images/aiStudio/AppAuthentication.png)
8989

9090
2. Click on `+ Add Provider` to see a list of identity providers.
9191

92-
![Authentication Identity](/Deployment/images/aiStudio/AppAuthenticationIdentity.png)
92+
![Authentication Identity](/ResearchAssistant/Deployment/images/aiStudio/AppAuthenticationIdentity.png)
9393

9494
3. Click on `+ Add Provider` to see a list of identity providers.
9595

96-
![Add Provider](/Deployment/images/aiStudio/AppAuthIdentityProvider.png)
96+
![Add Provider](/ResearchAssistant/Deployment/images/aiStudio/AppAuthIdentityProvider.png)
9797

98-
4. Select the first option `Microsoft Entra Id` from the drop-down list. If `Create new app registration` is disabled, go to [Step 4a](https://github.com/microsoft/Build-your-own-copilot-Solution-Accelerator/blob/PSL-Authenticate-Doc/Deployment/AIStudioDeployment.md#step-4a-creating-a-new-app-registration)
98+
4. Select the first option `Microsoft Entra Id` from the drop-down list. If `Create new app registration` is disabled, go to [Step 4a](https://github.com/microsoft/Build-your-own-AI-Assistant-Solution-Accelerator/blob/PSL-Authenticate-Doc/ResearchAssistant/Deployment/AIStudioDeployment.md#step-4a-creating-a-new-app-registration)
9999

100-
![Add Provider](/Deployment/images/aiStudio/AppAuthIdentityProviderAdd.png)
100+
![Add Provider](/ResearchAssistant/Deployment/images/aiStudio/AppAuthIdentityProviderAdd.png)
101101

102102
5. Accept the default values and click on `Add` button to go back to the previous page with the identify provider added.
103103

104-
![Add Provider](/Deployment/images/aiStudio/AppAuthIdentityProviderAdded.png)
104+
![Add Provider](/ResearchAssistant/Deployment/images/aiStudio/AppAuthIdentityProviderAdded.png)
105105

106106
### Step 4a: Creating a new App Registration
107107
1. Click on `Home` and select `Microsoft Entra ID`.
108108

109-
![Microsoft Entra ID](/Deployment/images/aiStudio/MicrosoftEntraID.png)
109+
![Microsoft Entra ID](/ResearchAssistant/Deployment/images/aiStudio/MicrosoftEntraID.png)
110110

111111
2. Click on `App registrations`.
112112

113-
![App registrations](/Deployment/images/aiStudio/Appregistrations.png)
113+
![App registrations](/ResearchAssistant/Deployment/images/aiStudio/Appregistrations.png)
114114

115115
3. Click on `+ New registration`.
116116

117-
![New Registrations](/Deployment/images/aiStudio/NewRegistration.png)
117+
![New Registrations](/ResearchAssistant/Deployment/images/aiStudio/NewRegistration.png)
118118

119119
4. Provide the `Name`, select supported account types as `Accounts in this organizational directory only(Contoso only - Single tenant)`, select platform as `Web`, enter/select the `URL` and register.
120120

121-
![Add Details](/Deployment/images/aiStudio/AddDetails.png)
121+
![Add Details](/ResearchAssistant/Deployment/images/aiStudio/AddDetails.png)
122122

123123
5. After application is created sucessfully, then click on `Add a Redirect URL`.
124124

125-
![Redirect URL](/Deployment/images/aiStudio/AddRedirectURL.png)
125+
![Redirect URL](/ResearchAssistant/Deployment/images/aiStudio/AddRedirectURL.png)
126126

127127
6. Click on `+ Add a platform`.
128128

129-
![+ Add platform](/Deployment/images/aiStudio/AddPlatform.png)
129+
![+ Add platform](/ResearchAssistant/Deployment/images/aiStudio/AddPlatform.png)
130130

131131
7. Click on `Web`.
132132

133-
![Web](/Deployment/images/aiStudio/Web.png)
133+
![Web](/ResearchAssistant/Deployment/images/aiStudio/Web.png)
134134

135-
8. Enter the `web app URL` (Provide the app service name in place of XXXX) and Save. Then go back to [Step 4](https://github.com/microsoft/Build-your-own-copilot-Solution-Accelerator/blob/PSL-Authenticate-Doc/Deployment/AIStudioDeployment.md#step-4-add-authentication-in-azure-app-service-configuration) and follow from _Point 4_ choose `Pick an existing app registration in this directory` from the Add an Identity Provider page and provide the newly registered App Name.
135+
8. Enter the `web app URL` (Provide the app service name in place of XXXX) and Save. Then go back to [Step 4](https://github.com/microsoft/Build-your-own-AI-Assistant-Solution-Accelerator/blob/PSL-Authenticate-Doc/ResearchAssistant/Deployment/AIStudioDeployment.md#step-4-add-authentication-in-azure-app-service-configuration) and follow from _Point 4_ choose `Pick an existing app registration in this directory` from the Add an Identity Provider page and provide the newly registered App Name.
136136

137-
![Add Details](/Deployment/images/aiStudio/WebAppURL.png)
137+
![Add Details](/ResearchAssistant/Deployment/images/aiStudio/WebAppURL.png)

0 commit comments

Comments
 (0)