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.
1. Start the server
pip install moorcheh-client
moorcheh up
moorcheh status
API base URL: http://localhost:8080
2. Create a namespace
moorcheh namespace-create --name docs --type text
Or in Python:
from moorcheh import MoorchehApiClient
client = MoorchehApiClient("http://localhost:8080")
client.create_namespace({
"namespace_name": "docs",
"type": "text",
})
3. Upload documents
Save docs-upload.json:
{
"documents": [
{
"id": "doc-1",
"text": "Hello from Moorcheh on-prem",
"team": "ai"
}
]
}
moorcheh upload-documents --namespace-name docs --documents-file docs-upload.json
moorcheh upload-job-status --namespace-name docs --job-id <job_id>
4. Search
moorcheh search --query "hello moorcheh" --namespaces docs --top-k 5
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