Expand description
Policy-gated access to the shared embedding engine. Moved down from
tools/ctx_knowledge/embeddings.rs so engine callers (entropy, extractive,
telemetry) do not depend on the tools layer.
Functions§
- embedding_
engine - embedding_
engine_ nonblocking - Non-blocking: returns engine only if already loaded. Never blocks the calling path — but kicks off a one-time background load/download (#551) so the first semantic need self-activates the engine for later calls.
- embeddings_
auto_ download_ allowed - Auto-download policy (#551): the env var, when set, wins in either
direction; otherwise
[embedding].auto_downloadfrom config; otherwise allowed — the soft default that lights up the semantic features (semantic recall, EFF-7 redundancy filtering) without manual setup. - engine_
status_ line - Engine status for diagnostics (#551): one honest word + reason.