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
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,11 +5,11 @@
5
5
<!-- default badges end -->
6
6
# Dashboard for ASP.NET Core — Integrate AI Assistant based on Azure OpenAI
7
7
8
-
This example is an ASP.NET Core application with integrated DevExpress BI Dashboard and an AI assistant. User requests and assistant responses are displayed on-screen using the DevExtreme [`dxChat`](https://js.devexpress.com/jQuery/Documentation/24_2/ApiReference/UI_Components/dxChat/) component. The AI Assistant is implemented as a [custom dashboard item](https://docs.devexpress.com/Dashboard/117546/web-dashboard/advanced-customization/create-a-custom-item) based on the `dxChat` widget.
8
+
This is an example of an ASP.NET Core application with an integrated DevExpress BI Dashboard and an AI assistant. User requests and assistant responses are displayed on-screen using the DevExtreme [`dxChat`](https://js.devexpress.com/jQuery/Documentation/24_2/ApiReference/UI_Components/dxChat/) component. The AI Assistant is implemented as a [custom dashboard item](https://docs.devexpress.com/Dashboard/117546/web-dashboard/advanced-customization/create-a-custom-item) based on the `dxChat` widget.
9
9
10
10

11
11
12
-
The AI Assistant reviews and analyzes all data displayed in the dashboard to answer your questions. You can narrow down available data if you select a specific dashboard item. Click the **Select widget** button in the AI Assistant custom item's caption and choose the desired widget. Note that updates to parameters or master filters, or any other data changes automatically trigger the AI Assistant recreation.
12
+
The AI Assistant reviews and analyzes all data displayed in the dashboard to answer your questions. You can filter the available data if you select a specific dashboard item. Click the **Select widget** button in the AI Assistant custom item's caption and choose the desired widget. Note that updates to parameters or master filters or any other data changes automatically trigger the AI Assistant recreation.
13
13
14
14
**Please note that AI Assistant initialization takes time. The assistant is ready for interaction once Microsoft Azure scans the source document on the server side.**
15
15
@@ -22,7 +22,7 @@ The AI Assistant reviews and analyzes all data displayed in the dashboard to ans
22
22
23
23
Create an Azure OpenAI resource in the Azure portal to use AI Assistants for DevExpress BI Dashboard. Refer to the following help topic for details: [Microsoft - Create and deploy an Azure OpenAI Service resource](https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/create-resource?pivots=web-portal).
24
24
25
-
Once you obtain a private endpoint and an API key, register them as `AZURE_OPENAI_ENDPOINT` and `AZURE_OPENAI_APIKEY` environment variables. Open [EnvSettings.cs](./CS/EnvSettings.cs) to review code that reads these settings. `DeploymentName` in this file is a name of your Azure model, for example, `GPT4o`:
25
+
Once you obtain a private endpoint and API key, register them as `AZURE_OPENAI_ENDPOINT` and `AZURE_OPENAI_APIKEY` environment variables. Open [EnvSettings.cs](./CS/EnvSettings.cs) to review the code that reads these settings. `DeploymentName` in this file is a name of your Azure model, for example, `GPT4o`:
26
26
27
27
```cs
28
28
publicstaticclassEnvSettings {
@@ -37,7 +37,7 @@ Files to Review:
37
37
38
38
### Register AI Services
39
39
40
-
Register AI services in your application. Add the following code to the _Program.cs_ file:
40
+
Add the following code to the _Program.cs_ file to register AI services in your application:
41
41
42
42
```cs
43
43
usingDevExpress.AIIntegration;
@@ -123,7 +123,7 @@ Register the created custom item extension in the Web Dashboard:
123
123
</div>
124
124
```
125
125
126
-
After you registered the extension, the AI Assistant icon appears in the Dashboard Toolbox:
126
+
After you register the extension, the AI Assistant icon appears in the Dashboard Toolbox:
127
127
128
128

0 commit comments