mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-03 02:59:07 +08:00
- Changed provider configuration in dev-app-update.yml to use GitHub. - Added SUPPORTED_REANK_PROVIDERS constant to filter available rerank models. - Updated tooltip messages in localization files to indicate supported providers. - Enhanced AddKnowledgePopup and KnowledgeSettingsPopup components to display supported providers in the UI.
15 lines
384 B
TypeScript
15 lines
384 B
TypeScript
import type { ExtractChunkData } from '@llm-tools/embedjs-interfaces'
|
|
import { KnowledgeBaseParams } from '@types'
|
|
|
|
import BaseReranker from './BaseReranker'
|
|
|
|
export default class DefaultReranker extends BaseReranker {
|
|
constructor(base: KnowledgeBaseParams) {
|
|
super(base)
|
|
}
|
|
|
|
async rerank(): Promise<ExtractChunkData[]> {
|
|
throw new Error('Method not implemented.')
|
|
}
|
|
}
|