# kylin-ondevice-ai-engine-plugin

On-device AI engine plugins for the Kylin AI subsystem.

## Components

- **ondeviceembeddingengine** - Embedding engine for local vector inference
- **ondevicenlpengine** - NLP engine for local text generation
- **ondevicevisionengine** - Vision engine for OCR, image processing, and portrait matting
- **ondeviceembeddingplugin** - Plugin wrapper for the embedding engine
- **ondeviceplugin** - Plugin wrapper aggregating NLP and vision engines

## Build Dependencies

- CMake >= 3.16
- C++17 compiler
- libgrpc++-dev, libprotobuf-dev
- libopencv-dev
- nlohmann-json3-dev, libjsoncpp-dev
- libfmt-dev, libspdlog-dev
- libglib2.0-dev
- uuid-dev
- libkylin-ai-system-private-dev

## Build

```bash
mkdir build && cd build
cmake ..
make
```

## License

GPL-3.0-or-later. See [LICENSE](LICENSE) for details.
