Reference
CreateIndexFromFilesOptions
@moss-dev/moss / CreateIndexFromFilesOptions
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
| Property | Type | Description |
|---|---|---|
modelId? | "moss-minilm" | "moss-mediumlm" | Embedding model to use. Defaults to "moss-minilm". "custom" is not supported - the parse pipeline generates embeddings server-side. |
parseOptions? | ParseOptions | Extraction controls, including OCR mode. Omit for server defaults. |
onProgress? | (progress) => void | Callback invoked with progress updates (~every 2s) while the server is processing. |