diff --git a/lightrag/api/__init__.py b/lightrag/api/__init__.py
index ceb80096..bfc99727 100644
--- a/lightrag/api/__init__.py
+++ b/lightrag/api/__init__.py
@@ -1 +1 @@
-__api_version__ = "0168"
+__api_version__ = "0169"
diff --git a/lightrag/api/routers/query_routes.py b/lightrag/api/routers/query_routes.py
index 81603487..600e680e 100644
--- a/lightrag/api/routers/query_routes.py
+++ b/lightrag/api/routers/query_routes.py
@@ -67,16 +67,6 @@ class QueryRequest(BaseModel):
description="Maximum number of tokens allocated for entity descriptions in local retrieval.",
)
- hl_keywords: Optional[List[str]] = Field(
- default=None,
- description="List of high-level keywords to prioritize in retrieval.",
- )
-
- ll_keywords: Optional[List[str]] = Field(
- default=None,
- description="List of low-level keywords to refine retrieval focus.",
- )
-
conversation_history: Optional[List[Dict[str, Any]]] = Field(
default=None,
description="Stores past conversation history to maintain context. Format: [{'role': 'user/assistant', 'content': 'message'}].",
@@ -93,20 +83,6 @@ class QueryRequest(BaseModel):
def query_strip_after(cls, query: str) -> str:
return query.strip()
- @field_validator("hl_keywords", mode="after")
- @classmethod
- def hl_keywords_strip_after(cls, hl_keywords: List[str] | None) -> List[str] | None:
- if hl_keywords is None:
- return None
- return [keyword.strip() for keyword in hl_keywords]
-
- @field_validator("ll_keywords", mode="after")
- @classmethod
- def ll_keywords_strip_after(cls, ll_keywords: List[str] | None) -> List[str] | None:
- if ll_keywords is None:
- return None
- return [keyword.strip() for keyword in ll_keywords]
-
@field_validator("conversation_history", mode="after")
@classmethod
def conversation_history_role_check(
diff --git a/lightrag_webui/src/api/lightrag.ts b/lightrag_webui/src/api/lightrag.ts
index da786529..5adeb8be 100644
--- a/lightrag_webui/src/api/lightrag.ts
+++ b/lightrag_webui/src/api/lightrag.ts
@@ -94,10 +94,6 @@ export type QueryRequest = {
max_token_for_global_context?: number
/** Maximum number of tokens allocated for entity descriptions in local retrieval. */
max_token_for_local_context?: number
- /** List of high-level keywords to prioritize in retrieval. */
- hl_keywords?: string[]
- /** List of low-level keywords to refine retrieval focus. */
- ll_keywords?: string[]
/**
* Stores past conversation history to maintain context.
* Format: [{"role": "user/assistant", "content": "message"}].
diff --git a/lightrag_webui/src/components/retrieval/QuerySettings.tsx b/lightrag_webui/src/components/retrieval/QuerySettings.tsx
index 723c1359..761d8e45 100644
--- a/lightrag_webui/src/components/retrieval/QuerySettings.tsx
+++ b/lightrag_webui/src/components/retrieval/QuerySettings.tsx
@@ -1,7 +1,6 @@
import { useCallback } from 'react'
import { QueryMode, QueryRequest } from '@/api/lightrag'
// Removed unused import for Text component
-import Input from '@/components/ui/Input'
import Checkbox from '@/components/ui/Checkbox'
import NumberInput from '@/components/ui/NumberInput'
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/components/ui/Card'
@@ -242,71 +241,6 @@ export default function QuerySettings() {
>
- {/* Keywords */}
- <>
- <>
- {t('retrievePanel.querySettings.hlKeywordsTooltip')}
{t('retrievePanel.querySettings.llKeywordsTooltip')}
-