fixing Enum part in backend and making it same as front end (#22296)
This commit is contained in:
parent
df886259bd
commit
1b26f9a4c6
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue