mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-08 12:30:14 +00:00
fix(ChatKnowledge): Fix knowledge command load bug (#1767)
Co-authored-by: huangjh131 <14678508+huangjh131@user.noreply.gitee.com> Co-authored-by: Fangyin Cheng <staneyffer@gmail.com>
This commit is contained in:
@@ -16,12 +16,12 @@ class KnowledgeSpaceRequest(BaseModel):
|
||||
"""name: knowledge space name"""
|
||||
|
||||
"""vector_type: vector type"""
|
||||
id: int = None
|
||||
id: Optional[int] = None
|
||||
name: str = None
|
||||
"""vector_type: vector type"""
|
||||
vector_type: str = None
|
||||
"""vector_type: vector type"""
|
||||
domain_type: str = "normal"
|
||||
domain_type: str = "Normal"
|
||||
"""desc: description"""
|
||||
desc: str = None
|
||||
"""owner: owner"""
|
||||
|
Reference in New Issue
Block a user