supermemory 3.42.0__tar.gz → 3.44.0__tar.gz
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.
- supermemory-3.44.0/.release-please-manifest.json +3 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/CHANGELOG.md +16 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/PKG-INFO +1 -1
- {supermemory-3.42.0 → supermemory-3.44.0}/pyproject.toml +1 -1
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/_client.py +14 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/_version.py +1 -1
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/resources/documents.py +28 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/client_add_params.py +9 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/document_add_params.py +9 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/document_batch_add_params.py +18 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/document_get_response.py +2 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/tests/api_resources/test_client.py +2 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/tests/api_resources/test_documents.py +6 -0
- supermemory-3.42.0/.release-please-manifest.json +0 -3
- {supermemory-3.42.0 → supermemory-3.44.0}/.gitignore +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/CONTRIBUTING.md +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/LICENSE +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/README.md +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/SECURITY.md +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/api.md +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/bin/check-release-environment +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/bin/publish-pypi +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/examples/.keep +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/noxfile.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/release-please-config.json +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/requirements-dev.lock +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/requirements.lock +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/__init__.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/_base_client.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/_compat.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/_constants.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/_exceptions.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/_files.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/_models.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/_qs.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/_resource.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/_response.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/_streaming.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/_types.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/_utils/__init__.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/_utils/_compat.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/_utils/_datetime_parse.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/_utils/_json.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/_utils/_logs.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/_utils/_path.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/_utils/_proxy.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/_utils/_reflection.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/_utils/_resources_proxy.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/_utils/_streams.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/_utils/_sync.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/_utils/_transform.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/_utils/_typing.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/_utils/_utils.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/lib/.keep +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/py.typed +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/resources/__init__.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/resources/connections.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/resources/memories.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/resources/search.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/resources/settings.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/__init__.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/add_response.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/client_profile_params.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/connection_configure_params.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/connection_configure_response.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/connection_create_params.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/connection_create_response.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/connection_delete_by_id_params.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/connection_delete_by_id_response.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/connection_delete_by_provider_params.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/connection_delete_by_provider_response.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/connection_get_by_id_response.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/connection_get_by_tag_params.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/connection_get_by_tag_response.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/connection_import_params.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/connection_import_response.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/connection_list_documents_params.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/connection_list_documents_response.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/connection_list_params.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/connection_list_response.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/connection_resources_params.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/connection_resources_response.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/document_add_response.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/document_batch_add_response.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/document_delete_bulk_params.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/document_delete_bulk_response.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/document_list_params.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/document_list_processing_response.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/document_list_response.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/document_update_params.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/document_update_response.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/document_upload_file_params.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/document_upload_file_response.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/memory_forget_params.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/memory_forget_response.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/memory_update_memory_params.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/memory_update_memory_response.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/profile_response.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/search_documents_params.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/search_documents_response.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/search_execute_params.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/search_execute_response.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/search_memories_params.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/search_memories_response.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/setting_get_response.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/setting_update_params.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/setting_update_response.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory_new/lib/.keep +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/tests/__init__.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/tests/api_resources/__init__.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/tests/api_resources/test_connections.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/tests/api_resources/test_memories.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/tests/api_resources/test_search.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/tests/api_resources/test_settings.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/tests/conftest.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/tests/sample_file.txt +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/tests/test_client.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/tests/test_extract_files.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/tests/test_files.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/tests/test_models.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/tests/test_qs.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/tests/test_required_args.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/tests/test_response.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/tests/test_streaming.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/tests/test_transform.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/tests/test_utils/test_datetime_parse.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/tests/test_utils/test_json.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/tests/test_utils/test_path.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/tests/test_utils/test_proxy.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/tests/test_utils/test_typing.py +0 -0
- {supermemory-3.42.0 → supermemory-3.44.0}/tests/utils.py +0 -0
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 3.44.0 (2026-06-01)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v3.43.0...v3.44.0](https://github.com/supermemoryai/python-sdk/compare/v3.43.0...v3.44.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([b20052c](https://github.com/supermemoryai/python-sdk/commit/b20052c50a67c42febd38d9e184dde642e2fd1ad))
|
|
10
|
+
|
|
11
|
+
## 3.43.0 (2026-05-22)
|
|
12
|
+
|
|
13
|
+
Full Changelog: [v3.42.0...v3.43.0](https://github.com/supermemoryai/python-sdk/compare/v3.42.0...v3.43.0)
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* **api:** api update ([5df6729](https://github.com/supermemoryai/python-sdk/commit/5df67294708036cf5e57f6bf053d028e7209bf2d))
|
|
18
|
+
|
|
3
19
|
## 3.42.0 (2026-05-12)
|
|
4
20
|
|
|
5
21
|
Full Changelog: [v3.41.0...v3.42.0](https://github.com/supermemoryai/python-sdk/compare/v3.41.0...v3.42.0)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: supermemory
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.44.0
|
|
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
|
|
@@ -254,6 +254,7 @@ class Supermemory(SyncAPIClient):
|
|
|
254
254
|
container_tag: str | Omit = omit,
|
|
255
255
|
container_tags: SequenceNotStr[str] | Omit = omit,
|
|
256
256
|
custom_id: str | Omit = omit,
|
|
257
|
+
dreaming: Literal["instant", "dynamic"] | Omit = omit,
|
|
257
258
|
entity_context: str | Omit = omit,
|
|
258
259
|
filepath: str | Omit = omit,
|
|
259
260
|
filter_by_metadata: Dict[str, Union[str, float, bool, SequenceNotStr[str]]] | Omit = omit,
|
|
@@ -279,6 +280,11 @@ class Supermemory(SyncAPIClient):
|
|
|
279
280
|
custom_id: Optional custom ID of the document. Max 100 characters, alphanumeric with
|
|
280
281
|
hyphens, underscores, and dots only.
|
|
281
282
|
|
|
283
|
+
dreaming: Processing mode. "dynamic" (default) groups related documents together so
|
|
284
|
+
memories form from coherent, logical units rather than one isolated entry at a
|
|
285
|
+
time. "instant" processes each document on its own right away, and bills one
|
|
286
|
+
extra operation per document.
|
|
287
|
+
|
|
282
288
|
entity_context: Optional entity context for this container tag. Max 1500 characters. Used during
|
|
283
289
|
document processing to guide memory extraction.
|
|
284
290
|
|
|
@@ -309,6 +315,7 @@ class Supermemory(SyncAPIClient):
|
|
|
309
315
|
"container_tag": container_tag,
|
|
310
316
|
"container_tags": container_tags,
|
|
311
317
|
"custom_id": custom_id,
|
|
318
|
+
"dreaming": dreaming,
|
|
312
319
|
"entity_context": entity_context,
|
|
313
320
|
"filepath": filepath,
|
|
314
321
|
"filter_by_metadata": filter_by_metadata,
|
|
@@ -594,6 +601,7 @@ class AsyncSupermemory(AsyncAPIClient):
|
|
|
594
601
|
container_tag: str | Omit = omit,
|
|
595
602
|
container_tags: SequenceNotStr[str] | Omit = omit,
|
|
596
603
|
custom_id: str | Omit = omit,
|
|
604
|
+
dreaming: Literal["instant", "dynamic"] | Omit = omit,
|
|
597
605
|
entity_context: str | Omit = omit,
|
|
598
606
|
filepath: str | Omit = omit,
|
|
599
607
|
filter_by_metadata: Dict[str, Union[str, float, bool, SequenceNotStr[str]]] | Omit = omit,
|
|
@@ -619,6 +627,11 @@ class AsyncSupermemory(AsyncAPIClient):
|
|
|
619
627
|
custom_id: Optional custom ID of the document. Max 100 characters, alphanumeric with
|
|
620
628
|
hyphens, underscores, and dots only.
|
|
621
629
|
|
|
630
|
+
dreaming: Processing mode. "dynamic" (default) groups related documents together so
|
|
631
|
+
memories form from coherent, logical units rather than one isolated entry at a
|
|
632
|
+
time. "instant" processes each document on its own right away, and bills one
|
|
633
|
+
extra operation per document.
|
|
634
|
+
|
|
622
635
|
entity_context: Optional entity context for this container tag. Max 1500 characters. Used during
|
|
623
636
|
document processing to guide memory extraction.
|
|
624
637
|
|
|
@@ -649,6 +662,7 @@ class AsyncSupermemory(AsyncAPIClient):
|
|
|
649
662
|
"container_tag": container_tag,
|
|
650
663
|
"container_tags": container_tags,
|
|
651
664
|
"custom_id": custom_id,
|
|
665
|
+
"dreaming": dreaming,
|
|
652
666
|
"entity_context": entity_context,
|
|
653
667
|
"filepath": filepath,
|
|
654
668
|
"filter_by_metadata": filter_by_metadata,
|
|
@@ -262,6 +262,7 @@ class DocumentsResource(SyncAPIResource):
|
|
|
262
262
|
container_tag: str | Omit = omit,
|
|
263
263
|
container_tags: SequenceNotStr[str] | Omit = omit,
|
|
264
264
|
custom_id: str | Omit = omit,
|
|
265
|
+
dreaming: Literal["instant", "dynamic"] | Omit = omit,
|
|
265
266
|
entity_context: str | Omit = omit,
|
|
266
267
|
filepath: str | Omit = omit,
|
|
267
268
|
filter_by_metadata: Dict[str, Union[str, float, bool, SequenceNotStr[str]]] | Omit = omit,
|
|
@@ -287,6 +288,11 @@ class DocumentsResource(SyncAPIResource):
|
|
|
287
288
|
custom_id: Optional custom ID of the document. Max 100 characters, alphanumeric with
|
|
288
289
|
hyphens, underscores, and dots only.
|
|
289
290
|
|
|
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
|
+
|
|
290
296
|
entity_context: Optional entity context for this container tag. Max 1500 characters. Used during
|
|
291
297
|
document processing to guide memory extraction.
|
|
292
298
|
|
|
@@ -317,6 +323,7 @@ class DocumentsResource(SyncAPIResource):
|
|
|
317
323
|
"container_tag": container_tag,
|
|
318
324
|
"container_tags": container_tags,
|
|
319
325
|
"custom_id": custom_id,
|
|
326
|
+
"dreaming": dreaming,
|
|
320
327
|
"entity_context": entity_context,
|
|
321
328
|
"filepath": filepath,
|
|
322
329
|
"filter_by_metadata": filter_by_metadata,
|
|
@@ -338,6 +345,7 @@ class DocumentsResource(SyncAPIResource):
|
|
|
338
345
|
container_tag: str | Omit = omit,
|
|
339
346
|
container_tags: SequenceNotStr[str] | Omit = omit,
|
|
340
347
|
content: None | Omit = omit,
|
|
348
|
+
dreaming: Literal["instant", "dynamic"] | Omit = omit,
|
|
341
349
|
entity_context: str | Omit = omit,
|
|
342
350
|
filepath: str | Omit = omit,
|
|
343
351
|
filter_by_metadata: Dict[str, Union[str, float, bool, SequenceNotStr[str]]] | Omit = omit,
|
|
@@ -364,6 +372,11 @@ class DocumentsResource(SyncAPIResource):
|
|
|
364
372
|
containerized by. This can be an ID for your user, a project ID, or any other
|
|
365
373
|
identifier you wish to use to group documents.
|
|
366
374
|
|
|
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
|
+
|
|
367
380
|
entity_context: Optional entity context for this container tag. Max 1500 characters. Used during
|
|
368
381
|
document processing to guide memory extraction.
|
|
369
382
|
|
|
@@ -400,6 +413,7 @@ class DocumentsResource(SyncAPIResource):
|
|
|
400
413
|
"container_tag": container_tag,
|
|
401
414
|
"container_tags": container_tags,
|
|
402
415
|
"content": content,
|
|
416
|
+
"dreaming": dreaming,
|
|
403
417
|
"entity_context": entity_context,
|
|
404
418
|
"filepath": filepath,
|
|
405
419
|
"filter_by_metadata": filter_by_metadata,
|
|
@@ -844,6 +858,7 @@ class AsyncDocumentsResource(AsyncAPIResource):
|
|
|
844
858
|
container_tag: str | Omit = omit,
|
|
845
859
|
container_tags: SequenceNotStr[str] | Omit = omit,
|
|
846
860
|
custom_id: str | Omit = omit,
|
|
861
|
+
dreaming: Literal["instant", "dynamic"] | Omit = omit,
|
|
847
862
|
entity_context: str | Omit = omit,
|
|
848
863
|
filepath: str | Omit = omit,
|
|
849
864
|
filter_by_metadata: Dict[str, Union[str, float, bool, SequenceNotStr[str]]] | Omit = omit,
|
|
@@ -869,6 +884,11 @@ class AsyncDocumentsResource(AsyncAPIResource):
|
|
|
869
884
|
custom_id: Optional custom ID of the document. Max 100 characters, alphanumeric with
|
|
870
885
|
hyphens, underscores, and dots only.
|
|
871
886
|
|
|
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
|
+
|
|
872
892
|
entity_context: Optional entity context for this container tag. Max 1500 characters. Used during
|
|
873
893
|
document processing to guide memory extraction.
|
|
874
894
|
|
|
@@ -899,6 +919,7 @@ class AsyncDocumentsResource(AsyncAPIResource):
|
|
|
899
919
|
"container_tag": container_tag,
|
|
900
920
|
"container_tags": container_tags,
|
|
901
921
|
"custom_id": custom_id,
|
|
922
|
+
"dreaming": dreaming,
|
|
902
923
|
"entity_context": entity_context,
|
|
903
924
|
"filepath": filepath,
|
|
904
925
|
"filter_by_metadata": filter_by_metadata,
|
|
@@ -920,6 +941,7 @@ class AsyncDocumentsResource(AsyncAPIResource):
|
|
|
920
941
|
container_tag: str | Omit = omit,
|
|
921
942
|
container_tags: SequenceNotStr[str] | Omit = omit,
|
|
922
943
|
content: None | Omit = omit,
|
|
944
|
+
dreaming: Literal["instant", "dynamic"] | Omit = omit,
|
|
923
945
|
entity_context: str | Omit = omit,
|
|
924
946
|
filepath: str | Omit = omit,
|
|
925
947
|
filter_by_metadata: Dict[str, Union[str, float, bool, SequenceNotStr[str]]] | Omit = omit,
|
|
@@ -946,6 +968,11 @@ class AsyncDocumentsResource(AsyncAPIResource):
|
|
|
946
968
|
containerized by. This can be an ID for your user, a project ID, or any other
|
|
947
969
|
identifier you wish to use to group documents.
|
|
948
970
|
|
|
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
|
+
|
|
949
976
|
entity_context: Optional entity context for this container tag. Max 1500 characters. Used during
|
|
950
977
|
document processing to guide memory extraction.
|
|
951
978
|
|
|
@@ -982,6 +1009,7 @@ class AsyncDocumentsResource(AsyncAPIResource):
|
|
|
982
1009
|
"container_tag": container_tag,
|
|
983
1010
|
"container_tags": container_tags,
|
|
984
1011
|
"content": content,
|
|
1012
|
+
"dreaming": dreaming,
|
|
985
1013
|
"entity_context": entity_context,
|
|
986
1014
|
"filepath": filepath,
|
|
987
1015
|
"filter_by_metadata": filter_by_metadata,
|
|
@@ -32,6 +32,15 @@ class ClientAddParams(TypedDict, total=False):
|
|
|
32
32
|
Max 100 characters, alphanumeric with hyphens, underscores, and dots only.
|
|
33
33
|
"""
|
|
34
34
|
|
|
35
|
+
dreaming: Literal["instant", "dynamic"]
|
|
36
|
+
"""Processing mode.
|
|
37
|
+
|
|
38
|
+
"dynamic" (default) groups related documents together so memories form from
|
|
39
|
+
coherent, logical units rather than one isolated entry at a time. "instant"
|
|
40
|
+
processes each document on its own right away, and bills one extra operation per
|
|
41
|
+
document.
|
|
42
|
+
"""
|
|
43
|
+
|
|
35
44
|
entity_context: Annotated[str, PropertyInfo(alias="entityContext")]
|
|
36
45
|
"""Optional entity context for this container tag.
|
|
37
46
|
|
|
@@ -32,6 +32,15 @@ class DocumentAddParams(TypedDict, total=False):
|
|
|
32
32
|
Max 100 characters, alphanumeric with hyphens, underscores, and dots only.
|
|
33
33
|
"""
|
|
34
34
|
|
|
35
|
+
dreaming: Literal["instant", "dynamic"]
|
|
36
|
+
"""Processing mode.
|
|
37
|
+
|
|
38
|
+
"dynamic" (default) groups related documents together so memories form from
|
|
39
|
+
coherent, logical units rather than one isolated entry at a time. "instant"
|
|
40
|
+
processes each document on its own right away, and bills one extra operation per
|
|
41
|
+
document.
|
|
42
|
+
"""
|
|
43
|
+
|
|
35
44
|
entity_context: Annotated[str, PropertyInfo(alias="entityContext")]
|
|
36
45
|
"""Optional entity context for this container tag.
|
|
37
46
|
|
{supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/document_batch_add_params.py
RENAMED
|
@@ -30,6 +30,15 @@ class DocumentBatchAddParams(TypedDict, total=False):
|
|
|
30
30
|
|
|
31
31
|
content: None
|
|
32
32
|
|
|
33
|
+
dreaming: Literal["instant", "dynamic"]
|
|
34
|
+
"""Processing mode.
|
|
35
|
+
|
|
36
|
+
"dynamic" (default) groups related documents together so memories form from
|
|
37
|
+
coherent, logical units rather than one isolated entry at a time. "instant"
|
|
38
|
+
processes each document on its own right away, and bills one extra operation per
|
|
39
|
+
document.
|
|
40
|
+
"""
|
|
41
|
+
|
|
33
42
|
entity_context: Annotated[str, PropertyInfo(alias="entityContext")]
|
|
34
43
|
"""Optional entity context for this container tag.
|
|
35
44
|
|
|
@@ -102,6 +111,15 @@ class DocumentsUnionMember0(TypedDict, total=False):
|
|
|
102
111
|
document.
|
|
103
112
|
"""
|
|
104
113
|
|
|
114
|
+
dreaming: Literal["instant", "dynamic"]
|
|
115
|
+
"""Processing mode.
|
|
116
|
+
|
|
117
|
+
"dynamic" (default) groups related documents together so memories form from
|
|
118
|
+
coherent, logical units rather than one isolated entry at a time. "instant"
|
|
119
|
+
processes each document on its own right away, and bills one extra operation per
|
|
120
|
+
document.
|
|
121
|
+
"""
|
|
122
|
+
|
|
105
123
|
entity_context: Annotated[str, PropertyInfo(alias="entityContext")]
|
|
106
124
|
"""Optional entity context for this container tag.
|
|
107
125
|
|
|
@@ -44,6 +44,8 @@ class DocumentGetResponse(BaseModel):
|
|
|
44
44
|
document.
|
|
45
45
|
"""
|
|
46
46
|
|
|
47
|
+
dreaming_status: Literal["dreaming", "done"] = FieldInfo(alias="dreamingStatus")
|
|
48
|
+
|
|
47
49
|
filepath: Optional[str] = None
|
|
48
50
|
|
|
49
51
|
metadata: Union[str, float, bool, Dict[str, object], List[object], None] = None
|
|
@@ -33,6 +33,7 @@ class TestClient:
|
|
|
33
33
|
container_tag="containerTag",
|
|
34
34
|
container_tags=["string"],
|
|
35
35
|
custom_id="customId",
|
|
36
|
+
dreaming="instant",
|
|
36
37
|
entity_context="entityContext",
|
|
37
38
|
filepath="filepath",
|
|
38
39
|
filter_by_metadata={"foo": "string"},
|
|
@@ -145,6 +146,7 @@ class TestAsyncClient:
|
|
|
145
146
|
container_tag="containerTag",
|
|
146
147
|
container_tags=["string"],
|
|
147
148
|
custom_id="customId",
|
|
149
|
+
dreaming="instant",
|
|
148
150
|
entity_context="entityContext",
|
|
149
151
|
filepath="filepath",
|
|
150
152
|
filter_by_metadata={"foo": "string"},
|
|
@@ -210,6 +210,7 @@ class TestDocuments:
|
|
|
210
210
|
container_tag="containerTag",
|
|
211
211
|
container_tags=["string"],
|
|
212
212
|
custom_id="customId",
|
|
213
|
+
dreaming="instant",
|
|
213
214
|
entity_context="entityContext",
|
|
214
215
|
filepath="filepath",
|
|
215
216
|
filter_by_metadata={"foo": "string"},
|
|
@@ -266,6 +267,7 @@ class TestDocuments:
|
|
|
266
267
|
"container_tag": "user_alex",
|
|
267
268
|
"container_tags": ["_:_k--W2K_1V"],
|
|
268
269
|
"custom_id": "doc-api-rate-limits",
|
|
270
|
+
"dreaming": "instant",
|
|
269
271
|
"entity_context": "User's name is {XYZ}",
|
|
270
272
|
"filepath": "/documents/reports/file.pdf",
|
|
271
273
|
"filter_by_metadata": {
|
|
@@ -282,6 +284,7 @@ class TestDocuments:
|
|
|
282
284
|
container_tag="user_alex",
|
|
283
285
|
container_tags=["_:_k--W2K_1V"],
|
|
284
286
|
content=None,
|
|
287
|
+
dreaming="instant",
|
|
285
288
|
entity_context="User's name is {XYZ}",
|
|
286
289
|
filepath="/documents/reports/file.pdf",
|
|
287
290
|
filter_by_metadata={
|
|
@@ -681,6 +684,7 @@ class TestAsyncDocuments:
|
|
|
681
684
|
container_tag="containerTag",
|
|
682
685
|
container_tags=["string"],
|
|
683
686
|
custom_id="customId",
|
|
687
|
+
dreaming="instant",
|
|
684
688
|
entity_context="entityContext",
|
|
685
689
|
filepath="filepath",
|
|
686
690
|
filter_by_metadata={"foo": "string"},
|
|
@@ -737,6 +741,7 @@ class TestAsyncDocuments:
|
|
|
737
741
|
"container_tag": "user_alex",
|
|
738
742
|
"container_tags": ["_:_k--W2K_1V"],
|
|
739
743
|
"custom_id": "doc-api-rate-limits",
|
|
744
|
+
"dreaming": "instant",
|
|
740
745
|
"entity_context": "User's name is {XYZ}",
|
|
741
746
|
"filepath": "/documents/reports/file.pdf",
|
|
742
747
|
"filter_by_metadata": {
|
|
@@ -753,6 +758,7 @@ class TestAsyncDocuments:
|
|
|
753
758
|
container_tag="user_alex",
|
|
754
759
|
container_tags=["_:_k--W2K_1V"],
|
|
755
760
|
content=None,
|
|
761
|
+
dreaming="instant",
|
|
756
762
|
entity_context="User's name is {XYZ}",
|
|
757
763
|
filepath="/documents/reports/file.pdf",
|
|
758
764
|
filter_by_metadata={
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/connection_configure_params.py
RENAMED
|
File without changes
|
{supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/connection_configure_response.py
RENAMED
|
File without changes
|
|
File without changes
|
{supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/connection_create_response.py
RENAMED
|
File without changes
|
{supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/connection_delete_by_id_params.py
RENAMED
|
File without changes
|
{supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/connection_delete_by_id_response.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/connection_get_by_id_response.py
RENAMED
|
File without changes
|
{supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/connection_get_by_tag_params.py
RENAMED
|
File without changes
|
{supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/connection_get_by_tag_response.py
RENAMED
|
File without changes
|
|
File without changes
|
{supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/connection_import_response.py
RENAMED
|
File without changes
|
{supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/connection_list_documents_params.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/connection_resources_params.py
RENAMED
|
File without changes
|
{supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/connection_resources_response.py
RENAMED
|
File without changes
|
|
File without changes
|
{supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/document_batch_add_response.py
RENAMED
|
File without changes
|
{supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/document_delete_bulk_params.py
RENAMED
|
File without changes
|
{supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/document_delete_bulk_response.py
RENAMED
|
File without changes
|
|
File without changes
|
{supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/document_list_processing_response.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/document_upload_file_params.py
RENAMED
|
File without changes
|
{supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/document_upload_file_response.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/memory_update_memory_params.py
RENAMED
|
File without changes
|
{supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/memory_update_memory_response.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{supermemory-3.42.0 → supermemory-3.44.0}/src/supermemory/types/search_documents_response.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|