@@ -251,7 +251,7 @@ def memories(
251251 limit : int | Omit = omit ,
252252 rerank : bool | Omit = omit ,
253253 rewrite_query : bool | Omit = omit ,
254- search_mode : Literal ["memories" , "hybrid" ] | Omit = omit ,
254+ search_mode : Literal ["memories" , "hybrid" , "documents" ] | Omit = omit ,
255255 threshold : float | Omit = omit ,
256256 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
257257 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -280,8 +280,8 @@ def memories(
280280 the latency by about 400ms
281281
282282 search_mode: Search mode. 'memories' searches only memory entries (default). 'hybrid'
283- searches memories first, then falls back to document chunks if no memories are
284- found .
283+ searches both memories and document chunks. 'documents' searches only document
284+ chunks .
285285
286286 threshold: Threshold / sensitivity for memories selection. 0 is least sensitive (returns
287287 most memories, more results), 1 is most sensitive (returns lesser memories,
@@ -544,7 +544,7 @@ async def memories(
544544 limit : int | Omit = omit ,
545545 rerank : bool | Omit = omit ,
546546 rewrite_query : bool | Omit = omit ,
547- search_mode : Literal ["memories" , "hybrid" ] | Omit = omit ,
547+ search_mode : Literal ["memories" , "hybrid" , "documents" ] | Omit = omit ,
548548 threshold : float | Omit = omit ,
549549 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
550550 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -573,8 +573,8 @@ async def memories(
573573 the latency by about 400ms
574574
575575 search_mode: Search mode. 'memories' searches only memory entries (default). 'hybrid'
576- searches memories first, then falls back to document chunks if no memories are
577- found .
576+ searches both memories and document chunks. 'documents' searches only document
577+ chunks .
578578
579579 threshold: Threshold / sensitivity for memories selection. 0 is least sensitive (returns
580580 most memories, more results), 1 is most sensitive (returns lesser memories,
0 commit comments