Command reference
oko requirements embedder
Fetches the static embedding model the meaning index runs on, once, from the pinned revision requirements.json names, or shows where it is and whether its files hold the pinned bytes.
Invocation#
oko requirements embedder install|show [--json]Inputs and options#
- The model's name, files, their URLs and sha256 digests are declared in requirements.json.
Output and state effect#
- install fetches each file not yet held with its pinned digest into <requirements directory>/embedder/<model>/, staged beside it and moved into place only when its sha256 matches; prints model, files ({file, path, state installed|missing|corrupt, sha256, url}) and fetched. show prints the same without fetching.
Refusals and safe exits#
- `<url> answered bytes whose sha256 is <digest>, not the pinned <digest>; nothing was kept` and `<url> could not be fetched: <cause>` exit 1. `oko requirements embedder takes install or show; got <word>` exits 2.