supermemory 3.44.0__tar.gz → 3.46.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.46.0/.release-please-manifest.json +3 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/CHANGELOG.md +16 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/PKG-INFO +1 -1
- {supermemory-3.44.0 → supermemory-3.46.0}/pyproject.toml +1 -1
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/_version.py +1 -1
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/resources/connections.py +10 -10
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/resources/documents.py +14 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/document_get_response.py +1 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/document_list_processing_response.py +1 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/document_list_response.py +1 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/document_upload_file_params.py +9 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/tests/api_resources/test_documents.py +2 -0
- supermemory-3.44.0/.release-please-manifest.json +0 -3
- {supermemory-3.44.0 → supermemory-3.46.0}/.gitignore +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/CONTRIBUTING.md +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/LICENSE +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/README.md +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/SECURITY.md +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/api.md +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/bin/check-release-environment +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/bin/publish-pypi +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/examples/.keep +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/noxfile.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/release-please-config.json +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/requirements-dev.lock +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/requirements.lock +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/__init__.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/_base_client.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/_client.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/_compat.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/_constants.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/_exceptions.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/_files.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/_models.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/_qs.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/_resource.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/_response.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/_streaming.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/_types.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/_utils/__init__.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/_utils/_compat.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/_utils/_datetime_parse.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/_utils/_json.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/_utils/_logs.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/_utils/_path.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/_utils/_proxy.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/_utils/_reflection.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/_utils/_resources_proxy.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/_utils/_streams.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/_utils/_sync.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/_utils/_transform.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/_utils/_typing.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/_utils/_utils.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/lib/.keep +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/py.typed +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/resources/__init__.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/resources/memories.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/resources/search.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/resources/settings.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/__init__.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/add_response.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/client_add_params.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/client_profile_params.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/connection_configure_params.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/connection_configure_response.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/connection_create_params.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/connection_create_response.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/connection_delete_by_id_params.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/connection_delete_by_id_response.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/connection_delete_by_provider_params.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/connection_delete_by_provider_response.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/connection_get_by_id_response.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/connection_get_by_tag_params.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/connection_get_by_tag_response.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/connection_import_params.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/connection_import_response.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/connection_list_documents_params.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/connection_list_documents_response.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/connection_list_params.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/connection_list_response.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/connection_resources_params.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/connection_resources_response.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/document_add_params.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/document_add_response.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/document_batch_add_params.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/document_batch_add_response.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/document_delete_bulk_params.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/document_delete_bulk_response.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/document_list_params.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/document_update_params.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/document_update_response.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/document_upload_file_response.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/memory_forget_params.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/memory_forget_response.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/memory_update_memory_params.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/memory_update_memory_response.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/profile_response.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/search_documents_params.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/search_documents_response.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/search_execute_params.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/search_execute_response.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/search_memories_params.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/search_memories_response.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/setting_get_response.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/setting_update_params.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/setting_update_response.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory_new/lib/.keep +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/tests/__init__.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/tests/api_resources/__init__.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/tests/api_resources/test_client.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/tests/api_resources/test_connections.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/tests/api_resources/test_memories.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/tests/api_resources/test_search.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/tests/api_resources/test_settings.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/tests/conftest.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/tests/sample_file.txt +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/tests/test_client.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/tests/test_extract_files.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/tests/test_files.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/tests/test_models.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/tests/test_qs.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/tests/test_required_args.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/tests/test_response.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/tests/test_streaming.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/tests/test_transform.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/tests/test_utils/test_datetime_parse.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/tests/test_utils/test_json.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/tests/test_utils/test_path.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/tests/test_utils/test_proxy.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/tests/test_utils/test_typing.py +0 -0
- {supermemory-3.44.0 → supermemory-3.46.0}/tests/utils.py +0 -0
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 3.46.0 (2026-06-08)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v3.45.0...v3.46.0](https://github.com/supermemoryai/python-sdk/compare/v3.45.0...v3.46.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([79ca8d5](https://github.com/supermemoryai/python-sdk/commit/79ca8d500f2e91fa8bb7d621fd06337715641400))
|
|
10
|
+
|
|
11
|
+
## 3.45.0 (2026-06-03)
|
|
12
|
+
|
|
13
|
+
Full Changelog: [v3.44.0...v3.45.0](https://github.com/supermemoryai/python-sdk/compare/v3.44.0...v3.45.0)
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* **api:** api update ([4736c1b](https://github.com/supermemoryai/python-sdk/commit/4736c1b8ae95d02b75e93f9209fa7746032eac1a))
|
|
18
|
+
|
|
3
19
|
## 3.44.0 (2026-06-01)
|
|
4
20
|
|
|
5
21
|
Full Changelog: [v3.43.0...v3.44.0](https://github.com/supermemoryai/python-sdk/compare/v3.43.0...v3.44.0)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: supermemory
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.46.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
|
|
@@ -66,7 +66,7 @@ class ConnectionsResource(SyncAPIResource):
|
|
|
66
66
|
|
|
67
67
|
def create(
|
|
68
68
|
self,
|
|
69
|
-
provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3"],
|
|
69
|
+
provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3", "granola"],
|
|
70
70
|
*,
|
|
71
71
|
container_tag: str | Omit = omit,
|
|
72
72
|
container_tags: SequenceNotStr[str] | Omit = omit,
|
|
@@ -225,7 +225,7 @@ class ConnectionsResource(SyncAPIResource):
|
|
|
225
225
|
|
|
226
226
|
def delete_by_provider(
|
|
227
227
|
self,
|
|
228
|
-
provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3"],
|
|
228
|
+
provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3", "granola"],
|
|
229
229
|
*,
|
|
230
230
|
container_tags: SequenceNotStr[str],
|
|
231
231
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
@@ -298,7 +298,7 @@ class ConnectionsResource(SyncAPIResource):
|
|
|
298
298
|
|
|
299
299
|
def get_by_tag(
|
|
300
300
|
self,
|
|
301
|
-
provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3"],
|
|
301
|
+
provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3", "granola"],
|
|
302
302
|
*,
|
|
303
303
|
container_tags: SequenceNotStr[str],
|
|
304
304
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
@@ -337,7 +337,7 @@ class ConnectionsResource(SyncAPIResource):
|
|
|
337
337
|
|
|
338
338
|
def import_(
|
|
339
339
|
self,
|
|
340
|
-
provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3"],
|
|
340
|
+
provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3", "granola"],
|
|
341
341
|
*,
|
|
342
342
|
container_tags: SequenceNotStr[str] | Omit = omit,
|
|
343
343
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
@@ -375,7 +375,7 @@ class ConnectionsResource(SyncAPIResource):
|
|
|
375
375
|
|
|
376
376
|
def list_documents(
|
|
377
377
|
self,
|
|
378
|
-
provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3"],
|
|
378
|
+
provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3", "granola"],
|
|
379
379
|
*,
|
|
380
380
|
container_tags: SequenceNotStr[str] | Omit = omit,
|
|
381
381
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
@@ -484,7 +484,7 @@ class AsyncConnectionsResource(AsyncAPIResource):
|
|
|
484
484
|
|
|
485
485
|
async def create(
|
|
486
486
|
self,
|
|
487
|
-
provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3"],
|
|
487
|
+
provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3", "granola"],
|
|
488
488
|
*,
|
|
489
489
|
container_tag: str | Omit = omit,
|
|
490
490
|
container_tags: SequenceNotStr[str] | Omit = omit,
|
|
@@ -647,7 +647,7 @@ class AsyncConnectionsResource(AsyncAPIResource):
|
|
|
647
647
|
|
|
648
648
|
async def delete_by_provider(
|
|
649
649
|
self,
|
|
650
|
-
provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3"],
|
|
650
|
+
provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3", "granola"],
|
|
651
651
|
*,
|
|
652
652
|
container_tags: SequenceNotStr[str],
|
|
653
653
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
@@ -720,7 +720,7 @@ class AsyncConnectionsResource(AsyncAPIResource):
|
|
|
720
720
|
|
|
721
721
|
async def get_by_tag(
|
|
722
722
|
self,
|
|
723
|
-
provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3"],
|
|
723
|
+
provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3", "granola"],
|
|
724
724
|
*,
|
|
725
725
|
container_tags: SequenceNotStr[str],
|
|
726
726
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
@@ -759,7 +759,7 @@ class AsyncConnectionsResource(AsyncAPIResource):
|
|
|
759
759
|
|
|
760
760
|
async def import_(
|
|
761
761
|
self,
|
|
762
|
-
provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3"],
|
|
762
|
+
provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3", "granola"],
|
|
763
763
|
*,
|
|
764
764
|
container_tags: SequenceNotStr[str] | Omit = omit,
|
|
765
765
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
@@ -799,7 +799,7 @@ class AsyncConnectionsResource(AsyncAPIResource):
|
|
|
799
799
|
|
|
800
800
|
async def list_documents(
|
|
801
801
|
self,
|
|
802
|
-
provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3"],
|
|
802
|
+
provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3", "granola"],
|
|
803
803
|
*,
|
|
804
804
|
container_tags: SequenceNotStr[str] | Omit = omit,
|
|
805
805
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
@@ -535,6 +535,7 @@ class DocumentsResource(SyncAPIResource):
|
|
|
535
535
|
container_tag: str | Omit = omit,
|
|
536
536
|
container_tags: str | Omit = omit,
|
|
537
537
|
custom_id: str | Omit = omit,
|
|
538
|
+
dreaming: Literal["instant", "dynamic"] | Omit = omit,
|
|
538
539
|
entity_context: str | Omit = omit,
|
|
539
540
|
filepath: str | Omit = omit,
|
|
540
541
|
file_type: str | Omit = omit,
|
|
@@ -565,6 +566,11 @@ class DocumentsResource(SyncAPIResource):
|
|
|
565
566
|
custom_id: Optional custom ID of the document. Max 100 characters, alphanumeric with
|
|
566
567
|
hyphens, underscores, and colons only.
|
|
567
568
|
|
|
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
|
+
|
|
568
574
|
entity_context: Optional entity context for this container tag. Max 1500 characters. Used during
|
|
569
575
|
document processing to guide memory extraction.
|
|
570
576
|
|
|
@@ -608,6 +614,7 @@ class DocumentsResource(SyncAPIResource):
|
|
|
608
614
|
"container_tag": container_tag,
|
|
609
615
|
"container_tags": container_tags,
|
|
610
616
|
"custom_id": custom_id,
|
|
617
|
+
"dreaming": dreaming,
|
|
611
618
|
"entity_context": entity_context,
|
|
612
619
|
"filepath": filepath,
|
|
613
620
|
"file_type": file_type,
|
|
@@ -1131,6 +1138,7 @@ class AsyncDocumentsResource(AsyncAPIResource):
|
|
|
1131
1138
|
container_tag: str | Omit = omit,
|
|
1132
1139
|
container_tags: str | Omit = omit,
|
|
1133
1140
|
custom_id: str | Omit = omit,
|
|
1141
|
+
dreaming: Literal["instant", "dynamic"] | Omit = omit,
|
|
1134
1142
|
entity_context: str | Omit = omit,
|
|
1135
1143
|
filepath: str | Omit = omit,
|
|
1136
1144
|
file_type: str | Omit = omit,
|
|
@@ -1161,6 +1169,11 @@ class AsyncDocumentsResource(AsyncAPIResource):
|
|
|
1161
1169
|
custom_id: Optional custom ID of the document. Max 100 characters, alphanumeric with
|
|
1162
1170
|
hyphens, underscores, and colons only.
|
|
1163
1171
|
|
|
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
|
+
|
|
1164
1177
|
entity_context: Optional entity context for this container tag. Max 1500 characters. Used during
|
|
1165
1178
|
document processing to guide memory extraction.
|
|
1166
1179
|
|
|
@@ -1204,6 +1217,7 @@ class AsyncDocumentsResource(AsyncAPIResource):
|
|
|
1204
1217
|
"container_tag": container_tag,
|
|
1205
1218
|
"container_tags": container_tags,
|
|
1206
1219
|
"custom_id": custom_id,
|
|
1220
|
+
"dreaming": dreaming,
|
|
1207
1221
|
"entity_context": entity_context,
|
|
1208
1222
|
"filepath": filepath,
|
|
1209
1223
|
"file_type": file_type,
|
{supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/document_upload_file_params.py
RENAMED
|
@@ -31,6 +31,15 @@ class DocumentUploadFileParams(TypedDict, total=False):
|
|
|
31
31
|
Max 100 characters, alphanumeric with hyphens, underscores, and colons only.
|
|
32
32
|
"""
|
|
33
33
|
|
|
34
|
+
dreaming: Literal["instant", "dynamic"]
|
|
35
|
+
"""Processing mode.
|
|
36
|
+
|
|
37
|
+
"dynamic" (default) groups related documents together so memories form from
|
|
38
|
+
coherent, logical units rather than one isolated entry at a time. "instant"
|
|
39
|
+
processes each document on its own right away, and bills one extra operation per
|
|
40
|
+
document.
|
|
41
|
+
"""
|
|
42
|
+
|
|
34
43
|
entity_context: Annotated[str, PropertyInfo(alias="entityContext")]
|
|
35
44
|
"""Optional entity context for this container tag.
|
|
36
45
|
|
|
@@ -457,6 +457,7 @@ class TestDocuments:
|
|
|
457
457
|
container_tag="user",
|
|
458
458
|
container_tags="containerTags",
|
|
459
459
|
custom_id="mem_abc123",
|
|
460
|
+
dreaming="instant",
|
|
460
461
|
entity_context="User's name is {XYZ}",
|
|
461
462
|
filepath="/documents/reports/file.pdf",
|
|
462
463
|
file_type="image",
|
|
@@ -931,6 +932,7 @@ class TestAsyncDocuments:
|
|
|
931
932
|
container_tag="user",
|
|
932
933
|
container_tags="containerTags",
|
|
933
934
|
custom_id="mem_abc123",
|
|
935
|
+
dreaming="instant",
|
|
934
936
|
entity_context="User's name is {XYZ}",
|
|
935
937
|
filepath="/documents/reports/file.pdf",
|
|
936
938
|
file_type="image",
|
|
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
|
|
File without changes
|
{supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/connection_configure_params.py
RENAMED
|
File without changes
|
{supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/connection_configure_response.py
RENAMED
|
File without changes
|
|
File without changes
|
{supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/connection_create_response.py
RENAMED
|
File without changes
|
{supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/connection_delete_by_id_params.py
RENAMED
|
File without changes
|
{supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/connection_delete_by_id_response.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/connection_get_by_id_response.py
RENAMED
|
File without changes
|
{supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/connection_get_by_tag_params.py
RENAMED
|
File without changes
|
{supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/connection_get_by_tag_response.py
RENAMED
|
File without changes
|
|
File without changes
|
{supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/connection_import_response.py
RENAMED
|
File without changes
|
{supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/connection_list_documents_params.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/connection_resources_params.py
RENAMED
|
File without changes
|
{supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/connection_resources_response.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/document_batch_add_params.py
RENAMED
|
File without changes
|
{supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/document_batch_add_response.py
RENAMED
|
File without changes
|
{supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/document_delete_bulk_params.py
RENAMED
|
File without changes
|
{supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/document_delete_bulk_response.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/document_upload_file_response.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/memory_update_memory_params.py
RENAMED
|
File without changes
|
{supermemory-3.44.0 → supermemory-3.46.0}/src/supermemory/types/memory_update_memory_response.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{supermemory-3.44.0 → supermemory-3.46.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
|
|
File without changes
|