@@ -51,8 +51,8 @@ def update(
5151 self ,
5252 id : str ,
5353 * ,
54- content : str ,
5554 container_tags : List [str ] | NotGiven = NOT_GIVEN ,
55+ content : str | NotGiven = NOT_GIVEN ,
5656 custom_id : str | NotGiven = NOT_GIVEN ,
5757 metadata : Dict [str , Union [str , float , bool ]] | NotGiven = NOT_GIVEN ,
5858 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -66,6 +66,9 @@ def update(
6666 Update a memory with any content type (text, url, file, etc.) and metadata
6767
6868 Args:
69+ container_tags: Optional tags this memory should be containerized by. This can be an ID for your
70+ user, a project ID, or any other identifier you wish to use to group memories.
71+
6972 content: The content to extract and process into a memory. This can be a URL to a
7073 website, a PDF, an image, or a video.
7174
@@ -75,9 +78,6 @@ def update(
7578
7679 We automatically detect the content type from the url's response format.
7780
78- container_tags: Optional tags this memory should be containerized by. This can be an ID for your
79- user, a project ID, or any other identifier you wish to use to group memories.
80-
8181 custom_id: Optional custom ID of the memory. This could be an ID from your database that
8282 will uniquely identify this memory.
8383
@@ -101,8 +101,8 @@ def update(
101101 f"/v3/memories/{ id } " ,
102102 body = maybe_transform (
103103 {
104- "content" : content ,
105104 "container_tags" : container_tags ,
105+ "content" : content ,
106106 "custom_id" : custom_id ,
107107 "metadata" : metadata ,
108108 },
@@ -211,8 +211,8 @@ def delete(
211211 def add (
212212 self ,
213213 * ,
214- content : str ,
215214 container_tags : List [str ] | NotGiven = NOT_GIVEN ,
215+ content : str | NotGiven = NOT_GIVEN ,
216216 custom_id : str | NotGiven = NOT_GIVEN ,
217217 metadata : Dict [str , Union [str , float , bool ]] | NotGiven = NOT_GIVEN ,
218218 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -226,6 +226,9 @@ def add(
226226 Add a memory with any content type (text, url, file, etc.) and metadata
227227
228228 Args:
229+ container_tags: Optional tags this memory should be containerized by. This can be an ID for your
230+ user, a project ID, or any other identifier you wish to use to group memories.
231+
229232 content: The content to extract and process into a memory. This can be a URL to a
230233 website, a PDF, an image, or a video.
231234
@@ -235,9 +238,6 @@ def add(
235238
236239 We automatically detect the content type from the url's response format.
237240
238- container_tags: Optional tags this memory should be containerized by. This can be an ID for your
239- user, a project ID, or any other identifier you wish to use to group memories.
240-
241241 custom_id: Optional custom ID of the memory. This could be an ID from your database that
242242 will uniquely identify this memory.
243243
@@ -259,8 +259,8 @@ def add(
259259 "/v3/memories" ,
260260 body = maybe_transform (
261261 {
262- "content" : content ,
263262 "container_tags" : container_tags ,
263+ "content" : content ,
264264 "custom_id" : custom_id ,
265265 "metadata" : metadata ,
266266 },
@@ -330,8 +330,8 @@ async def update(
330330 self ,
331331 id : str ,
332332 * ,
333- content : str ,
334333 container_tags : List [str ] | NotGiven = NOT_GIVEN ,
334+ content : str | NotGiven = NOT_GIVEN ,
335335 custom_id : str | NotGiven = NOT_GIVEN ,
336336 metadata : Dict [str , Union [str , float , bool ]] | NotGiven = NOT_GIVEN ,
337337 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -345,6 +345,9 @@ async def update(
345345 Update a memory with any content type (text, url, file, etc.) and metadata
346346
347347 Args:
348+ container_tags: Optional tags this memory should be containerized by. This can be an ID for your
349+ user, a project ID, or any other identifier you wish to use to group memories.
350+
348351 content: The content to extract and process into a memory. This can be a URL to a
349352 website, a PDF, an image, or a video.
350353
@@ -354,9 +357,6 @@ async def update(
354357
355358 We automatically detect the content type from the url's response format.
356359
357- container_tags: Optional tags this memory should be containerized by. This can be an ID for your
358- user, a project ID, or any other identifier you wish to use to group memories.
359-
360360 custom_id: Optional custom ID of the memory. This could be an ID from your database that
361361 will uniquely identify this memory.
362362
@@ -380,8 +380,8 @@ async def update(
380380 f"/v3/memories/{ id } " ,
381381 body = await async_maybe_transform (
382382 {
383- "content" : content ,
384383 "container_tags" : container_tags ,
384+ "content" : content ,
385385 "custom_id" : custom_id ,
386386 "metadata" : metadata ,
387387 },
@@ -490,8 +490,8 @@ async def delete(
490490 async def add (
491491 self ,
492492 * ,
493- content : str ,
494493 container_tags : List [str ] | NotGiven = NOT_GIVEN ,
494+ content : str | NotGiven = NOT_GIVEN ,
495495 custom_id : str | NotGiven = NOT_GIVEN ,
496496 metadata : Dict [str , Union [str , float , bool ]] | NotGiven = NOT_GIVEN ,
497497 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -505,6 +505,9 @@ async def add(
505505 Add a memory with any content type (text, url, file, etc.) and metadata
506506
507507 Args:
508+ container_tags: Optional tags this memory should be containerized by. This can be an ID for your
509+ user, a project ID, or any other identifier you wish to use to group memories.
510+
508511 content: The content to extract and process into a memory. This can be a URL to a
509512 website, a PDF, an image, or a video.
510513
@@ -514,9 +517,6 @@ async def add(
514517
515518 We automatically detect the content type from the url's response format.
516519
517- container_tags: Optional tags this memory should be containerized by. This can be an ID for your
518- user, a project ID, or any other identifier you wish to use to group memories.
519-
520520 custom_id: Optional custom ID of the memory. This could be an ID from your database that
521521 will uniquely identify this memory.
522522
@@ -538,8 +538,8 @@ async def add(
538538 "/v3/memories" ,
539539 body = await async_maybe_transform (
540540 {
541- "content" : content ,
542541 "container_tags" : container_tags ,
542+ "content" : content ,
543543 "custom_id" : custom_id ,
544544 "metadata" : metadata ,
545545 },
0 commit comments