@@ -262,6 +262,7 @@ def add(
262262 container_tag : str | Omit = omit ,
263263 container_tags : SequenceNotStr [str ] | Omit = omit ,
264264 custom_id : str | Omit = omit ,
265+ dreaming : Literal ["instant" , "dynamic" ] | Omit = omit ,
265266 entity_context : str | Omit = omit ,
266267 filepath : str | Omit = omit ,
267268 filter_by_metadata : Dict [str , Union [str , float , bool , SequenceNotStr [str ]]] | Omit = omit ,
@@ -287,6 +288,11 @@ def add(
287288 custom_id: Optional custom ID of the document. Max 100 characters, alphanumeric with
288289 hyphens, underscores, and dots only.
289290
291+ dreaming: Processing mode. "dynamic" (default) groups related documents together so
292+ memories form from coherent, logical units rather than one isolated entry at a
293+ time. "instant" processes each document on its own right away, and bills one
294+ extra operation per document.
295+
290296 entity_context: Optional entity context for this container tag. Max 1500 characters. Used during
291297 document processing to guide memory extraction.
292298
@@ -317,6 +323,7 @@ def add(
317323 "container_tag" : container_tag ,
318324 "container_tags" : container_tags ,
319325 "custom_id" : custom_id ,
326+ "dreaming" : dreaming ,
320327 "entity_context" : entity_context ,
321328 "filepath" : filepath ,
322329 "filter_by_metadata" : filter_by_metadata ,
@@ -338,6 +345,7 @@ def batch_add(
338345 container_tag : str | Omit = omit ,
339346 container_tags : SequenceNotStr [str ] | Omit = omit ,
340347 content : None | Omit = omit ,
348+ dreaming : Literal ["instant" , "dynamic" ] | Omit = omit ,
341349 entity_context : str | Omit = omit ,
342350 filepath : str | Omit = omit ,
343351 filter_by_metadata : Dict [str , Union [str , float , bool , SequenceNotStr [str ]]] | Omit = omit ,
@@ -364,6 +372,11 @@ def batch_add(
364372 containerized by. This can be an ID for your user, a project ID, or any other
365373 identifier you wish to use to group documents.
366374
375+ dreaming: Processing mode. "dynamic" (default) groups related documents together so
376+ memories form from coherent, logical units rather than one isolated entry at a
377+ time. "instant" processes each document on its own right away, and bills one
378+ extra operation per document.
379+
367380 entity_context: Optional entity context for this container tag. Max 1500 characters. Used during
368381 document processing to guide memory extraction.
369382
@@ -400,6 +413,7 @@ def batch_add(
400413 "container_tag" : container_tag ,
401414 "container_tags" : container_tags ,
402415 "content" : content ,
416+ "dreaming" : dreaming ,
403417 "entity_context" : entity_context ,
404418 "filepath" : filepath ,
405419 "filter_by_metadata" : filter_by_metadata ,
@@ -844,6 +858,7 @@ async def add(
844858 container_tag : str | Omit = omit ,
845859 container_tags : SequenceNotStr [str ] | Omit = omit ,
846860 custom_id : str | Omit = omit ,
861+ dreaming : Literal ["instant" , "dynamic" ] | Omit = omit ,
847862 entity_context : str | Omit = omit ,
848863 filepath : str | Omit = omit ,
849864 filter_by_metadata : Dict [str , Union [str , float , bool , SequenceNotStr [str ]]] | Omit = omit ,
@@ -869,6 +884,11 @@ async def add(
869884 custom_id: Optional custom ID of the document. Max 100 characters, alphanumeric with
870885 hyphens, underscores, and dots only.
871886
887+ dreaming: Processing mode. "dynamic" (default) groups related documents together so
888+ memories form from coherent, logical units rather than one isolated entry at a
889+ time. "instant" processes each document on its own right away, and bills one
890+ extra operation per document.
891+
872892 entity_context: Optional entity context for this container tag. Max 1500 characters. Used during
873893 document processing to guide memory extraction.
874894
@@ -899,6 +919,7 @@ async def add(
899919 "container_tag" : container_tag ,
900920 "container_tags" : container_tags ,
901921 "custom_id" : custom_id ,
922+ "dreaming" : dreaming ,
902923 "entity_context" : entity_context ,
903924 "filepath" : filepath ,
904925 "filter_by_metadata" : filter_by_metadata ,
@@ -920,6 +941,7 @@ async def batch_add(
920941 container_tag : str | Omit = omit ,
921942 container_tags : SequenceNotStr [str ] | Omit = omit ,
922943 content : None | Omit = omit ,
944+ dreaming : Literal ["instant" , "dynamic" ] | Omit = omit ,
923945 entity_context : str | Omit = omit ,
924946 filepath : str | Omit = omit ,
925947 filter_by_metadata : Dict [str , Union [str , float , bool , SequenceNotStr [str ]]] | Omit = omit ,
@@ -946,6 +968,11 @@ async def batch_add(
946968 containerized by. This can be an ID for your user, a project ID, or any other
947969 identifier you wish to use to group documents.
948970
971+ dreaming: Processing mode. "dynamic" (default) groups related documents together so
972+ memories form from coherent, logical units rather than one isolated entry at a
973+ time. "instant" processes each document on its own right away, and bills one
974+ extra operation per document.
975+
949976 entity_context: Optional entity context for this container tag. Max 1500 characters. Used during
950977 document processing to guide memory extraction.
951978
@@ -982,6 +1009,7 @@ async def batch_add(
9821009 "container_tag" : container_tag ,
9831010 "container_tags" : container_tags ,
9841011 "content" : content ,
1012+ "dreaming" : dreaming ,
9851013 "entity_context" : entity_context ,
9861014 "filepath" : filepath ,
9871015 "filter_by_metadata" : filter_by_metadata ,
0 commit comments