feat: add aliyun rerank
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user