Skip to main content

1. Start the server

API base URL: http://localhost:8080
To set embeddings and the answer LLM before starting: moorcheh configure. See Embedding providers. Ollama is only required if you choose it as the provider. If you change config later while the server is running, run moorcheh down then moorcheh up. Re-running configure with existing data under ~/.moorcheh/data and a different embedding model can break search for old text namespaces until you re-upload.

2. Create a namespace

Or in Python:

3. Upload documents

Save docs-upload.json:

Optional: Upload a file (PDF, DOCX, …)

Place a file under ~/.moorcheh/uploads, then:
The server reads /uploads/document.pdf inside the container. See Upload file.

5. Stop (data is kept)

Data remains in ~/.moorcheh/data.

Next steps

CLI

Full moorcheh command reference

API reference

Full REST endpoint documentation

Python client

End-to-end Python workflow