|
3 | 3 | [](https://docs.devexpress.com/GeneralInformation/403183) |
4 | 4 | [](#does-this-example-address-your-development-requirementsobjectives) |
5 | 5 | <!-- default badges end --> |
6 | | -# vcl-grid-smart-semantic-filter |
| 6 | +# DevExpress VCL Data Grid - Smart Semantic AI Filter |
| 7 | + |
| 8 | +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. |
| 9 | + |
| 10 | +## Third-Party Dependencies |
| 11 | + |
| 12 | +* [TONXRuntime](https://github.com/hshatti/TONNXRuntime) |
| 13 | +* [BertTokenizer4D](https://github.com/Samaliani/BertTokenizer4D) |
| 14 | + |
| 15 | +## Prerequisites |
| 16 | + |
| 17 | +* Microsoft Windows 10 (64-bit) or newer |
| 18 | +* [ONNX Runtime v1.23.0](https://github.com/microsoft/onnxruntime) (required to run on Windows 10) |
| 19 | +* Embarcadero RAD Studio IDE 12 or newer (Community Edition is not supported) |
| 20 | +* DevExpress VCL Components v25.1.5 or newer |
| 21 | + |
| 22 | +## Deploy and Run |
| 23 | + |
| 24 | +1. Clone this repository. Required dependencies automatically appear in **BertTokenizer4D** and **TONNXRuntime** folders. |
| 25 | +2. Open and build the **SimilaritySearch** project (DPR). |
| 26 | +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. |
| 27 | +4. Run the sample project. |
| 28 | + |
| 29 | +## Testing the Example |
| 30 | + |
| 31 | +Type a word or phrase into the **Smart Search AI Filter** field and click **Apply**. |
| 32 | + |
7 | 33 | <!-- feedback --> |
8 | | -## Does this example address your development requirements/objectives? |
9 | | - |
10 | | -[<img src="https://www.devexpress.com/support/examples/i/yes-button.svg"/>](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=vcl-grid-smart-semantic-filter&~~~was_helpful=yes) [<img src="https://www.devexpress.com/support/examples/i/no-button.svg"/>](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=vcl-grid-smart-semantic-filter&~~~was_helpful=no) |
11 | | - |
| 34 | +## Does this example address your development requirements/objectives? |
| 35 | + |
| 36 | +[<img src="https://www.devexpress.com/support/examples/i/yes-button.svg"/>](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=vcl-grid-smart-semantic-filter&~~~was_helpful=yes) [<img src="https://www.devexpress.com/support/examples/i/no-button.svg"/>](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=vcl-grid-smart-semantic-filter&~~~was_helpful=no) |
| 37 | + |
12 | 38 | (you will be redirected to DevExpress.com to submit your response) |
13 | 39 | <!-- feedback end --> |
0 commit comments