feat: add aliyun rerank

This commit is contained in:
wizardchen
2025-09-09 20:58:16 +08:00
committed by lyingbug
parent 4214e6782b
commit 2b6cbee1b6
8 changed files with 68 additions and 200 deletions
-2
View File
@@ -16,7 +16,6 @@ export interface InitializationConfig {
dimension?: number; // 添加embedding维度字段
};
rerank: {
source: string;
modelName: string;
baseUrl: string;
apiKey?: string;
@@ -236,7 +235,6 @@ export function testEmbeddingModel(modelConfig: {
export function checkRerankModel(modelConfig: {
source: string;
modelName: string;
baseUrl: string;
apiKey?: string;