Skip to main content
Version: Next

Interface: ClassificationProps<C>

Defined in: types/classification.ts:42

Props for the useClassification hook.

Type Parameters

C

C extends ClassificationModelSources

A ClassificationModelSources config specifying which built-in model to load.

Properties

model

model: C

Defined in: types/classification.ts:43

The model config containing modelName and modelSource.


preventLoad?

optional preventLoad: boolean

Defined in: types/classification.ts:44

Boolean that can prevent automatic model loading (and downloading the data if you load it for the first time) after running the hook.