mark weight type as optional (#16701)
This commit is contained in:
parent
a113356695
commit
78f2ec8f32
1 changed files with 1 additions and 1 deletions
|
|
@ -95,7 +95,7 @@ class WeightKeywordSetting(BaseModel):
|
||||||
|
|
||||||
|
|
||||||
class WeightModel(BaseModel):
|
class WeightModel(BaseModel):
|
||||||
weight_type: str
|
weight_type: Optional[str] = None
|
||||||
vector_setting: Optional[WeightVectorSetting] = None
|
vector_setting: Optional[WeightVectorSetting] = None
|
||||||
keyword_setting: Optional[WeightKeywordSetting] = None
|
keyword_setting: Optional[WeightKeywordSetting] = None
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue