fix:weight_type missing when create document in dataset (#16503)
This commit is contained in:
parent
1907d2a90a
commit
ae5d2ecf48
3 changed files with 5 additions and 0 deletions
|
|
@ -10,6 +10,7 @@ import type {
|
|||
DataSet,
|
||||
MetadataInDoc,
|
||||
RerankingModeEnum,
|
||||
WeightedScoreEnum,
|
||||
} from '@/models/datasets'
|
||||
|
||||
export type MultipleRetrievalConfig = {
|
||||
|
|
@ -21,6 +22,7 @@ export type MultipleRetrievalConfig = {
|
|||
}
|
||||
reranking_mode?: RerankingModeEnum
|
||||
weights?: {
|
||||
weight_type: WeightedScoreEnum
|
||||
vector_setting: {
|
||||
vector_weight: number
|
||||
embedding_provider_name: string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue