From 928017d2cd921f8a46b9388c9996224ecc485523 Mon Sep 17 00:00:00 2001 From: pollyndos <56310766+pollyndos@users.noreply.github.com> Date: Tue, 18 Mar 2025 17:17:45 +0400 Subject: [PATCH 1/6] Update README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index a7e238f..88129e5 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,9 @@ The AI Assistant reviews and analyzes all data displayed in the dashboard to ans **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.** +> [!Important] +> We use version **9.0.0-preview.9.24556.5** of the _Microsoft.Extensions.AI.*_ libraries in our source code. We do not guarantee compatibility or correct operation with higher versions. + ## Implementation Details ### Add Personal Keys From cdde15c2ace97c1cb8ec5aeac0a05e8df9b69372 Mon Sep 17 00:00:00 2001 From: Amirzhan Alimov Date: Tue, 25 Mar 2025 12:05:22 +0500 Subject: [PATCH 2/6] fix refresh button rendering --- CS/wwwroot/js/aiChatCustomItem.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/CS/wwwroot/js/aiChatCustomItem.js b/CS/wwwroot/js/aiChatCustomItem.js index cb18ac9..4734934 100644 --- a/CS/wwwroot/js/aiChatCustomItem.js +++ b/CS/wwwroot/js/aiChatCustomItem.js @@ -180,7 +180,6 @@ let AIChatCustomItem = (function() { const buttonContainer = document.createElement('div'); buttonContainer.classList.add('dx-bubble-button-container'); - this.lastRefreshButton?.remove(); const copyBtnElement = document.createElement('div'); new DevExpress.ui.dxButton(copyBtnElement, { icon: 'copy', @@ -194,12 +193,15 @@ let AIChatCustomItem = (function() { stylingMode: 'text', onClick: () => this.refreshAnswer(data.component) }); - buttonContainer.appendChild(refreshBtnElement); - this.lastRefreshButton = refreshBtnElement; + if(data.component.option('items').at(-1).author === assistant.name) { + buttonContainer.appendChild(refreshBtnElement); + this.lastRefreshButton = refreshBtnElement; + } container.appendChild(buttonContainer); } async onMessageEntered(e) { + this.lastRefreshButton?.remove(); const instance = e.component; this.component.option('alerts', []); instance.renderMessage(e.message); From 08aa9e361554a49af642a2ae472c3c93fa474c48 Mon Sep 17 00:00:00 2001 From: DevExpressExampleBot Date: Tue, 25 Mar 2025 11:08:04 +0400 Subject: [PATCH 3/6] README auto update [skip ci] --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 88129e5..27e19cc 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,4 @@ -![](https://img.shields.io/endpoint?url=https://codecentral.devexpress.com/api/v1/VersionRange/938296554/24.2.3%2B) [![](https://img.shields.io/badge/Open_in_DevExpress_Support_Center-FF7200?style=flat-square&logo=DevExpress&logoColor=white)](https://supportcenter.devexpress.com/ticket/details/T1279614) [![](https://img.shields.io/badge/📖_How_to_use_DevExpress_Examples-e9f6fc?style=flat-square)](https://docs.devexpress.com/GeneralInformation/403183) [![](https://img.shields.io/badge/💬_Leave_Feedback-feecdd?style=flat-square)](#does-this-example-address-your-development-requirementsobjectives) From d1528e828df5d3a1dbf4c0c6748ef26a86b62e6d Mon Sep 17 00:00:00 2001 From: DevExpressExampleBot Date: Tue, 25 Mar 2025 11:15:00 +0400 Subject: [PATCH 4/6] README auto update [skip ci] --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index e74a54c..880bdc8 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,4 @@ -![](https://img.shields.io/endpoint?url=https://codecentral.devexpress.com/api/v1/VersionRange/938296554/24.2.6%2B) [![](https://img.shields.io/badge/Open_in_DevExpress_Support_Center-FF7200?style=flat-square&logo=DevExpress&logoColor=white)](https://supportcenter.devexpress.com/ticket/details/T1279614) [![](https://img.shields.io/badge/📖_How_to_use_DevExpress_Examples-e9f6fc?style=flat-square)](https://docs.devexpress.com/GeneralInformation/403183) [![](https://img.shields.io/badge/💬_Leave_Feedback-feecdd?style=flat-square)](#does-this-example-address-your-development-requirementsobjectives) From c7160aee19e462bf5d174da358221086f9f93dc2 Mon Sep 17 00:00:00 2001 From: amirzhan-alimov <115990300+amirzhan-alimov@users.noreply.github.com> Date: Tue, 25 Mar 2025 12:18:42 +0500 Subject: [PATCH 5/6] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 880bdc8..d080325 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ The AI Assistant reviews and analyzes all data displayed in the dashboard to ans > > v24.2.6+ | **9.3.0-preview.1.25161.3** > -> We do not guarantee compatibility or correct operation with higher versions. Refer to the following announcement for additional information: [Microsoft.Extensions.AI.Abstractions NuGet Package Version Upgrade in v24.2.6](https://community.devexpress.com/blogs/news/archive/2025/03/12/important-announcement-microsoft-extensions-ai-abstractions-nuget-package-version-upgrade.aspx) +> We do not guarantee compatibility or correct operation with higher versions. Refer to the following announcement for additional information: [Microsoft.Extensions.AI.Abstractions NuGet Package Version Upgrade in v24.2.6].(https://community.devexpress.com/blogs/news/archive/2025/03/12/important-announcement-microsoft-extensions-ai-abstractions-nuget-package-version-upgrade.aspx) ## Implementation Details From 5998b3d507be0ac695f6ef7991429d6c82e75504 Mon Sep 17 00:00:00 2001 From: amirzhan-alimov <115990300+amirzhan-alimov@users.noreply.github.com> Date: Tue, 25 Mar 2025 12:19:09 +0500 Subject: [PATCH 6/6] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d080325..6e648eb 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ The AI Assistant reviews and analyzes all data displayed in the dashboard to ans > > v24.2.6+ | **9.3.0-preview.1.25161.3** > -> We do not guarantee compatibility or correct operation with higher versions. Refer to the following announcement for additional information: [Microsoft.Extensions.AI.Abstractions NuGet Package Version Upgrade in v24.2.6].(https://community.devexpress.com/blogs/news/archive/2025/03/12/important-announcement-microsoft-extensions-ai-abstractions-nuget-package-version-upgrade.aspx) +> We do not guarantee compatibility or correct operation with higher versions. Refer to the following announcement for additional information: [Microsoft.Extensions.AI.Abstractions NuGet Package Version Upgrade in v24.2.6](https://community.devexpress.com/blogs/news/archive/2025/03/12/important-announcement-microsoft-extensions-ai-abstractions-nuget-package-version-upgrade.aspx). ## Implementation Details