diff --git a/lightrag/api/routers/query_routes.py b/lightrag/api/routers/query_routes.py index 6fe86f79..6ac8943d 100644 --- a/lightrag/api/routers/query_routes.py +++ b/lightrag/api/routers/query_routes.py @@ -78,6 +78,11 @@ class QueryRequest(BaseModel): description="Number of complete conversation turns (user-assistant pairs) to consider in the response context.", ) + ids: list[str] | None = Field( + default=None, + description="List of ids to filter the results." + ) + user_prompt: Optional[str] = Field( default=None, description="User-provided prompt for the query. If provided, this will be used instead of the default value from prompt template.",