Fix the issue where the knowledge base cannot be edited when using ve… (#1519)

This commit is contained in:
2024-05-14 19:31:14 +08:00 committed by GitHub
parent 5770c4deb4
commit 8b88f7e11c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -15,7 +15,7 @@ class SpaceServeRequest(BaseModel):
id: Optional[int] = Field(None, description="The space id")
name: str = Field(None, description="The space name")
"""vector_type: vector type"""
vector_type: str = Field("Chroma", description="The vector type")
vector_type: str = Field(None, description="The vector type")
"""desc: description"""
desc: Optional[str] = Field(None, description="The description")
"""owner: owner"""