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
+30-49Lines changed: 30 additions & 49 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -107,78 +107,59 @@ The following steps are required to deploy the infrastructure from the command l
107
107
108
108
### 2. Deploy an agent in the Azure AI Agent service
109
109
110
-
To test this scenario, you'll be deploying an AI agent included in this repository. The agent uses a GPT model combined with a Bing search for grounding data. Deploying an AI agent requires data plane access to Azure AI Foundry. In this architecture, you will interact with the Azure AI Foundry portal and its resources over internet.
110
+
To test this scenario, you'll be deploying an AI agent. The agent uses a GPT model combined with a Bing search for grounding data. Deploying an AI agent requires data plane access to Azure AI Foundry. In this architecture, you will interact with the Azure AI Foundry portal and its resources over internet.
111
111
112
-
The AI agent definition would likely be deployed from your application's pipeline running from a build agent or it could be deployed via singleton code in your web application. In this deployment, you'll create the agent from the terminal, which most closely simulates pipeline-based creation.
113
-
114
-
1. Generate some variables to set context.
115
-
116
-
*The following variables align with the defaults in this deployment. Update them if you customized anything.*
1.Navigate to the Azure AI Foundry project named **projchat** in your resource group and open the Azure AI Foundry portal by clicking the Go to **Azure AI Foundry portal** button.
132
115
133
-
*This step simulates deploying an AI agent through your pipeline.*
116
+
This will take you directly into the 'Chat project'. Alternatively, you can find all your AI Foundry accounts and projects by going to <https://ai.azure.com> and you do not need to use the Azure portal to access them.
1. From the popup window select the knowledge type 'Grounding with Bing Search'.
153
127
154
-
echo$AGENT_ID
155
-
````
128
+
1. Then choose the existing connection named 'bingaiagent' and click the **Connect** button.
156
129
157
-
### 3. Test the agent from the Azure AI Foundry portal in the playground. *Optional.*
130
+
### 3. Test the agent from the Azure AI Foundry portal in the playground.
158
131
159
132
Here you'll test your orchestration agent by invoking it directly from the Azure AI Foundry portal's playground experience.
160
133
161
-
*This step testing step is completely optional.*
134
+
1. Click the **Try in playground** button.
162
135
163
-
1. Open the Azure portal to your subscription.
136
+
1.Enter a question that would require grounding data through recent internet content, such as a notable recent event or the weather today in your location.
164
137
165
-
1. Navigate to the Azure AI Foundry project named **projchat**inyour resource group and open the Azure AI Foundry portal by clicking the **Go to Azure AI Foundry portal** button.
138
+
1.A grounded response to your question should appear on the UI.
166
139
167
-
This will take you directly into the 'Chat project'. Alternatively, you can find all your AI Foundry accounts and projects by going to <https://ai.azure.com> and you do not need to use the Azure portal to access them.
140
+
### 4. Publish the chat front-end web app
168
141
169
-
1. Click **Agents**inthe side navigation.
142
+
Workloads build chat functionality into an application. Those interfaces usually call Azure AI Foundry project endpoint invoking a particular agent. This implementation comes with such an interface. You'll deploy it to Azure App Service using the Azure CLI.
170
143
171
-
1. Select the agent named 'Baseline Chatbot Agent'.
144
+
1.Generate some variables to set context.
172
145
173
-
1. Click the **Try inplayground** button.
146
+
*The following variables align with the defaults in this deployment. Update them if you customized anything.*
174
147
175
-
1. Enter a question that would require grounding data through recent internet content, such as a notable recent event or the weather today in your location.
1. A grounded response to your question should appear on the UI.
153
+
echo$AI_FOUNDRY_AGENT_CREATE_URL
154
+
```
178
155
179
-
### 4. Publish the chat front-end web app
156
+
1. Get Agent ID value.
180
157
181
-
Workloads build chat functionality into an application. Those interfaces usually call Azure AI Foundry project endpoint invoking a particular agent. This implementation comes with such an interface. You'll deploy it to Azure App Service using the Azure CLI.
0 commit comments