supermemory 3.0.0a27__py3-none-any.whl → 3.0.0a28__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of supermemory might be problematic. Click here for more details.

supermemory/_version.py CHANGED
@@ -1,4 +1,4 @@
1
1
  # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  __title__ = "supermemory"
4
- __version__ = "3.0.0-alpha.27" # x-release-please-version
4
+ __version__ = "3.0.0-alpha.28" # x-release-please-version
@@ -52,6 +52,7 @@ class MemoriesResource(SyncAPIResource):
52
52
  self,
53
53
  id: str,
54
54
  *,
55
+ container_tag: str | NotGiven = NOT_GIVEN,
55
56
  container_tags: List[str] | NotGiven = NOT_GIVEN,
56
57
  content: str | NotGiven = NOT_GIVEN,
57
58
  custom_id: str | NotGiven = NOT_GIVEN,
@@ -67,9 +68,13 @@ class MemoriesResource(SyncAPIResource):
67
68
  Update a memory with any content type (text, url, file, etc.) and metadata
68
69
 
69
70
  Args:
70
- container_tags: Optional tags this memory should be containerized by. This can be an ID for your
71
+ container_tag: Optional tag this memory should be containerized by. This can be an ID for your
71
72
  user, a project ID, or any other identifier you wish to use to group memories.
72
73
 
74
+ container_tags: (DEPRECATED: Use containerTag instead) Optional tags this memory should be
75
+ containerized by. This can be an ID for your user, a project ID, or any other
76
+ identifier you wish to use to group memories.
77
+
73
78
  content: The content to extract and process into a memory. This can be a URL to a
74
79
  website, a PDF, an image, or a video.
75
80
 
@@ -102,6 +107,7 @@ class MemoriesResource(SyncAPIResource):
102
107
  f"/v3/memories/{id}",
103
108
  body=maybe_transform(
104
109
  {
110
+ "container_tag": container_tag,
105
111
  "container_tags": container_tags,
106
112
  "content": content,
107
113
  "custom_id": custom_id,
@@ -212,6 +218,7 @@ class MemoriesResource(SyncAPIResource):
212
218
  def add(
213
219
  self,
214
220
  *,
221
+ container_tag: str | NotGiven = NOT_GIVEN,
215
222
  container_tags: List[str] | NotGiven = NOT_GIVEN,
216
223
  content: str | NotGiven = NOT_GIVEN,
217
224
  custom_id: str | NotGiven = NOT_GIVEN,
@@ -227,9 +234,13 @@ class MemoriesResource(SyncAPIResource):
227
234
  Add a memory with any content type (text, url, file, etc.) and metadata
228
235
 
229
236
  Args:
230
- container_tags: Optional tags this memory should be containerized by. This can be an ID for your
237
+ container_tag: Optional tag this memory should be containerized by. This can be an ID for your
231
238
  user, a project ID, or any other identifier you wish to use to group memories.
232
239
 
240
+ container_tags: (DEPRECATED: Use containerTag instead) Optional tags this memory should be
241
+ containerized by. This can be an ID for your user, a project ID, or any other
242
+ identifier you wish to use to group memories.
243
+
233
244
  content: The content to extract and process into a memory. This can be a URL to a
234
245
  website, a PDF, an image, or a video.
235
246
 
@@ -260,6 +271,7 @@ class MemoriesResource(SyncAPIResource):
260
271
  "/v3/memories",
261
272
  body=maybe_transform(
262
273
  {
274
+ "container_tag": container_tag,
263
275
  "container_tags": container_tags,
264
276
  "content": content,
265
277
  "custom_id": custom_id,
@@ -376,6 +388,7 @@ class AsyncMemoriesResource(AsyncAPIResource):
376
388
  self,
377
389
  id: str,
378
390
  *,
391
+ container_tag: str | NotGiven = NOT_GIVEN,
379
392
  container_tags: List[str] | NotGiven = NOT_GIVEN,
380
393
  content: str | NotGiven = NOT_GIVEN,
381
394
  custom_id: str | NotGiven = NOT_GIVEN,
@@ -391,9 +404,13 @@ class AsyncMemoriesResource(AsyncAPIResource):
391
404
  Update a memory with any content type (text, url, file, etc.) and metadata
392
405
 
393
406
  Args:
394
- container_tags: Optional tags this memory should be containerized by. This can be an ID for your
407
+ container_tag: Optional tag this memory should be containerized by. This can be an ID for your
395
408
  user, a project ID, or any other identifier you wish to use to group memories.
396
409
 
410
+ container_tags: (DEPRECATED: Use containerTag instead) Optional tags this memory should be
411
+ containerized by. This can be an ID for your user, a project ID, or any other
412
+ identifier you wish to use to group memories.
413
+
397
414
  content: The content to extract and process into a memory. This can be a URL to a
398
415
  website, a PDF, an image, or a video.
399
416
 
@@ -426,6 +443,7 @@ class AsyncMemoriesResource(AsyncAPIResource):
426
443
  f"/v3/memories/{id}",
427
444
  body=await async_maybe_transform(
428
445
  {
446
+ "container_tag": container_tag,
429
447
  "container_tags": container_tags,
430
448
  "content": content,
431
449
  "custom_id": custom_id,
@@ -536,6 +554,7 @@ class AsyncMemoriesResource(AsyncAPIResource):
536
554
  async def add(
537
555
  self,
538
556
  *,
557
+ container_tag: str | NotGiven = NOT_GIVEN,
539
558
  container_tags: List[str] | NotGiven = NOT_GIVEN,
540
559
  content: str | NotGiven = NOT_GIVEN,
541
560
  custom_id: str | NotGiven = NOT_GIVEN,
@@ -551,9 +570,13 @@ class AsyncMemoriesResource(AsyncAPIResource):
551
570
  Add a memory with any content type (text, url, file, etc.) and metadata
552
571
 
553
572
  Args:
554
- container_tags: Optional tags this memory should be containerized by. This can be an ID for your
573
+ container_tag: Optional tag this memory should be containerized by. This can be an ID for your
555
574
  user, a project ID, or any other identifier you wish to use to group memories.
556
575
 
576
+ container_tags: (DEPRECATED: Use containerTag instead) Optional tags this memory should be
577
+ containerized by. This can be an ID for your user, a project ID, or any other
578
+ identifier you wish to use to group memories.
579
+
557
580
  content: The content to extract and process into a memory. This can be a URL to a
558
581
  website, a PDF, an image, or a video.
559
582
 
@@ -584,6 +607,7 @@ class AsyncMemoriesResource(AsyncAPIResource):
584
607
  "/v3/memories",
585
608
  body=await async_maybe_transform(
586
609
  {
610
+ "container_tag": container_tag,
587
611
  "container_tags": container_tags,
588
612
  "content": content,
589
613
  "custom_id": custom_id,
@@ -11,13 +11,20 @@ __all__ = ["MemoryAddParams"]
11
11
 
12
12
 
13
13
  class MemoryAddParams(TypedDict, total=False):
14
- container_tags: Annotated[List[str], PropertyInfo(alias="containerTags")]
15
- """Optional tags this memory should be containerized by.
14
+ container_tag: Annotated[str, PropertyInfo(alias="containerTag")]
15
+ """Optional tag this memory should be containerized by.
16
16
 
17
17
  This can be an ID for your user, a project ID, or any other identifier you wish
18
18
  to use to group memories.
19
19
  """
20
20
 
21
+ container_tags: Annotated[List[str], PropertyInfo(alias="containerTags")]
22
+ """
23
+ (DEPRECATED: Use containerTag instead) Optional tags this memory should be
24
+ containerized by. This can be an ID for your user, a project ID, or any other
25
+ identifier you wish to use to group memories.
26
+ """
27
+
21
28
  content: str
22
29
  """The content to extract and process into a memory.
23
30
 
@@ -11,13 +11,20 @@ __all__ = ["MemoryUpdateParams"]
11
11
 
12
12
 
13
13
  class MemoryUpdateParams(TypedDict, total=False):
14
- container_tags: Annotated[List[str], PropertyInfo(alias="containerTags")]
15
- """Optional tags this memory should be containerized by.
14
+ container_tag: Annotated[str, PropertyInfo(alias="containerTag")]
15
+ """Optional tag this memory should be containerized by.
16
16
 
17
17
  This can be an ID for your user, a project ID, or any other identifier you wish
18
18
  to use to group memories.
19
19
  """
20
20
 
21
+ container_tags: Annotated[List[str], PropertyInfo(alias="containerTags")]
22
+ """
23
+ (DEPRECATED: Use containerTag instead) Optional tags this memory should be
24
+ containerized by. This can be an ID for your user, a project ID, or any other
25
+ identifier you wish to use to group memories.
26
+ """
27
+
21
28
  content: str
22
29
  """The content to extract and process into a memory.
23
30
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: supermemory
3
- Version: 3.0.0a27
3
+ Version: 3.0.0a28
4
4
  Summary: The official Python library for the supermemory API
5
5
  Project-URL: Homepage, https://github.com/supermemoryai/python-sdk
6
6
  Project-URL: Repository, https://github.com/supermemoryai/python-sdk
@@ -11,7 +11,7 @@ supermemory/_resource.py,sha256=_wuaB1exMy-l-qqdJJdTv15hH5qBSN2Rj9CFwjXTZJU,1130
11
11
  supermemory/_response.py,sha256=Yh869-U8INkojKZHFsNw69z5Y2BrK2isgRJ8mifEURM,28848
12
12
  supermemory/_streaming.py,sha256=MGbosxSTqq0_JG52hvH2Z-Mr_Y95ws5UdFw77_iYukc,10120
13
13
  supermemory/_types.py,sha256=ohS8PFDHBFM-0ua6YsUlS55BPHft3xY6DhiIKaYrlN0,6202
14
- supermemory/_version.py,sha256=sFJWpy_yeVi_Hvg_eoRnRJwR_7U9vkyzR8HWuPNsV44,172
14
+ supermemory/_version.py,sha256=FIJe_U2fn7nBAFdg497bPC-mSA8zuOaDhHBAywn2FNM,172
15
15
  supermemory/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
16
  supermemory/_utils/__init__.py,sha256=PNZ_QJuzZEgyYXqkO1HVhGkj5IU9bglVUcw7H-Knjzw,2062
17
17
  supermemory/_utils/_logs.py,sha256=iceljYaEUb4Q4q1SgbSzwSrlJA64ISbaccczzZ8Z9Vg,789
@@ -26,7 +26,7 @@ supermemory/_utils/_utils.py,sha256=ts4CiiuNpFiGB6YMdkQRh2SZvYvsl7mAF-JWHCcLDf4,
26
26
  supermemory/lib/.keep,sha256=wuNrz-5SXo3jJaJOJgz4vFHM41YH_g20F5cRQo0vLes,224
27
27
  supermemory/resources/__init__.py,sha256=c1dal-ngMY7gwIf9PDPapYx6rHi670pREX5t3_d6298,2019
28
28
  supermemory/resources/connections.py,sha256=-DabGIc4_3qFvFRmBOdHGtu4NkaUOaYz3y50CjpqMKQ,33199
29
- supermemory/resources/memories.py,sha256=sG4YD7Vkz6wRUE0cyNu1W0c7DoxZPnfteizV6T5bEWU,30772
29
+ supermemory/resources/memories.py,sha256=IJ-78jD-3rlLOZCvJD3yirMRzZWkA15VBAx-Dx4OMD4,32192
30
30
  supermemory/resources/search.py,sha256=Lp1SchUinbM9AyvKghz4SCqFEohr5KZTegWMqF4po2I,28497
31
31
  supermemory/resources/settings.py,sha256=tLM7ya1CEYI_TO8DMP_KLxXHqsxOeq3R3Xs4CQnvPuU,11855
32
32
  supermemory/types/__init__.py,sha256=xCyl1ivjR-Viae5zOWa8jmzs24ueiSz3Fw_yIAUjFGk,2875
@@ -43,12 +43,12 @@ supermemory/types/connection_list_documents_params.py,sha256=pXMe7sDpqSwBVjPsY2q
43
43
  supermemory/types/connection_list_documents_response.py,sha256=0IdHufx0yErjfmoXYeY0KJ2QID9C-_58joyGEuu8gd4,682
44
44
  supermemory/types/connection_list_params.py,sha256=E0thiUUlyGHeLmb-iAbat1vl8BOqaqCOPDjtYolKkng,482
45
45
  supermemory/types/connection_list_response.py,sha256=D4mYePuR9NAGMDkbgDncN-KjulLXbCWDfRBvRDXSE58,795
46
- supermemory/types/memory_add_params.py,sha256=RmaUzYT-FNMfE3263U44lA-OlPS99P27qhiXPgKmQgI,1508
46
+ supermemory/types/memory_add_params.py,sha256=UFlCZ1BrXvmoNwYPUoZ_aTyAPD3vKxMwiL2_Cme1toY,1805
47
47
  supermemory/types/memory_add_response.py,sha256=5lim8sVXM7WzG8tUuKORHEe2lJc6yVWvyjylzNsLGjw,219
48
48
  supermemory/types/memory_get_response.py,sha256=qWe-mdEBA-d-zklNnsbULSlGax3KXBMHlyLTPpNglFg,3164
49
49
  supermemory/types/memory_list_params.py,sha256=nE4fnYdubdjbGy5-7BxmSms6owZZIbv8PegZxRRzwjA,914
50
50
  supermemory/types/memory_list_response.py,sha256=Lq2ChggQ1YCFQLi2M9u61hxRwGf2ib3p9_X8mywJF78,2620
51
- supermemory/types/memory_update_params.py,sha256=kyNU53my_W0wVpxgjPMY8IPDi3ccjhqYKkI1OiL6MKQ,1514
51
+ supermemory/types/memory_update_params.py,sha256=Ln-Z_oAF9XQN0aA_oxkRcHVJ7eBSMhZ1XvRR5kyUliM,1811
52
52
  supermemory/types/memory_update_response.py,sha256=fvfO9lGM8xv2EUOQfOSxqig6fx6-ykq7syW69er_2ng,225
53
53
  supermemory/types/memory_upload_file_params.py,sha256=jE3IxTOsFiuVQsi8b-ql5Q4ZT5HJG2X1ysL8mHCgdLQ,447
54
54
  supermemory/types/memory_upload_file_response.py,sha256=KTq6AExBMz7eMt8az1TgMSSNMTktKk0d0xItCwHRNl0,233
@@ -61,7 +61,7 @@ supermemory/types/search_memories_response.py,sha256=oXy9qe9Ri-WAUcpU3RzwuHgH-_D
61
61
  supermemory/types/setting_get_response.py,sha256=WvgAb9zGMsMnAhLiYk6h5NBptnq0D06TnuoI4EJg5Ds,1648
62
62
  supermemory/types/setting_update_params.py,sha256=KsreaS35v25aRKBY5vHna3hZ31U3b1Q5ruQLoM0gcyE,1710
63
63
  supermemory/types/setting_update_response.py,sha256=F__RcFFWiiSw11IV8PsWn6POEb1crDwO8QwHEQToVuQ,1806
64
- supermemory-3.0.0a27.dist-info/METADATA,sha256=nslcHNub7EZOR02lIG2-SdZeBYl7qlEwsoqGCRytTjk,14689
65
- supermemory-3.0.0a27.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
66
- supermemory-3.0.0a27.dist-info/licenses/LICENSE,sha256=M2NcpYEBpakciOULpWzo-xO2Lincf74gGwfaU00Sct0,11341
67
- supermemory-3.0.0a27.dist-info/RECORD,,
64
+ supermemory-3.0.0a28.dist-info/METADATA,sha256=F0EhhJz2__jm-0_LheM_qwX_1rHY5A2qBziYoFcUXAo,14689
65
+ supermemory-3.0.0a28.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
66
+ supermemory-3.0.0a28.dist-info/licenses/LICENSE,sha256=M2NcpYEBpakciOULpWzo-xO2Lincf74gGwfaU00Sct0,11341
67
+ supermemory-3.0.0a28.dist-info/RECORD,,