@@ -239,6 +239,7 @@ def add(
239239 container_tag : str | Omit = omit ,
240240 container_tags : SequenceNotStr [str ] | Omit = omit ,
241241 custom_id : str | Omit = omit ,
242+ entity_context : str | Omit = omit ,
242243 metadata : Dict [str , Union [str , float , bool , SequenceNotStr [str ]]] | Omit = omit ,
243244 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
244245 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -260,6 +261,9 @@ def add(
260261 custom_id: Optional custom ID of the document. Max 100 characters, alphanumeric with
261262 hyphens and underscores only.
262263
264+ entity_context: Optional entity context for this container tag. Max 1500 characters. Used during
265+ document processing to guide memory extraction.
266+
263267 metadata: Optional metadata for the document.
264268
265269 extra_headers: Send extra headers
@@ -278,6 +282,7 @@ def add(
278282 "container_tag" : container_tag ,
279283 "container_tags" : container_tags ,
280284 "custom_id" : custom_id ,
285+ "entity_context" : entity_context ,
281286 "metadata" : metadata ,
282287 },
283288 document_add_params .DocumentAddParams ,
@@ -721,6 +726,7 @@ async def add(
721726 container_tag : str | Omit = omit ,
722727 container_tags : SequenceNotStr [str ] | Omit = omit ,
723728 custom_id : str | Omit = omit ,
729+ entity_context : str | Omit = omit ,
724730 metadata : Dict [str , Union [str , float , bool , SequenceNotStr [str ]]] | Omit = omit ,
725731 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
726732 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -742,6 +748,9 @@ async def add(
742748 custom_id: Optional custom ID of the document. Max 100 characters, alphanumeric with
743749 hyphens and underscores only.
744750
751+ entity_context: Optional entity context for this container tag. Max 1500 characters. Used during
752+ document processing to guide memory extraction.
753+
745754 metadata: Optional metadata for the document.
746755
747756 extra_headers: Send extra headers
@@ -760,6 +769,7 @@ async def add(
760769 "container_tag" : container_tag ,
761770 "container_tags" : container_tags ,
762771 "custom_id" : custom_id ,
772+ "entity_context" : entity_context ,
763773 "metadata" : metadata ,
764774 },
765775 document_add_params .DocumentAddParams ,
0 commit comments