✏️ model name typo

This commit is contained in:
Nate Sesti 2024-06-06 17:33:09 -07:00
parent 66b65f7528
commit 463660d868

View file

@ -40,7 +40,7 @@ export class TransformersJsEmbeddingsProvider extends BaseEmbeddingsProvider {
static maxGroupSize: number = 4;
constructor() {
super({ model: "all-MiniLM-L2-v6" }, () => Promise.resolve(null));
super({ model: "all-MiniLM-L6-v2" }, () => Promise.resolve(null));
}
async embed(chunks: string[]) {