Defined in: types/textEmbeddings.ts:24
Props for the useTextEmbeddings hook.
model:
object
Defined in: types/textEmbeddings.ts:25
An object containing the model configuration.
modelName:
TextEmbeddingsModelName
The unique name of the text embeddings model.
modelSource:
ResourceSource
The source of the text embeddings model binary.
tokenizerSource:
ResourceSource
The source of the tokenizer JSON file.
optionalpreventLoad:boolean
Defined in: types/textEmbeddings.ts:39
Boolean that can prevent automatic model loading (and downloading the data if you load it for the first time) after running the hook.