KNotJev : Kev

Backends

NotJev : Kev is the control plane. Pick a backend; keep the same wire format.

BackendEnvBest for
mockKEV_BACKEND=mockCI, demos, offline
ollamaKEV_BACKEND=ollamaLocal GPU / free inference
openaiKEV_BACKEND=openaiOpenAI, Gemini-compat, vLLM OpenAI API

Ollama example

KEV_BACKEND=ollama
KEV_OLLAMA_MODEL=qwen3.5:9b
KEV_OLLAMA_BASE_URL=http://127.0.0.1:11434

Cascade & constraints

Large choice sets (e.g. Banking77, CLINC) use cascade / constrained decoding so the model picks from the label space instead of inventing strings. Short readouts stay constrained for speed and reliability.