Documentation · Documentation
What each language can do
Which Kjarni capabilities are available from Rust, the command line, C#, Python, Go, C and C++, and the browser.
| Capability | Rust | CLI | C# | Python | Go | C / C++ | Browser |
|---|---|---|---|---|---|---|---|
| Embeddings and similarity | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| Text classification (sentiment, emotion, toxicity) | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| Reranking (cross-encoder) | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| Index and search: keyword (BM25), semantic, hybrid | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ ¹ |
| Chat with a local LLM, streaming | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| Summarization | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | – |
| Translation | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | – |
| Speech-to-text (Whisper) | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | – |
| Image search by description (CLIP) | ✓ ² | ✓ | ✓ | ✓ | ✓ | ✓ | – |
| Text generation (GPT-2 family) | ✓ | ✓ | – | – | – | – | – |
IChatClient and IEmbeddingGenerator (Microsoft.Extensions.AI) | ✓ ³ |
C and C++ use the same library: kjarni.h is the C API and kjarni.hpp is a C++23
header-only wrapper over it with a class for each capability marked.
- In-memory index built in the page, through the lower-level
WasmSearchandWasmIndexBuilderclasses rather than the high-levelKjarniclass. - Behind the
image-iocargo feature. The released native libraries, and so every binding, include it. - The
Kjarni.Extensions.AIpackage, .NET 8. Tool calling is not supported yet.
Kjarni runs the same engine on every platform: