Repository navigation
Automatic Kev acquisition
Kev now has the same first-use download and local-cache experience as the
other local models:
services.AddLocalKevDecisions();
// Or:
using var client = new KevOnnxDecisionClient();- Downloads the preconverted Apache-2.0 Kev 0.8B CPU FP32 export from
https://huggingface.co/elbruno/kev-0.8b-onnx at an immutable pinned revision. - No Python, local conversion, Ollama or server is required.
- Validates required-file SHA-256 hashes before marking the cache complete.
New clients reuse the complete cache without HTTP requests. - Adds options for source/revision, cache, local path, CPU threads and progress.
Acquisition is cancellable and coordinates concurrent clients/processes. - Preserves existing explicit-path APIs as strictly local-only, and keeps Laya
as the default provider ofAddLocalDecisions(). - SharedDecisions supports
--kevfor automatic acquisition and retains
--kev <directory>for local-only use.
The public-download integration test started with an empty cache and passed
all six Choice/Score/Assessment reference cases. A new client then repeated
them with HTTP blocked and no additional HTTP attempts. Only Kev 0.8B text
CPU FP32 is supported; the first download occupies about 3.1 GB.
All five coordinated sibling NuGet packages use version 0.24.1.