This example adds AI-powered filter capabilities to the DevExpress VCL Data Grid (using a lightweight ONNX model and a BERT tokenizer). Unlike built-in search/filter operations, Smart AI Filter compares strings based on semantic similarities rather than exact matches.
- Microsoft Windows 10 (64-bit) or newer
- ONNX Runtime v1.23.0 (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
-
Clone this repository (including submodules):
git clone --recurse-submodules git@github.com:DevExpress-Examples/vcl-grid-smart-semantic-filter.git
If you have already cloned the repository without submodules, initialize them using the following command:
git submodule update --init --recursive
-
Open and build the SimilaritySearch project (DPR).
-
If using Windows 10 (64-bit), place the latest version of
onnxruntime.dll(available in the official repository) into the executable file folder. -
Run the sample project.
Type a word or phrase into the Smart Search AI Filter field and click Apply.
(you will be redirected to DevExpress.com to submit your response)
