Skip to content

Commit

Permalink
fix: Make groupIds option in search query dto (#154)
Browse files Browse the repository at this point in the history
* fix: Make groupIds option in search query dto

* chore: Format
  • Loading branch information
paul-paliychuk authored Sep 24, 2024
1 parent 09b16a2 commit bca838f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion server/graph_service/dto/retrieve.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')

Expand Down

0 comments on commit bca838f

Please sign in to comment.