From 8b88f7e11c895ec439d0cae2c5408918f071e449 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BB=98?= Date: Tue, 14 May 2024 19:31:14 +0800 Subject: [PATCH] =?UTF-8?q?Fix=20the=20issue=20where=20the=20knowledge=20b?= =?UTF-8?q?ase=20cannot=20be=20edited=20when=20using=20ve=E2=80=A6=20(#151?= =?UTF-8?q?9)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dbgpt/serve/rag/api/schemas.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"""