feat: Add query mode 'bypass' to bypass knowledge retrieval and directly use LLM

This commit is contained in:
choizhang
2025-04-10 23:17:33 +08:00
committed by yangdx
parent 9487eca772
commit a12d60e4ea
9 changed files with 21 additions and 7 deletions

View File

@@ -22,7 +22,7 @@ class QueryRequest(BaseModel):
description="The query text",
)
mode: Literal["local", "global", "hybrid", "naive", "mix"] = Field(
mode: Literal["local", "global", "hybrid", "naive", "mix", "bypass"] = Field(
default="hybrid",
description="Query mode",
)