Skip to content

EmbedOptionsJs

Properties

Property Type Description
batchSize? number -
cacheDir? string -
maxBatchTokens? number -
maxLength? number -
model? string A registry id, "default", or the path of a .hmsemb pack.
modelDir? string -
normalize? boolean -
offline? boolean -
passagePrefix? string -
pooling? string "mean" or "cls".
queryPrefix? string -
sha256? string -
threads? number -