From 27827d71f821257e7ded82e7b0af125355a9cea6 Mon Sep 17 00:00:00 2001 From: Dmitry Eliseev <81766219+dmitry-eliseev-devexpress@users.noreply.github.com> Date: Thu, 25 Sep 2025 16:19:32 +0300 Subject: [PATCH 1/9] Add a draft for Readme.md --- README.md | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index a6f8d72..59a5cfb 100644 --- a/README.md +++ b/README.md @@ -3,11 +3,21 @@ [![](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) -# vcl-grid-smart-semantic-filter +# VCL Data Grid - Smart Semantic AI Filter + +This example implements AI-powered filter functionality for the [DevExpress VCL Data Grid](https://docs.devexpress.com/VCL/171093/ExpressQuantumGrid/vcl-data-grid). + +## Prerequisites + +* Microsoft Windows 10 (64-bit) or newer +* Embarcadero RAD Studio IDE 12 or newer (Community Edition is not supported) +* DevExpress VCL Components v25.1.5 or newer + -## Does this example address your development requirements/objectives? - -[](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=vcl-grid-smart-semantic-filter&~~~was_helpful=yes) [](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=vcl-grid-smart-semantic-filter&~~~was_helpful=no) - +## Does this example address your development requirements/objectives? + +[](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=vcl-grid-smart-semantic-filter&~~~was_helpful=yes) [](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=vcl-grid-smart-semantic-filter&~~~was_helpful=no) + (you will be redirected to DevExpress.com to submit your response) + From cd70b9587e9cae94bdfc0e0fb31ff5dc45612f53 Mon Sep 17 00:00:00 2001 From: DevExpressExampleBot Date: Thu, 25 Sep 2025 17:21:12 +0400 Subject: [PATCH 2/9] README auto update [skip ci] --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 59a5cfb..6837b61 100644 --- a/README.md +++ b/README.md @@ -14,10 +14,10 @@ This example implements AI-powered filter functionality for the [DevExpress VCL * DevExpress VCL Components v25.1.5 or newer -## Does this example address your development requirements/objectives? - -[](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=vcl-grid-smart-semantic-filter&~~~was_helpful=yes) [](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=vcl-grid-smart-semantic-filter&~~~was_helpful=no) - +## Does this example address your development requirements/objectives? + +[](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=vcl-grid-smart-semantic-filter&~~~was_helpful=yes) [](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=vcl-grid-smart-semantic-filter&~~~was_helpful=no) + (you will be redirected to DevExpress.com to submit your response) From 0d321c7f73d583f0cd64e0f72ab609104408bdaa Mon Sep 17 00:00:00 2001 From: Dmitry Eliseev <81766219+dmitry-eliseev-devexpress@users.noreply.github.com> Date: Fri, 26 Sep 2025 17:14:11 +0300 Subject: [PATCH 3/9] Update README.md --- README.md | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 6837b61..bb2790b 100644 --- a/README.md +++ b/README.md @@ -5,19 +5,30 @@ # VCL Data Grid - Smart Semantic AI Filter -This example implements AI-powered filter functionality for the [DevExpress VCL Data Grid](https://docs.devexpress.com/VCL/171093/ExpressQuantumGrid/vcl-data-grid). +This example implements AI-powered filter functionality for the [DevExpress VCL Data Grid](https://docs.devexpress.com/VCL/171093/ExpressQuantumGrid/vcl-data-grid) using a lightweight ONNX moel and a BERT tokenizer. ## Prerequisites * Microsoft Windows 10 (64-bit) or newer +* [ONNX Runtime v1.23.0](https://github.com/microsoft/onnxruntime) (required to run on Windows 10) * Embarcadero RAD Studio IDE 12 or newer (Community Edition is not supported) * DevExpress VCL Components v25.1.5 or newer +## Deploy and run + +1. Clone this repository: this operation automatically downloads required packages into **BertTokenizer4D** and **TONNXRuntime** folders +2. Open and build the **SimilaritySearch** project (DPR) +3. If using Windows 10 (64-bit), place the latest version of `onnxruntime.dll` (available in the [official repository](https://github.com/microsoft/onnxruntime)) into the folder containing the built executable file +4. Run the sample project + +## Testing the example + +Type a word or phrase into the **Smart Search AI Filter** field and click **Apply**. Use **Smart Search AI Filter Settings** UI elements to configure AI-powered filtering functionality. + -## Does this example address your development requirements/objectives? - -[](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=vcl-grid-smart-semantic-filter&~~~was_helpful=yes) [](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=vcl-grid-smart-semantic-filter&~~~was_helpful=no) - +## Does this example address your development requirements/objectives? + +[](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=vcl-grid-smart-semantic-filter&~~~was_helpful=yes) [](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=vcl-grid-smart-semantic-filter&~~~was_helpful=no) + (you will be redirected to DevExpress.com to submit your response) - From f3e8479b55d43a217427dd8d31a7cfb3744504d7 Mon Sep 17 00:00:00 2001 From: DevExpressExampleBot Date: Fri, 26 Sep 2025 18:19:27 +0400 Subject: [PATCH 4/9] README auto update [skip ci] --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index bb2790b..b4cc6d9 100644 --- a/README.md +++ b/README.md @@ -26,9 +26,9 @@ This example implements AI-powered filter functionality for the [DevExpress VCL Type a word or phrase into the **Smart Search AI Filter** field and click **Apply**. Use **Smart Search AI Filter Settings** UI elements to configure AI-powered filtering functionality. -## Does this example address your development requirements/objectives? - -[](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=vcl-grid-smart-semantic-filter&~~~was_helpful=yes) [](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=vcl-grid-smart-semantic-filter&~~~was_helpful=no) - +## Does this example address your development requirements/objectives? + +[](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=vcl-grid-smart-semantic-filter&~~~was_helpful=yes) [](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=vcl-grid-smart-semantic-filter&~~~was_helpful=no) + (you will be redirected to DevExpress.com to submit your response) From c7a444b7d35aab74b75ca2b3c980eb8a69229a60 Mon Sep 17 00:00:00 2001 From: Dmitry Eliseev <81766219+dmitry-eliseev-devexpress@users.noreply.github.com> Date: Fri, 26 Sep 2025 17:26:34 +0300 Subject: [PATCH 5/9] Apply suggestions from code review --- README.md | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index b4cc6d9..5312e37 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,12 @@ # VCL Data Grid - Smart Semantic AI Filter -This example implements AI-powered filter functionality for the [DevExpress VCL Data Grid](https://docs.devexpress.com/VCL/171093/ExpressQuantumGrid/vcl-data-grid) using a lightweight ONNX moel and a BERT tokenizer. +This example implements AI-powered filter functionality for the [DevExpress VCL Data Grid](https://docs.devexpress.com/VCL/171093/ExpressQuantumGrid/vcl-data-grid) using a lightweight ONNX model and a BERT tokenizer. Unlike standard search/filter operations available in the DevExpress VCL Data Grid, Smart AI Filter compares strings based on semantic similarities rather than exact matching. + +## Third-Party Dependencies + +* [TONXRuntime](https://github.com/hshatti/TONNXRuntime) +* [BertTokenizer4D](https://github.com/Samaliani/BertTokenizer4D) ## Prerequisites @@ -26,9 +31,9 @@ This example implements AI-powered filter functionality for the [DevExpress VCL Type a word or phrase into the **Smart Search AI Filter** field and click **Apply**. Use **Smart Search AI Filter Settings** UI elements to configure AI-powered filtering functionality. -## Does this example address your development requirements/objectives? - -[](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=vcl-grid-smart-semantic-filter&~~~was_helpful=yes) [](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=vcl-grid-smart-semantic-filter&~~~was_helpful=no) - +## Does this example address your development requirements/objectives? + +[](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=vcl-grid-smart-semantic-filter&~~~was_helpful=yes) [](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=vcl-grid-smart-semantic-filter&~~~was_helpful=no) + (you will be redirected to DevExpress.com to submit your response) From 282067d54c21547c2b89f81d00475159352937ae Mon Sep 17 00:00:00 2001 From: DevExpressExampleBot Date: Fri, 26 Sep 2025 18:28:57 +0400 Subject: [PATCH 6/9] README auto update [skip ci] --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 5312e37..7daacf1 100644 --- a/README.md +++ b/README.md @@ -31,9 +31,9 @@ This example implements AI-powered filter functionality for the [DevExpress VCL Type a word or phrase into the **Smart Search AI Filter** field and click **Apply**. Use **Smart Search AI Filter Settings** UI elements to configure AI-powered filtering functionality. -## Does this example address your development requirements/objectives? - -[](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=vcl-grid-smart-semantic-filter&~~~was_helpful=yes) [](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=vcl-grid-smart-semantic-filter&~~~was_helpful=no) - +## Does this example address your development requirements/objectives? + +[](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=vcl-grid-smart-semantic-filter&~~~was_helpful=yes) [](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=vcl-grid-smart-semantic-filter&~~~was_helpful=no) + (you will be redirected to DevExpress.com to submit your response) From b15c523829cf224695a1200831243f1aefb4a05f Mon Sep 17 00:00:00 2001 From: Dmitry Eliseev <81766219+dmitry-eliseev-devexpress@users.noreply.github.com> Date: Fri, 26 Sep 2025 17:30:56 +0300 Subject: [PATCH 7/9] Update README.md --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 7daacf1..9aff466 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![](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) -# VCL Data Grid - Smart Semantic AI Filter +# DevExpress VCL Data Grid - Smart Semantic AI Filter This example implements AI-powered filter functionality for the [DevExpress VCL Data Grid](https://docs.devexpress.com/VCL/171093/ExpressQuantumGrid/vcl-data-grid) using a lightweight ONNX model and a BERT tokenizer. Unlike standard search/filter operations available in the DevExpress VCL Data Grid, Smart AI Filter compares strings based on semantic similarities rather than exact matching. @@ -31,9 +31,9 @@ This example implements AI-powered filter functionality for the [DevExpress VCL Type a word or phrase into the **Smart Search AI Filter** field and click **Apply**. Use **Smart Search AI Filter Settings** UI elements to configure AI-powered filtering functionality. -## Does this example address your development requirements/objectives? - -[](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=vcl-grid-smart-semantic-filter&~~~was_helpful=yes) [](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=vcl-grid-smart-semantic-filter&~~~was_helpful=no) - +## Does this example address your development requirements/objectives? + +[](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=vcl-grid-smart-semantic-filter&~~~was_helpful=yes) [](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=vcl-grid-smart-semantic-filter&~~~was_helpful=no) + (you will be redirected to DevExpress.com to submit your response) From 0b0453ea3222734f50e33bb949d7b7b90639ba1d Mon Sep 17 00:00:00 2001 From: DevExpressExampleBot Date: Fri, 26 Sep 2025 18:35:30 +0400 Subject: [PATCH 8/9] README auto update [skip ci] --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 9aff466..273fcee 100644 --- a/README.md +++ b/README.md @@ -31,9 +31,9 @@ This example implements AI-powered filter functionality for the [DevExpress VCL Type a word or phrase into the **Smart Search AI Filter** field and click **Apply**. Use **Smart Search AI Filter Settings** UI elements to configure AI-powered filtering functionality. -## Does this example address your development requirements/objectives? - -[](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=vcl-grid-smart-semantic-filter&~~~was_helpful=yes) [](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=vcl-grid-smart-semantic-filter&~~~was_helpful=no) - +## Does this example address your development requirements/objectives? + +[](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=vcl-grid-smart-semantic-filter&~~~was_helpful=yes) [](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=vcl-grid-smart-semantic-filter&~~~was_helpful=no) + (you will be redirected to DevExpress.com to submit your response) From c1fc7270bd3a2c60e4ff0dfb9c5fce65d0fcf217 Mon Sep 17 00:00:00 2001 From: Dmitry Eliseev <81766219+dmitry-eliseev-devexpress@users.noreply.github.com> Date: Mon, 29 Sep 2025 10:28:45 +0300 Subject: [PATCH 9/9] Apply suggestions from code review Co-authored-by: Elena Khamlyuk <80813840+khamlyuk@users.noreply.github.com> --- README.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 273fcee..a7fda38 100644 --- a/README.md +++ b/README.md @@ -19,21 +19,21 @@ This example implements AI-powered filter functionality for the [DevExpress VCL * Embarcadero RAD Studio IDE 12 or newer (Community Edition is not supported) * DevExpress VCL Components v25.1.5 or newer -## Deploy and run +## Deploy and Run -1. Clone this repository: this operation automatically downloads required packages into **BertTokenizer4D** and **TONNXRuntime** folders -2. Open and build the **SimilaritySearch** project (DPR) -3. If using Windows 10 (64-bit), place the latest version of `onnxruntime.dll` (available in the [official repository](https://github.com/microsoft/onnxruntime)) into the folder containing the built executable file -4. Run the sample project +1. Clone this repository. Required dependencies automatically appear in **BertTokenizer4D** and **TONNXRuntime** folders. +2. Open and build the **SimilaritySearch** project (DPR). +3. If using Windows 10 (64-bit), place the latest version of `onnxruntime.dll` (available in the [official repository](https://github.com/microsoft/onnxruntime)) into the folder that contains the executable file. +4. Run the sample project. -## Testing the example +## Testing the Example -Type a word or phrase into the **Smart Search AI Filter** field and click **Apply**. Use **Smart Search AI Filter Settings** UI elements to configure AI-powered filtering functionality. +Type a word or phrase into the **Smart Search AI Filter** field and click **Apply**. -## Does this example address your development requirements/objectives? - -[](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=vcl-grid-smart-semantic-filter&~~~was_helpful=yes) [](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=vcl-grid-smart-semantic-filter&~~~was_helpful=no) - +## Does this example address your development requirements/objectives? + +[](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=vcl-grid-smart-semantic-filter&~~~was_helpful=yes) [](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=vcl-grid-smart-semantic-filter&~~~was_helpful=no) + (you will be redirected to DevExpress.com to submit your response)