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. Required dependencies automatically appear in BertTokenizer4D and TONNXRuntime folders.
- 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)