@@ -535,6 +535,7 @@ def upload_file(
535535 container_tag : str | Omit = omit ,
536536 container_tags : str | Omit = omit ,
537537 custom_id : str | Omit = omit ,
538+ dreaming : Literal ["instant" , "dynamic" ] | Omit = omit ,
538539 entity_context : str | Omit = omit ,
539540 filepath : str | Omit = omit ,
540541 file_type : str | Omit = omit ,
@@ -565,6 +566,11 @@ def upload_file(
565566 custom_id: Optional custom ID of the document. Max 100 characters, alphanumeric with
566567 hyphens, underscores, and colons only.
567568
569+ dreaming: Processing mode. "dynamic" (default) groups related documents together so
570+ memories form from coherent, logical units rather than one isolated entry at a
571+ time. "instant" processes each document on its own right away, and bills one
572+ extra operation per document.
573+
568574 entity_context: Optional entity context for this container tag. Max 1500 characters. Used during
569575 document processing to guide memory extraction.
570576
@@ -608,6 +614,7 @@ def upload_file(
608614 "container_tag" : container_tag ,
609615 "container_tags" : container_tags ,
610616 "custom_id" : custom_id ,
617+ "dreaming" : dreaming ,
611618 "entity_context" : entity_context ,
612619 "filepath" : filepath ,
613620 "file_type" : file_type ,
@@ -1131,6 +1138,7 @@ async def upload_file(
11311138 container_tag : str | Omit = omit ,
11321139 container_tags : str | Omit = omit ,
11331140 custom_id : str | Omit = omit ,
1141+ dreaming : Literal ["instant" , "dynamic" ] | Omit = omit ,
11341142 entity_context : str | Omit = omit ,
11351143 filepath : str | Omit = omit ,
11361144 file_type : str | Omit = omit ,
@@ -1161,6 +1169,11 @@ async def upload_file(
11611169 custom_id: Optional custom ID of the document. Max 100 characters, alphanumeric with
11621170 hyphens, underscores, and colons only.
11631171
1172+ dreaming: Processing mode. "dynamic" (default) groups related documents together so
1173+ memories form from coherent, logical units rather than one isolated entry at a
1174+ time. "instant" processes each document on its own right away, and bills one
1175+ extra operation per document.
1176+
11641177 entity_context: Optional entity context for this container tag. Max 1500 characters. Used during
11651178 document processing to guide memory extraction.
11661179
@@ -1204,6 +1217,7 @@ async def upload_file(
12041217 "container_tag" : container_tag ,
12051218 "container_tags" : container_tags ,
12061219 "custom_id" : custom_id ,
1220+ "dreaming" : dreaming ,
12071221 "entity_context" : entity_context ,
12081222 "filepath" : filepath ,
12091223 "file_type" : file_type ,
0 commit comments