@ppdocs/mcp 2.6.26 → 2.6.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/vector/index.js +1 -1
- package/package.json +1 -1
package/dist/vector/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import { pipeline } from '@xenova/transformers';
|
|
|
6
6
|
import * as fs from 'fs';
|
|
7
7
|
import * as path from 'path';
|
|
8
8
|
// 模型配置
|
|
9
|
-
const MODEL_NAME = 'Xenova/
|
|
9
|
+
const MODEL_NAME = 'Xenova/multilingual-e5-small'; // 120MB, 384维, 100+语言(含中文)
|
|
10
10
|
const VECTOR_DIM = 384;
|
|
11
11
|
// 单例模式
|
|
12
12
|
let extractor = null;
|