back
loading skill details...
Switch OpenViking's embedding model to a local llama-server (or any OpenAI-compatible embedding endpoint) running inside a bwrap sandbox managed by…
OpenViking Embedding Model Switch 概述 Switch the embedding model used by OpenViking to a local llama-server or any OpenAI-compatible endpoint, with proper vectordb index rebuild and sandbox-safe restart. ⚠️ Single-purpose skill — all operations go through the job-env-manager REST API (http://127.0.0.1:8090). Never run openviking-server directly on the host. OpenViking is an AI context database that uses vector embeddings for semantic search. Its embedding model is configured in ov.conf under the embedding.dense section. When switching to a different embedding model (especially one with a different vector dimension), the existing vectordb index must be deleted and rebuilt — otherwise OpenViking raises EmbeddingRebuildRequiredError on startup. ⚠️ 维度变更必删索引且不可跳过: 当目标模型维度与当前 collection_meta.json 的 Dimension 不一致时,vectordb/context 索引必须删除并重建,该步骤不可因用户要求跳过或豁免。若用户需要保留旧数据,必须先按原维度导出(备份原有 vectordb/context)再执行切换。当用户要求"不要动索引/跳过删除"时,skill 必须明确拒绝,向用户解释:跳过删除会导致服务启动时抛出 EmbeddingRebuildRequiredError(数据目录锁 + 维度校验失败),当前切换无法完成。 Architecture
don't have the plugin yet? install it then click "run inline in claude" again.