# libkysdk-genai-nlp

Client libraries for generative AI text and vision services, communicating with local AI backends via D-Bus.

## Features

### Text (libkysdk-genai-nlp)

- Chat with context and history
- Text generation from prompts
- Text expansion, polishing, error correction
- Translation (Chinese to English)
- Summarization, email reply, work summary, tag extraction

### Vision (libkysdk-genai-vision)

- Image generation from text prompts
- Configurable image style and size
- Asynchronous result delivery via callbacks

## Build Dependencies

- CMake >= 3.5
- C++17 compiler
- jsoncpp
- GIO (glib2)
- OpenSSL
- libkysdk-ai-common
- kylin-ai-proto

## Build

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

## Install

```bash
sudo make install
```

## License

GPL-3.0-or-later. See [COPYING](COPYING) for the full license text.
