fix: Make groupIds option in search query dto (#154)

* fix: Make groupIds option in search query dto

* chore: Format
This commit is contained in:
Pavlo Paliychuk 2024-09-24 19:05:12 -04:00 committed by GitHub
parent 09b16a2565
commit bca838f61d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6,7 +6,9 @@ from graph_service.dto.common import Message
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')