瀏覽代碼

mark weight type as optional (#16701)

tags/1.2.0
Jyong 7 月之前
父節點
當前提交
78f2ec8f32
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      api/services/entities/knowledge_entities/knowledge_entities.py

+ 1
- 1
api/services/entities/knowledge_entities/knowledge_entities.py 查看文件

@@ -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…
取消
儲存