Interface: TextEmbeddingsProps
Defined in: types/textEmbeddings.ts:24
Props for the useTextEmbeddings hook.
Properties
model
model:
object
Defined in: types/textEmbeddings.ts:25
An object containing the model configuration.
modelName
modelName:
TextEmbeddingsModelName
The unique name of the text embeddings model.
modelSource
modelSource:
ResourceSource
The source of the text embeddings model binary.
tokenizerSource
tokenizerSource:
ResourceSource
The source of the tokenizer JSON file.
preventLoad?
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.