chore: n to 1 retrieval (#6839)

This commit is contained in:
zxhlyh 2024-08-01 13:45:18 +08:00 • committed by GitHub
commit 9ae88ede12
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 59 additions and 96 deletions

View file

@ -1,7 +1,6 @@
import type { AgentStrategy, ModelModeType, RETRIEVE_TYPE, ToolItem, TtsAutoPlay } from '@/types/app'
import type {
RerankingModeEnum,
WeightedScoreEnum,
} from '@/models/datasets'
export type Inputs = Record<string, string | number | object>
@ -157,7 +156,6 @@ export type DatasetConfigs = {
}
reranking_mode?: RerankingModeEnum
weights?: {
weight_type: WeightedScoreEnum
vector_setting: {
vector_weight: number
embedding_provider_name: string