Documentation Index
Fetch the complete documentation index at: https://docs.moss.dev/llms.txt
Use this file to discover all available pages before exploring further.
Data model
Each document has anid and text (plus optional metadata). Use moss-minilm as the default model.
Examples
Notes
createIndex/create_indexwill sync indexes to cloud (if enabled) while remaining usable locally- Supports multiple indexes per project; pick the model per index:
moss-minilm: fast, lightweight (default)moss-mediumlm: higher accuracy, still efficient- Use
moss-minilmfor speed-first, edge/offline use; usemoss-mediumlmwhen you need higher recall/precision
Chunking tips
- Aim for ~200–500 tokens per chunk
- Overlap 10–20% to preserve context
- Normalize whitespace and strip boilerplate