Skip to content

@moss-dev/moss-web v1.0.0


@moss-dev/moss-web / CreateIndexOptions

Interface: CreateIndexOptions

Options for creating an index.

Properties

PropertyTypeDescription
modelId?stringEmbedding model to use. Defaults to "moss-minilm", or "custom" if documents have pre-computed embeddings.
onProgress?(progress) => voidCallback invoked with progress updates (~every 2s) while the server is processing.