Interface: CreateIndexOptions
Options for creating an index.Properties
| Property | Type | Description |
|---|---|---|
modelId? | string | Embedding model to use. Defaults to “moss-minilm”, or “custom” if documents have pre-computed embeddings. |
onProgress? | (progress) => void | Callback invoked with progress updates (~every 2s) while the server is processing. |