You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Search archival memory using semantic (embedding-based) search.
90
+
Search archival memory using semantic (embedding-based) search with optional temporal filtering.
85
91
86
92
Args:
87
93
query (str): String to search for using semantic similarity.
88
94
tags (Optional[list[str]]): Optional list of tags to filter search results. Only passages with these tags will be returned.
89
95
tag_match_mode (Literal["any", "all"]): How to match tags - "any" to match passages with any of the tags, "all" to match only passages with all tags. Defaults to "any".
90
96
top_k (Optional[int]): Maximum number of results to return. Uses system default if not specified.
97
+
start_datetime (Optional[str]): Filter results to passages created after this datetime. ISO 8601 format: "YYYY-MM-DD" or "YYYY-MM-DDTHH:MM". Examples: "2024-01-15", "2024-01-15T14:30".
98
+
end_datetime (Optional[str]): Filter results to passages created before this datetime. ISO 8601 format: "YYYY-MM-DD" or "YYYY-MM-DDTHH:MM". Examples: "2024-01-20", "2024-01-20T17:00".
Search archival memory using semantic (embedding-based) search.
133
+
Search archival memory using semantic (embedding-based) search with optional temporal filtering.
132
134
133
135
Args:
134
136
query (str): String to search for using semantic similarity.
135
137
tags (Optional[list[str]]): Optional list of tags to filter search results. Only passages with these tags will be returned.
136
138
tag_match_mode (Literal["any", "all"]): How to match tags - "any" to match passages with any of the tags, "all" to match only passages with all tags. Defaults to "any".
137
139
top_k (Optional[int]): Maximum number of results to return. Uses system default if not specified.
140
+
start_datetime (Optional[str]): Filter results to passages created after this datetime. ISO 8601 format.
141
+
end_datetime (Optional[str]): Filter results to passages created before this datetime. ISO 8601 format.
138
142
139
143
Returns:
140
144
str: Query result string containing matching passages with timestamps, content, and tags.
0 commit comments