knolo-core
knolo-core copied to clipboard
knolo ask grounds the user's model in Hub evidence
Add knolo ask for a user who already has an inference engine. The engine may be local, such as Ollama, or a cloud API they configure.
The command queries Hub's knowledge route, checks each excerpt sha256, and sends the verified excerpts to an OpenAI-compatible chat endpoint (KNOLO_MODEL_BASE_URL, default http://127.0.0.1:11434/v1, --model or KNOLO_MODEL, optional KNOLO_MODEL_API_KEY). The model is not called when no evidence remains. --evidence prints the bundle and does not call a model. If the endpoint is down, the command prints the excerpts and exits 2.
Core stays model-free. MCP gains no tool. The command does not upload the answer or the key. Hub does not run the model.