This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
OpenSource
/
dify
Watch
4
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
152
Wiki
Activity
Browse Source
mark weight type as optional (
#16701
)
tags/1.2.0
Jyong
7 months ago
parent
a113356695
commit
78f2ec8f32
No account linked to committer's email address
1 changed files
with
1 additions
and
1 deletions
Split View
Show Diff Stats
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
Write
Preview
Loading…
Cancel
Save