Skip to main content

Summary

Vector-only workflows (precomputed vectors, no text upload/search) do not need any embedding provider or Ollama.

How install and startup work

If ~/.moorcheh/data already has namespaces, changing embedding settings can break existing text search until you re-upload. The configure wizard warns when data is present. On first moorcheh up, Docker pulls moorcheh/server:latest (if not cached). The image is published for linux/amd64 and linux/arm64, so Docker Desktop on Apple Silicon Macs runs natively without emulation. Ollama (ollama/ollama:latest) is pulled only when your config uses provider ollama and host Ollama is not already running.
You do not need to build Moorcheh from source or run docker compose manually.

Python

Version: Python 3.10 or newer

Docker

Moorcheh on-prem runs the API server in Docker. moorcheh up runs compose and mounts ~/.moorcheh/data (index) and ~/.moorcheh/uploads/uploads (read-only, for file upload). Default ports:
Network: Pull moorcheh/server from Docker Hub. The image supports Intel and Apple Silicon Macs, Windows, and Linux (linux/amd64 and linux/arm64). Cloud providers also need outbound HTTPS from the server container to OpenAI or Cohere.

Docker Desktop vs Docker Engine

You only need a running Docker daemon (docker info succeeds). Docker Desktop is the most common way to get that on macOS and Windows, but it is not required on Linux.

Embedding provider

Pick one provider for all text namespaces on this instance. Full model list and dimensions: Embedding providers.

Ollama (optional)

Required only when provider is ollama in ~/.moorcheh/config.json. Ollama is used for:
  • Uploading documents to text namespaces
  • File upload chunk embedding (same provider as text upload)
  • Text semantic search (query strings)

Host vs bundled

Option A — Host Ollama

  1. Install from ollama.com
  2. moorcheh configure → choose ollama and a model
  3. moorcheh up — reuses host Ollama; pulls model if missing

Option B — Bundled Ollama (no host install)

If host Ollama is not running, moorcheh up starts moorcheh-ollama and pulls your configured model (for example nomic-embed-text).

Vector-only

If you only use vector namespaces:
  • No Ollama, OpenAI, or Cohere setup required
  • moorcheh up starts only the server when config uses a cloud provider
  • If config still says ollama, switch with moorcheh configure --force or use OpenAI/Cohere

Cloud embedding providers

OpenAI

  • API key from platform.openai.com
  • Set during moorcheh configure or moorcheh up --embedding-provider openai --embedding-api-key ...
  • Default base URL: https://api.openai.com/v1 (overridable in config.json)

Cohere


Checklist before Quickstart

Expected: "status": "ok", "embedding_provider", and "model" matching your config.

Troubleshooting


Next steps