Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 31 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,37 @@
[![](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)
<!-- default badges end -->
# vcl-grid-smart-semantic-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.

## Third-Party Dependencies

* [TONXRuntime](https://github.com/hshatti/TONNXRuntime)
* [BertTokenizer4D](https://github.com/Samaliani/BertTokenizer4D)

## 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. 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

Type a word or phrase into the **Smart Search AI Filter** field and click **Apply**.

<!-- feedback -->
## Does this example address your development requirements/objectives?

[<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)

## Does this example address your development requirements/objectives?
[<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)
(you will be redirected to DevExpress.com to submit your response)
<!-- feedback end -->
Loading