fixing Enum part in backend and making it same as front end (#22296)

pull/22331/head
znn 9 months ago committed by GitHub
parent df886259bd
commit 1b26f9a4c6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -95,7 +95,7 @@ class WeightKeywordSetting(BaseModel):
class WeightModel(BaseModel):
weight_type: Optional[str] = None
weight_type: Optional[Literal["semantic_first", "keyword_first", "customized"]] = None
vector_setting: Optional[WeightVectorSetting] = None
keyword_setting: Optional[WeightKeywordSetting] = None

Loading…
Cancel
Save