Browse Source

mark weight type as optional (#16701)

tags/1.2.0
Jyong 7 months ago
parent
commit
78f2ec8f32
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      api/services/entities/knowledge_entities/knowledge_entities.py

+ 1
- 1
api/services/entities/knowledge_entities/knowledge_entities.py View File

@@ -95,7 +95,7 @@ class WeightKeywordSetting(BaseModel):


class WeightModel(BaseModel):
weight_type: str
weight_type: Optional[str] = None
vector_setting: Optional[WeightVectorSetting] = None
keyword_setting: Optional[WeightKeywordSetting] = None


Loading…
Cancel
Save