diff --git a/dbgpt/serve/rag/api/schemas.py b/dbgpt/serve/rag/api/schemas.py index e94819a5f..ed9f8122c 100644 --- a/dbgpt/serve/rag/api/schemas.py +++ b/dbgpt/serve/rag/api/schemas.py @@ -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"""