hindsight-client 0.1.14__tar.gz → 0.1.16__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.
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/.openapi-generator/FILES +30 -3
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/PKG-INFO +1 -1
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client/hindsight_client.py +11 -10
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/__init__.py +21 -3
- hindsight_client-0.1.16/hindsight_client_api/api/__init__.py +10 -0
- hindsight_client-0.1.16/hindsight_client_api/api/banks_api.py +2045 -0
- hindsight_client-0.1.16/hindsight_client_api/api/documents_api.py +1234 -0
- hindsight_client-0.1.16/hindsight_client_api/api/entities_api.py +921 -0
- hindsight_client-0.1.16/hindsight_client_api/api/memory_api.py +1901 -0
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/api/monitoring_api.py +1 -1
- hindsight_client-0.1.16/hindsight_client_api/api/operations_api.py +610 -0
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/api_client.py +1 -1
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/configuration.py +2 -2
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/docs/BankListItem.md +2 -2
- hindsight_client-0.1.16/hindsight_client_api/docs/BankStatsResponse.md +39 -0
- hindsight_client-0.1.16/hindsight_client_api/docs/BanksApi.md +517 -0
- hindsight_client-0.1.16/hindsight_client_api/docs/CancelOperationResponse.md +32 -0
- hindsight_client-0.1.16/hindsight_client_api/docs/DeleteDocumentResponse.md +33 -0
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/docs/DeleteResponse.md +2 -0
- hindsight_client-0.1.16/hindsight_client_api/docs/DocumentsApi.md +313 -0
- hindsight_client-0.1.16/hindsight_client_api/docs/EntitiesApi.md +230 -0
- hindsight_client-0.1.16/hindsight_client_api/docs/MemoryApi.md +499 -0
- hindsight_client-0.1.16/hindsight_client_api/docs/OperationResponse.md +36 -0
- hindsight_client-0.1.16/hindsight_client_api/docs/OperationsApi.md +154 -0
- hindsight_client-0.1.16/hindsight_client_api/docs/OperationsListResponse.md +31 -0
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/exceptions.py +1 -1
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/models/__init__.py +6 -1
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/models/add_background_request.py +1 -1
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/models/background_response.py +1 -1
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/models/bank_list_item.py +13 -3
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/models/bank_list_response.py +1 -1
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/models/bank_profile_response.py +1 -1
- hindsight_client-0.1.16/hindsight_client_api/models/bank_stats_response.py +105 -0
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/models/budget.py +1 -1
- hindsight_client-0.1.14/hindsight_client_api/models/delete_response.py → hindsight_client-0.1.16/hindsight_client_api/models/cancel_operation_response.py +12 -8
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/models/chunk_data.py +1 -1
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/models/chunk_include_options.py +1 -1
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/models/chunk_response.py +1 -1
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/models/create_bank_request.py +1 -1
- hindsight_client-0.1.16/hindsight_client_api/models/delete_document_response.py +93 -0
- hindsight_client-0.1.16/hindsight_client_api/models/delete_response.py +101 -0
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/models/disposition_traits.py +1 -1
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/models/document_response.py +1 -1
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/models/entity_detail_response.py +1 -1
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/models/entity_include_options.py +1 -1
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/models/entity_list_item.py +1 -1
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/models/entity_list_response.py +1 -1
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/models/entity_observation_response.py +1 -1
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/models/entity_state_response.py +1 -1
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/models/graph_data_response.py +1 -1
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/models/http_validation_error.py +1 -1
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/models/include_options.py +1 -1
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/models/list_documents_response.py +1 -1
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/models/list_memory_units_response.py +1 -1
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/models/memory_item.py +1 -1
- hindsight_client-0.1.16/hindsight_client_api/models/operation_response.py +109 -0
- hindsight_client-0.1.16/hindsight_client_api/models/operations_list_response.py +97 -0
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/models/recall_request.py +1 -1
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/models/recall_response.py +1 -1
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/models/recall_result.py +1 -1
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/models/reflect_fact.py +1 -1
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/models/reflect_include_options.py +1 -1
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/models/reflect_request.py +1 -1
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/models/reflect_response.py +1 -1
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/models/retain_request.py +1 -1
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/models/retain_response.py +1 -1
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/models/update_disposition_request.py +1 -1
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/models/validation_error.py +1 -1
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/models/validation_error_loc_inner.py +1 -1
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/rest.py +1 -1
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/openapi-generator-config.yaml +4 -0
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/pyproject.toml +1 -1
- hindsight_client-0.1.16/tests/test_main_operations.py +503 -0
- hindsight_client-0.1.14/hindsight_client_api/api/__init__.py +0 -6
- hindsight_client-0.1.14/hindsight_client_api/api/default_api.py +0 -5976
- hindsight_client-0.1.14/hindsight_client_api/docs/DefaultApi.md +0 -1568
- hindsight_client-0.1.14/hindsight_client_api/test/__init__.py +0 -0
- hindsight_client-0.1.14/hindsight_client_api/test/test_add_background_request.py +0 -53
- hindsight_client-0.1.14/hindsight_client_api/test/test_background_response.py +0 -53
- hindsight_client-0.1.14/hindsight_client_api/test/test_bank_list_item.py +0 -60
- hindsight_client-0.1.14/hindsight_client_api/test/test_bank_list_response.py +0 -68
- hindsight_client-0.1.14/hindsight_client_api/test/test_bank_profile_response.py +0 -58
- hindsight_client-0.1.14/hindsight_client_api/test/test_budget.py +0 -33
- hindsight_client-0.1.14/hindsight_client_api/test/test_chunk_data.py +0 -57
- hindsight_client-0.1.14/hindsight_client_api/test/test_chunk_include_options.py +0 -51
- hindsight_client-0.1.14/hindsight_client_api/test/test_chunk_response.py +0 -62
- hindsight_client-0.1.14/hindsight_client_api/test/test_create_bank_request.py +0 -53
- hindsight_client-0.1.14/hindsight_client_api/test/test_default_api.py +0 -178
- hindsight_client-0.1.14/hindsight_client_api/test/test_delete_response.py +0 -52
- hindsight_client-0.1.14/hindsight_client_api/test/test_disposition_traits.py +0 -56
- hindsight_client-0.1.14/hindsight_client_api/test/test_document_response.py +0 -64
- hindsight_client-0.1.14/hindsight_client_api/test/test_entity_detail_response.py +0 -71
- hindsight_client-0.1.14/hindsight_client_api/test/test_entity_include_options.py +0 -51
- hindsight_client-0.1.14/hindsight_client_api/test/test_entity_list_item.py +0 -61
- hindsight_client-0.1.14/hindsight_client_api/test/test_entity_list_response.py +0 -56
- hindsight_client-0.1.14/hindsight_client_api/test/test_entity_observation_response.py +0 -53
- hindsight_client-0.1.14/hindsight_client_api/test/test_entity_state_response.py +0 -64
- hindsight_client-0.1.14/hindsight_client_api/test/test_graph_data_response.py +0 -82
- hindsight_client-0.1.14/hindsight_client_api/test/test_http_validation_error.py +0 -58
- hindsight_client-0.1.14/hindsight_client_api/test/test_include_options.py +0 -54
- hindsight_client-0.1.14/hindsight_client_api/test/test_list_documents_response.py +0 -66
- hindsight_client-0.1.14/hindsight_client_api/test/test_list_memory_units_response.py +0 -66
- hindsight_client-0.1.14/hindsight_client_api/test/test_memory_item.py +0 -58
- hindsight_client-0.1.14/hindsight_client_api/test/test_monitoring_api.py +0 -45
- hindsight_client-0.1.14/hindsight_client_api/test/test_recall_request.py +0 -64
- hindsight_client-0.1.14/hindsight_client_api/test/test_recall_response.py +0 -76
- hindsight_client-0.1.14/hindsight_client_api/test/test_recall_result.py +0 -67
- hindsight_client-0.1.14/hindsight_client_api/test/test_reflect_fact.py +0 -57
- hindsight_client-0.1.14/hindsight_client_api/test/test_reflect_include_options.py +0 -51
- hindsight_client-0.1.14/hindsight_client_api/test/test_reflect_request.py +0 -56
- hindsight_client-0.1.14/hindsight_client_api/test/test_reflect_response.py +0 -55
- hindsight_client-0.1.14/hindsight_client_api/test/test_retain_request.py +0 -57
- hindsight_client-0.1.14/hindsight_client_api/test/test_retain_response.py +0 -58
- hindsight_client-0.1.14/hindsight_client_api/test/test_update_disposition_request.py +0 -52
- hindsight_client-0.1.14/hindsight_client_api/test/test_validation_error.py +0 -60
- hindsight_client-0.1.14/hindsight_client_api/test/test_validation_error_loc_inner.py +0 -50
- hindsight_client-0.1.14/tests/test_main_operations.py +0 -250
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/.gitignore +0 -0
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/.openapi-generator/VERSION +0 -0
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/.openapi-generator-ignore +0 -0
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/README.md +0 -0
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client/__init__.py +0 -0
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/api_response.py +0 -0
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/docs/AddBackgroundRequest.md +0 -0
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/docs/BackgroundResponse.md +0 -0
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/docs/BankListResponse.md +0 -0
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/docs/BankProfileResponse.md +0 -0
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/docs/Budget.md +0 -0
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/docs/ChunkData.md +0 -0
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/docs/ChunkIncludeOptions.md +0 -0
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/docs/ChunkResponse.md +0 -0
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/docs/CreateBankRequest.md +0 -0
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/docs/DispositionTraits.md +0 -0
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/docs/DocumentResponse.md +0 -0
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/docs/EntityDetailResponse.md +0 -0
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/docs/EntityIncludeOptions.md +0 -0
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/docs/EntityListItem.md +0 -0
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/docs/EntityListResponse.md +0 -0
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/docs/EntityObservationResponse.md +0 -0
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/docs/EntityStateResponse.md +0 -0
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/docs/GraphDataResponse.md +0 -0
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/docs/HTTPValidationError.md +0 -0
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/docs/IncludeOptions.md +0 -0
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/docs/ListDocumentsResponse.md +0 -0
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/docs/ListMemoryUnitsResponse.md +0 -0
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/docs/MemoryItem.md +0 -0
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/docs/MonitoringApi.md +0 -0
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/docs/RecallRequest.md +0 -0
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/docs/RecallResponse.md +0 -0
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/docs/RecallResult.md +0 -0
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/docs/ReflectFact.md +0 -0
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/docs/ReflectIncludeOptions.md +0 -0
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/docs/ReflectRequest.md +0 -0
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/docs/ReflectResponse.md +0 -0
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/docs/RetainRequest.md +0 -0
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/docs/RetainResponse.md +0 -0
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/docs/UpdateDispositionRequest.md +0 -0
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/docs/ValidationError.md +0 -0
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/hindsight_client_api/docs/ValidationErrorLocInner.md +0 -0
- {hindsight_client-0.1.14 → hindsight_client-0.1.16}/tests/__init__.py +0 -0
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
hindsight_client_api/__init__.py
|
|
2
2
|
hindsight_client_api/api/__init__.py
|
|
3
|
-
hindsight_client_api/api/
|
|
3
|
+
hindsight_client_api/api/banks_api.py
|
|
4
|
+
hindsight_client_api/api/documents_api.py
|
|
5
|
+
hindsight_client_api/api/entities_api.py
|
|
6
|
+
hindsight_client_api/api/memory_api.py
|
|
4
7
|
hindsight_client_api/api/monitoring_api.py
|
|
8
|
+
hindsight_client_api/api/operations_api.py
|
|
5
9
|
hindsight_client_api/api_client.py
|
|
6
10
|
hindsight_client_api/api_response.py
|
|
7
11
|
hindsight_client_api/configuration.py
|
|
@@ -10,15 +14,20 @@ hindsight_client_api/docs/BackgroundResponse.md
|
|
|
10
14
|
hindsight_client_api/docs/BankListItem.md
|
|
11
15
|
hindsight_client_api/docs/BankListResponse.md
|
|
12
16
|
hindsight_client_api/docs/BankProfileResponse.md
|
|
17
|
+
hindsight_client_api/docs/BankStatsResponse.md
|
|
18
|
+
hindsight_client_api/docs/BanksApi.md
|
|
13
19
|
hindsight_client_api/docs/Budget.md
|
|
20
|
+
hindsight_client_api/docs/CancelOperationResponse.md
|
|
14
21
|
hindsight_client_api/docs/ChunkData.md
|
|
15
22
|
hindsight_client_api/docs/ChunkIncludeOptions.md
|
|
16
23
|
hindsight_client_api/docs/ChunkResponse.md
|
|
17
24
|
hindsight_client_api/docs/CreateBankRequest.md
|
|
18
|
-
hindsight_client_api/docs/
|
|
25
|
+
hindsight_client_api/docs/DeleteDocumentResponse.md
|
|
19
26
|
hindsight_client_api/docs/DeleteResponse.md
|
|
20
27
|
hindsight_client_api/docs/DispositionTraits.md
|
|
21
28
|
hindsight_client_api/docs/DocumentResponse.md
|
|
29
|
+
hindsight_client_api/docs/DocumentsApi.md
|
|
30
|
+
hindsight_client_api/docs/EntitiesApi.md
|
|
22
31
|
hindsight_client_api/docs/EntityDetailResponse.md
|
|
23
32
|
hindsight_client_api/docs/EntityIncludeOptions.md
|
|
24
33
|
hindsight_client_api/docs/EntityListItem.md
|
|
@@ -30,8 +39,12 @@ hindsight_client_api/docs/HTTPValidationError.md
|
|
|
30
39
|
hindsight_client_api/docs/IncludeOptions.md
|
|
31
40
|
hindsight_client_api/docs/ListDocumentsResponse.md
|
|
32
41
|
hindsight_client_api/docs/ListMemoryUnitsResponse.md
|
|
42
|
+
hindsight_client_api/docs/MemoryApi.md
|
|
33
43
|
hindsight_client_api/docs/MemoryItem.md
|
|
34
44
|
hindsight_client_api/docs/MonitoringApi.md
|
|
45
|
+
hindsight_client_api/docs/OperationResponse.md
|
|
46
|
+
hindsight_client_api/docs/OperationsApi.md
|
|
47
|
+
hindsight_client_api/docs/OperationsListResponse.md
|
|
35
48
|
hindsight_client_api/docs/RecallRequest.md
|
|
36
49
|
hindsight_client_api/docs/RecallResponse.md
|
|
37
50
|
hindsight_client_api/docs/RecallResult.md
|
|
@@ -51,11 +64,14 @@ hindsight_client_api/models/background_response.py
|
|
|
51
64
|
hindsight_client_api/models/bank_list_item.py
|
|
52
65
|
hindsight_client_api/models/bank_list_response.py
|
|
53
66
|
hindsight_client_api/models/bank_profile_response.py
|
|
67
|
+
hindsight_client_api/models/bank_stats_response.py
|
|
54
68
|
hindsight_client_api/models/budget.py
|
|
69
|
+
hindsight_client_api/models/cancel_operation_response.py
|
|
55
70
|
hindsight_client_api/models/chunk_data.py
|
|
56
71
|
hindsight_client_api/models/chunk_include_options.py
|
|
57
72
|
hindsight_client_api/models/chunk_response.py
|
|
58
73
|
hindsight_client_api/models/create_bank_request.py
|
|
74
|
+
hindsight_client_api/models/delete_document_response.py
|
|
59
75
|
hindsight_client_api/models/delete_response.py
|
|
60
76
|
hindsight_client_api/models/disposition_traits.py
|
|
61
77
|
hindsight_client_api/models/document_response.py
|
|
@@ -71,6 +87,8 @@ hindsight_client_api/models/include_options.py
|
|
|
71
87
|
hindsight_client_api/models/list_documents_response.py
|
|
72
88
|
hindsight_client_api/models/list_memory_units_response.py
|
|
73
89
|
hindsight_client_api/models/memory_item.py
|
|
90
|
+
hindsight_client_api/models/operation_response.py
|
|
91
|
+
hindsight_client_api/models/operations_list_response.py
|
|
74
92
|
hindsight_client_api/models/recall_request.py
|
|
75
93
|
hindsight_client_api/models/recall_response.py
|
|
76
94
|
hindsight_client_api/models/recall_result.py
|
|
@@ -90,15 +108,20 @@ hindsight_client_api/test/test_background_response.py
|
|
|
90
108
|
hindsight_client_api/test/test_bank_list_item.py
|
|
91
109
|
hindsight_client_api/test/test_bank_list_response.py
|
|
92
110
|
hindsight_client_api/test/test_bank_profile_response.py
|
|
111
|
+
hindsight_client_api/test/test_bank_stats_response.py
|
|
112
|
+
hindsight_client_api/test/test_banks_api.py
|
|
93
113
|
hindsight_client_api/test/test_budget.py
|
|
114
|
+
hindsight_client_api/test/test_cancel_operation_response.py
|
|
94
115
|
hindsight_client_api/test/test_chunk_data.py
|
|
95
116
|
hindsight_client_api/test/test_chunk_include_options.py
|
|
96
117
|
hindsight_client_api/test/test_chunk_response.py
|
|
97
118
|
hindsight_client_api/test/test_create_bank_request.py
|
|
98
|
-
hindsight_client_api/test/
|
|
119
|
+
hindsight_client_api/test/test_delete_document_response.py
|
|
99
120
|
hindsight_client_api/test/test_delete_response.py
|
|
100
121
|
hindsight_client_api/test/test_disposition_traits.py
|
|
101
122
|
hindsight_client_api/test/test_document_response.py
|
|
123
|
+
hindsight_client_api/test/test_documents_api.py
|
|
124
|
+
hindsight_client_api/test/test_entities_api.py
|
|
102
125
|
hindsight_client_api/test/test_entity_detail_response.py
|
|
103
126
|
hindsight_client_api/test/test_entity_include_options.py
|
|
104
127
|
hindsight_client_api/test/test_entity_list_item.py
|
|
@@ -110,8 +133,12 @@ hindsight_client_api/test/test_http_validation_error.py
|
|
|
110
133
|
hindsight_client_api/test/test_include_options.py
|
|
111
134
|
hindsight_client_api/test/test_list_documents_response.py
|
|
112
135
|
hindsight_client_api/test/test_list_memory_units_response.py
|
|
136
|
+
hindsight_client_api/test/test_memory_api.py
|
|
113
137
|
hindsight_client_api/test/test_memory_item.py
|
|
114
138
|
hindsight_client_api/test/test_monitoring_api.py
|
|
139
|
+
hindsight_client_api/test/test_operation_response.py
|
|
140
|
+
hindsight_client_api/test/test_operations_api.py
|
|
141
|
+
hindsight_client_api/test/test_operations_list_response.py
|
|
115
142
|
hindsight_client_api/test/test_recall_request.py
|
|
116
143
|
hindsight_client_api/test/test_recall_response.py
|
|
117
144
|
hindsight_client_api/test/test_recall_result.py
|
|
@@ -10,7 +10,7 @@ from typing import Optional, List, Dict, Any
|
|
|
10
10
|
from datetime import datetime
|
|
11
11
|
|
|
12
12
|
import hindsight_client_api
|
|
13
|
-
from hindsight_client_api.api import
|
|
13
|
+
from hindsight_client_api.api import memory_api, banks_api
|
|
14
14
|
from hindsight_client_api.models import (
|
|
15
15
|
recall_request,
|
|
16
16
|
retain_request,
|
|
@@ -74,7 +74,8 @@ class Hindsight:
|
|
|
74
74
|
"""
|
|
75
75
|
config = hindsight_client_api.Configuration(host=base_url, access_token=api_key)
|
|
76
76
|
self._api_client = hindsight_client_api.ApiClient(config)
|
|
77
|
-
self.
|
|
77
|
+
self._memory_api = memory_api.MemoryApi(self._api_client)
|
|
78
|
+
self._banks_api = banks_api.BanksApi(self._api_client)
|
|
78
79
|
|
|
79
80
|
def __enter__(self):
|
|
80
81
|
"""Context manager entry."""
|
|
@@ -168,7 +169,7 @@ class Hindsight:
|
|
|
168
169
|
async_=retain_async,
|
|
169
170
|
)
|
|
170
171
|
|
|
171
|
-
return _run_async(self.
|
|
172
|
+
return _run_async(self._memory_api.retain_memories(bank_id, request_obj))
|
|
172
173
|
|
|
173
174
|
def recall(
|
|
174
175
|
self,
|
|
@@ -220,7 +221,7 @@ class Hindsight:
|
|
|
220
221
|
include=include_opts,
|
|
221
222
|
)
|
|
222
223
|
|
|
223
|
-
return _run_async(self.
|
|
224
|
+
return _run_async(self._memory_api.recall_memories(bank_id, request_obj))
|
|
224
225
|
|
|
225
226
|
def reflect(
|
|
226
227
|
self,
|
|
@@ -247,7 +248,7 @@ class Hindsight:
|
|
|
247
248
|
context=context,
|
|
248
249
|
)
|
|
249
250
|
|
|
250
|
-
return _run_async(self.
|
|
251
|
+
return _run_async(self._memory_api.reflect(bank_id, request_obj))
|
|
251
252
|
|
|
252
253
|
def list_memories(
|
|
253
254
|
self,
|
|
@@ -258,7 +259,7 @@ class Hindsight:
|
|
|
258
259
|
offset: int = 0,
|
|
259
260
|
) -> ListMemoryUnitsResponse:
|
|
260
261
|
"""List memory units with pagination."""
|
|
261
|
-
return _run_async(self.
|
|
262
|
+
return _run_async(self._memory_api.list_memories(
|
|
262
263
|
bank_id=bank_id,
|
|
263
264
|
type=type,
|
|
264
265
|
q=search_query,
|
|
@@ -286,7 +287,7 @@ class Hindsight:
|
|
|
286
287
|
disposition=disposition_obj,
|
|
287
288
|
)
|
|
288
289
|
|
|
289
|
-
return _run_async(self.
|
|
290
|
+
return _run_async(self._banks_api.create_or_update_bank(bank_id, request_obj))
|
|
290
291
|
|
|
291
292
|
# Async methods (native async, no _run_async wrapper)
|
|
292
293
|
|
|
@@ -326,7 +327,7 @@ class Hindsight:
|
|
|
326
327
|
async_=retain_async,
|
|
327
328
|
)
|
|
328
329
|
|
|
329
|
-
return await self.
|
|
330
|
+
return await self._memory_api.retain_memories(bank_id, request_obj)
|
|
330
331
|
|
|
331
332
|
async def aretain(
|
|
332
333
|
self,
|
|
@@ -386,7 +387,7 @@ class Hindsight:
|
|
|
386
387
|
trace=False,
|
|
387
388
|
)
|
|
388
389
|
|
|
389
|
-
response = await self.
|
|
390
|
+
response = await self._memory_api.recall_memories(bank_id, request_obj)
|
|
390
391
|
return response.results if hasattr(response, 'results') else []
|
|
391
392
|
|
|
392
393
|
async def areflect(
|
|
@@ -414,4 +415,4 @@ class Hindsight:
|
|
|
414
415
|
context=context,
|
|
415
416
|
)
|
|
416
417
|
|
|
417
|
-
return await self.
|
|
418
|
+
return await self._memory_api.reflect(bank_id, request_obj)
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
HTTP API for Hindsight
|
|
9
9
|
|
|
10
|
-
The version of the OpenAPI document: 1.0
|
|
10
|
+
The version of the OpenAPI document: 0.1.0
|
|
11
11
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
12
12
|
|
|
13
13
|
Do not edit the class manually.
|
|
@@ -18,8 +18,12 @@ __version__ = "0.0.7"
|
|
|
18
18
|
|
|
19
19
|
# Define package exports
|
|
20
20
|
__all__ = [
|
|
21
|
+
"BanksApi",
|
|
22
|
+
"DocumentsApi",
|
|
23
|
+
"EntitiesApi",
|
|
24
|
+
"MemoryApi",
|
|
21
25
|
"MonitoringApi",
|
|
22
|
-
"
|
|
26
|
+
"OperationsApi",
|
|
23
27
|
"ApiResponse",
|
|
24
28
|
"ApiClient",
|
|
25
29
|
"Configuration",
|
|
@@ -34,11 +38,14 @@ __all__ = [
|
|
|
34
38
|
"BankListItem",
|
|
35
39
|
"BankListResponse",
|
|
36
40
|
"BankProfileResponse",
|
|
41
|
+
"BankStatsResponse",
|
|
37
42
|
"Budget",
|
|
43
|
+
"CancelOperationResponse",
|
|
38
44
|
"ChunkData",
|
|
39
45
|
"ChunkIncludeOptions",
|
|
40
46
|
"ChunkResponse",
|
|
41
47
|
"CreateBankRequest",
|
|
48
|
+
"DeleteDocumentResponse",
|
|
42
49
|
"DeleteResponse",
|
|
43
50
|
"DispositionTraits",
|
|
44
51
|
"DocumentResponse",
|
|
@@ -54,6 +61,8 @@ __all__ = [
|
|
|
54
61
|
"ListDocumentsResponse",
|
|
55
62
|
"ListMemoryUnitsResponse",
|
|
56
63
|
"MemoryItem",
|
|
64
|
+
"OperationResponse",
|
|
65
|
+
"OperationsListResponse",
|
|
57
66
|
"RecallRequest",
|
|
58
67
|
"RecallResponse",
|
|
59
68
|
"RecallResult",
|
|
@@ -69,8 +78,12 @@ __all__ = [
|
|
|
69
78
|
]
|
|
70
79
|
|
|
71
80
|
# import apis into sdk package
|
|
81
|
+
from hindsight_client_api.api.banks_api import BanksApi as BanksApi
|
|
82
|
+
from hindsight_client_api.api.documents_api import DocumentsApi as DocumentsApi
|
|
83
|
+
from hindsight_client_api.api.entities_api import EntitiesApi as EntitiesApi
|
|
84
|
+
from hindsight_client_api.api.memory_api import MemoryApi as MemoryApi
|
|
72
85
|
from hindsight_client_api.api.monitoring_api import MonitoringApi as MonitoringApi
|
|
73
|
-
from hindsight_client_api.api.
|
|
86
|
+
from hindsight_client_api.api.operations_api import OperationsApi as OperationsApi
|
|
74
87
|
|
|
75
88
|
# import ApiClient
|
|
76
89
|
from hindsight_client_api.api_response import ApiResponse as ApiResponse
|
|
@@ -89,11 +102,14 @@ from hindsight_client_api.models.background_response import BackgroundResponse a
|
|
|
89
102
|
from hindsight_client_api.models.bank_list_item import BankListItem as BankListItem
|
|
90
103
|
from hindsight_client_api.models.bank_list_response import BankListResponse as BankListResponse
|
|
91
104
|
from hindsight_client_api.models.bank_profile_response import BankProfileResponse as BankProfileResponse
|
|
105
|
+
from hindsight_client_api.models.bank_stats_response import BankStatsResponse as BankStatsResponse
|
|
92
106
|
from hindsight_client_api.models.budget import Budget as Budget
|
|
107
|
+
from hindsight_client_api.models.cancel_operation_response import CancelOperationResponse as CancelOperationResponse
|
|
93
108
|
from hindsight_client_api.models.chunk_data import ChunkData as ChunkData
|
|
94
109
|
from hindsight_client_api.models.chunk_include_options import ChunkIncludeOptions as ChunkIncludeOptions
|
|
95
110
|
from hindsight_client_api.models.chunk_response import ChunkResponse as ChunkResponse
|
|
96
111
|
from hindsight_client_api.models.create_bank_request import CreateBankRequest as CreateBankRequest
|
|
112
|
+
from hindsight_client_api.models.delete_document_response import DeleteDocumentResponse as DeleteDocumentResponse
|
|
97
113
|
from hindsight_client_api.models.delete_response import DeleteResponse as DeleteResponse
|
|
98
114
|
from hindsight_client_api.models.disposition_traits import DispositionTraits as DispositionTraits
|
|
99
115
|
from hindsight_client_api.models.document_response import DocumentResponse as DocumentResponse
|
|
@@ -109,6 +125,8 @@ from hindsight_client_api.models.include_options import IncludeOptions as Includ
|
|
|
109
125
|
from hindsight_client_api.models.list_documents_response import ListDocumentsResponse as ListDocumentsResponse
|
|
110
126
|
from hindsight_client_api.models.list_memory_units_response import ListMemoryUnitsResponse as ListMemoryUnitsResponse
|
|
111
127
|
from hindsight_client_api.models.memory_item import MemoryItem as MemoryItem
|
|
128
|
+
from hindsight_client_api.models.operation_response import OperationResponse as OperationResponse
|
|
129
|
+
from hindsight_client_api.models.operations_list_response import OperationsListResponse as OperationsListResponse
|
|
112
130
|
from hindsight_client_api.models.recall_request import RecallRequest as RecallRequest
|
|
113
131
|
from hindsight_client_api.models.recall_response import RecallResponse as RecallResponse
|
|
114
132
|
from hindsight_client_api.models.recall_result import RecallResult as RecallResult
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# flake8: noqa
|
|
2
|
+
|
|
3
|
+
# import apis into api package
|
|
4
|
+
from hindsight_client_api.api.banks_api import BanksApi
|
|
5
|
+
from hindsight_client_api.api.documents_api import DocumentsApi
|
|
6
|
+
from hindsight_client_api.api.entities_api import EntitiesApi
|
|
7
|
+
from hindsight_client_api.api.memory_api import MemoryApi
|
|
8
|
+
from hindsight_client_api.api.monitoring_api import MonitoringApi
|
|
9
|
+
from hindsight_client_api.api.operations_api import OperationsApi
|
|
10
|
+
|