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

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"""