Skip to main content
Version: Next

Interface: TextEmbeddingsProps<M>

Defined in: types/textEmbeddings.ts:112

Props for the useTextEmbeddings hook.

Type Parameters

M

M extends TextEmbeddingsModel = TextEmbeddingsModel

Properties

model

model: M

Defined in: types/textEmbeddings.ts:115

An object containing the model configuration.


preventLoad?

optional preventLoad: boolean

Defined in: types/textEmbeddings.ts:116

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