diff --git a/server/graph_service/dto/retrieve.py b/server/graph_service/dto/retrieve.py index 1e7513ae..b75c48c9 100644 --- a/server/graph_service/dto/retrieve.py +++ b/server/graph_service/dto/retrieve.py @@ -6,7 +6,9 @@ class SearchQuery(BaseModel): - group_ids: list[str] = Field(description='The group ids for the memories to search') + group_ids: list[str] | None = Field( + None, description='The group ids for the memories to search' + ) query: str max_facts: int = Field(default=10, description='The maximum number of facts to retrieve')