Skip to main content

Synopsis

Embeds --query locally (BGE-small-en-v1.5, 384-dim), searches the store, and calls POST /answer. The server uses Ollama with fixed model qwen2.5:0.5b-instruct. When search returns no passages (empty store or --kiosk-mode + --threshold filters everything), the server skips the LLM and returns: I don't have enough information to answer that question.
Run moorcheh-edge up first so Ollama is installed and the LLM model is pulled. Use --skip-ollama on up only if you want search without RAG.

Options

Examples

Off-catalog question (no matching chunks):
With custom temperature and longer timeout (useful on edge hardware):

Output

Prints JSON to stdout:
See API: Answer.