Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.moorcheh.ai/llms.txt

Use this file to discover all available pages before exploring further.

Install

pip install moorcheh-client
The moorcheh command is installed with the package.

Command groups

GroupCommandsPurpose
Runtimeup, down, statusDocker containers and health
Namespacesnamespace-create, namespace-list, namespace-delete, namespace-delete-job-statusNamespace lifecycle
Dataupload-documents, upload-vectors, upload-job-statusIngest and poll uploads
Itemsitems-get, items-deleteRead or remove items by id
SearchsearchSemantic search

Typical workflow

moorcheh up
moorcheh status
moorcheh namespace-create --name docs --type text
moorcheh upload-documents --namespace-name docs --documents-file docs.json
moorcheh upload-job-status --namespace-name docs --job-id <job_id>
moorcheh search --query "your question" --namespaces docs --top-k 5
moorcheh down

Output

API commands print JSON to stdout. status also prints a one-line quota summary before the JSON. Errors print to stderr and exit with code 1.

Data directory

moorcheh up stores data at ~/.moorcheh/data. moorcheh down stops containers but does not delete your data.

Shared flag: --base-url

Most API commands accept:
--base-url http://localhost:8080
Use a different port if you started the server with moorcheh up --server-port 8081.

Help

moorcheh --help
moorcheh up --help
moorcheh search --help