fix: Make groupIds option in search query dto (#154)
* fix: Make groupIds option in search query dto * chore: Format
This commit is contained in:
parent
09b16a2565
commit
bca838f61d
1 changed files with 3 additions and 1 deletions
|
|
@ -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')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue