Interface: PageEmbedderOptions
Defined in: web-embed/src/provider.ts:5
Properties
autoLoad?
optionalautoLoad?:boolean
Defined in: web-embed/src/provider.ts:15
Download without asking, on the first embed. Default false.
id?
optionalid?:string
Defined in: web-embed/src/provider.ts:6
label?
optionallabel?:string
Defined in: web-embed/src/provider.ts:7
model?
optionalmodel?:string
Defined in: web-embed/src/provider.ts:9
A Transformers.js feature-extraction model. Default Xenova/bge-small-en-v1.5 (384 dimensions, English, made for search).
queryPrefix?
optionalqueryPrefix?:string
Defined in: web-embed/src/provider.ts:13
Put before each query (models trained for search want one). Default: the one from the model card for BGE and mxbai models, none otherwise.
remoteHost?
optionalremoteHost?:string
Defined in: web-embed/src/provider.ts:17
Where the model files come from. Default Hugging Face (https://huggingface.co/); host them yourself to keep every request on your site.
size?
optionalsize?:string
Defined in: web-embed/src/provider.ts:11
Rough download size, said to the visitor before they agree. Default "about 40 MB".