hindsight-client 0.2.0__tar.gz → 0.3.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.
Files changed (122) hide show
  1. {hindsight_client-0.2.0 → hindsight_client-0.3.0}/.openapi-generator/FILES +4 -48
  2. hindsight_client-0.3.0/.openapi-generator/VERSION +1 -0
  3. {hindsight_client-0.2.0 → hindsight_client-0.3.0}/PKG-INFO +1 -1
  4. {hindsight_client-0.2.0 → hindsight_client-0.3.0}/hindsight_client/hindsight_client.py +2 -0
  5. hindsight_client-0.3.0/hindsight_client_api/__init__.py +84 -0
  6. {hindsight_client-0.2.0 → hindsight_client-0.3.0}/hindsight_client_api/api/banks_api.py +15 -0
  7. {hindsight_client-0.2.0 → hindsight_client-0.3.0}/hindsight_client_api/api/entities_api.py +20 -3
  8. {hindsight_client-0.2.0 → hindsight_client-0.3.0}/hindsight_client_api/api/memory_api.py +713 -73
  9. {hindsight_client-0.2.0 → hindsight_client-0.3.0}/hindsight_client_api/api_client.py +6 -13
  10. {hindsight_client-0.2.0 → hindsight_client-0.3.0}/hindsight_client_api/configuration.py +4 -15
  11. {hindsight_client-0.2.0 → hindsight_client-0.3.0}/hindsight_client_api/exceptions.py +2 -22
  12. {hindsight_client-0.2.0 → hindsight_client-0.3.0}/hindsight_client_api/models/__init__.py +4 -1
  13. {hindsight_client-0.2.0 → hindsight_client-0.3.0}/hindsight_client_api/models/document_response.py +5 -3
  14. {hindsight_client-0.2.0 → hindsight_client-0.3.0}/hindsight_client_api/models/entity_input.py +22 -10
  15. {hindsight_client-0.2.0 → hindsight_client-0.3.0}/hindsight_client_api/models/entity_list_response.py +9 -3
  16. {hindsight_client-0.2.0 → hindsight_client-0.3.0}/hindsight_client_api/models/graph_data_response.py +4 -2
  17. hindsight_client-0.3.0/hindsight_client_api/models/list_tags_response.py +101 -0
  18. {hindsight_client-0.2.0 → hindsight_client-0.3.0}/hindsight_client_api/models/memory_item.py +19 -8
  19. {hindsight_client-0.2.0 → hindsight_client-0.3.0}/hindsight_client_api/models/recall_request.py +22 -3
  20. {hindsight_client-0.2.0 → hindsight_client-0.3.0}/hindsight_client_api/models/recall_result.py +9 -2
  21. {hindsight_client-0.2.0 → hindsight_client-0.3.0}/hindsight_client_api/models/reflect_request.py +22 -3
  22. {hindsight_client-0.2.0 → hindsight_client-0.3.0}/hindsight_client_api/models/reflect_response.py +13 -2
  23. {hindsight_client-0.2.0 → hindsight_client-0.3.0}/hindsight_client_api/models/retain_request.py +10 -3
  24. {hindsight_client-0.2.0 → hindsight_client-0.3.0}/hindsight_client_api/models/retain_response.py +21 -3
  25. hindsight_client-0.3.0/hindsight_client_api/models/tag_item.py +89 -0
  26. hindsight_client-0.3.0/hindsight_client_api/models/token_usage.py +91 -0
  27. {hindsight_client-0.2.0 → hindsight_client-0.3.0}/hindsight_client_api/rest.py +60 -38
  28. {hindsight_client-0.2.0 → hindsight_client-0.3.0}/openapi-generator-config.yaml +3 -1
  29. {hindsight_client-0.2.0 → hindsight_client-0.3.0}/pyproject.toml +1 -1
  30. {hindsight_client-0.2.0 → hindsight_client-0.3.0}/tests/test_main_operations.py +32 -0
  31. hindsight_client-0.2.0/.openapi-generator/VERSION +0 -1
  32. hindsight_client-0.2.0/hindsight_client_api/__init__.py +0 -142
  33. hindsight_client-0.2.0/hindsight_client_api/docs/AddBackgroundRequest.md +0 -31
  34. hindsight_client-0.2.0/hindsight_client_api/docs/BackgroundResponse.md +0 -31
  35. hindsight_client-0.2.0/hindsight_client_api/docs/BankListItem.md +0 -35
  36. hindsight_client-0.2.0/hindsight_client_api/docs/BankListResponse.md +0 -30
  37. hindsight_client-0.2.0/hindsight_client_api/docs/BankProfileResponse.md +0 -33
  38. hindsight_client-0.2.0/hindsight_client_api/docs/BankStatsResponse.md +0 -39
  39. hindsight_client-0.2.0/hindsight_client_api/docs/BanksApi.md +0 -517
  40. hindsight_client-0.2.0/hindsight_client_api/docs/Budget.md +0 -15
  41. hindsight_client-0.2.0/hindsight_client_api/docs/CancelOperationResponse.md +0 -32
  42. hindsight_client-0.2.0/hindsight_client_api/docs/ChunkData.md +0 -33
  43. hindsight_client-0.2.0/hindsight_client_api/docs/ChunkIncludeOptions.md +0 -30
  44. hindsight_client-0.2.0/hindsight_client_api/docs/ChunkResponse.md +0 -35
  45. hindsight_client-0.2.0/hindsight_client_api/docs/CreateBankRequest.md +0 -32
  46. hindsight_client-0.2.0/hindsight_client_api/docs/DeleteDocumentResponse.md +0 -33
  47. hindsight_client-0.2.0/hindsight_client_api/docs/DeleteResponse.md +0 -32
  48. hindsight_client-0.2.0/hindsight_client_api/docs/DispositionTraits.md +0 -32
  49. hindsight_client-0.2.0/hindsight_client_api/docs/DocumentResponse.md +0 -36
  50. hindsight_client-0.2.0/hindsight_client_api/docs/DocumentsApi.md +0 -313
  51. hindsight_client-0.2.0/hindsight_client_api/docs/EntitiesApi.md +0 -230
  52. hindsight_client-0.2.0/hindsight_client_api/docs/EntityDetailResponse.md +0 -36
  53. hindsight_client-0.2.0/hindsight_client_api/docs/EntityIncludeOptions.md +0 -30
  54. hindsight_client-0.2.0/hindsight_client_api/docs/EntityListItem.md +0 -35
  55. hindsight_client-0.2.0/hindsight_client_api/docs/EntityListResponse.md +0 -30
  56. hindsight_client-0.2.0/hindsight_client_api/docs/EntityObservationResponse.md +0 -31
  57. hindsight_client-0.2.0/hindsight_client_api/docs/EntityStateResponse.md +0 -32
  58. hindsight_client-0.2.0/hindsight_client_api/docs/GraphDataResponse.md +0 -33
  59. hindsight_client-0.2.0/hindsight_client_api/docs/HTTPValidationError.md +0 -29
  60. hindsight_client-0.2.0/hindsight_client_api/docs/IncludeOptions.md +0 -31
  61. hindsight_client-0.2.0/hindsight_client_api/docs/ListDocumentsResponse.md +0 -33
  62. hindsight_client-0.2.0/hindsight_client_api/docs/ListMemoryUnitsResponse.md +0 -33
  63. hindsight_client-0.2.0/hindsight_client_api/docs/MemoryApi.md +0 -499
  64. hindsight_client-0.2.0/hindsight_client_api/docs/MemoryItem.md +0 -34
  65. hindsight_client-0.2.0/hindsight_client_api/docs/MonitoringApi.md +0 -136
  66. hindsight_client-0.2.0/hindsight_client_api/docs/OperationResponse.md +0 -36
  67. hindsight_client-0.2.0/hindsight_client_api/docs/OperationsApi.md +0 -154
  68. hindsight_client-0.2.0/hindsight_client_api/docs/OperationsListResponse.md +0 -31
  69. hindsight_client-0.2.0/hindsight_client_api/docs/RecallRequest.md +0 -36
  70. hindsight_client-0.2.0/hindsight_client_api/docs/RecallResponse.md +0 -33
  71. hindsight_client-0.2.0/hindsight_client_api/docs/RecallResult.md +0 -40
  72. hindsight_client-0.2.0/hindsight_client_api/docs/ReflectFact.md +0 -35
  73. hindsight_client-0.2.0/hindsight_client_api/docs/ReflectIncludeOptions.md +0 -30
  74. hindsight_client-0.2.0/hindsight_client_api/docs/ReflectRequest.md +0 -35
  75. hindsight_client-0.2.0/hindsight_client_api/docs/ReflectResponse.md +0 -32
  76. hindsight_client-0.2.0/hindsight_client_api/docs/RetainRequest.md +0 -31
  77. hindsight_client-0.2.0/hindsight_client_api/docs/RetainResponse.md +0 -33
  78. hindsight_client-0.2.0/hindsight_client_api/docs/UpdateDispositionRequest.md +0 -30
  79. hindsight_client-0.2.0/hindsight_client_api/docs/ValidationError.md +0 -31
  80. hindsight_client-0.2.0/hindsight_client_api/docs/ValidationErrorLocInner.md +0 -28
  81. {hindsight_client-0.2.0 → hindsight_client-0.3.0}/.gitignore +0 -0
  82. {hindsight_client-0.2.0 → hindsight_client-0.3.0}/.openapi-generator-ignore +0 -0
  83. {hindsight_client-0.2.0 → hindsight_client-0.3.0}/README.md +0 -0
  84. {hindsight_client-0.2.0 → hindsight_client-0.3.0}/hindsight_client/__init__.py +0 -0
  85. {hindsight_client-0.2.0 → hindsight_client-0.3.0}/hindsight_client_api/api/__init__.py +0 -0
  86. {hindsight_client-0.2.0 → hindsight_client-0.3.0}/hindsight_client_api/api/documents_api.py +0 -0
  87. {hindsight_client-0.2.0 → hindsight_client-0.3.0}/hindsight_client_api/api/monitoring_api.py +0 -0
  88. {hindsight_client-0.2.0 → hindsight_client-0.3.0}/hindsight_client_api/api/operations_api.py +0 -0
  89. {hindsight_client-0.2.0 → hindsight_client-0.3.0}/hindsight_client_api/api_response.py +0 -0
  90. {hindsight_client-0.2.0 → hindsight_client-0.3.0}/hindsight_client_api/models/add_background_request.py +0 -0
  91. {hindsight_client-0.2.0 → hindsight_client-0.3.0}/hindsight_client_api/models/background_response.py +0 -0
  92. {hindsight_client-0.2.0 → hindsight_client-0.3.0}/hindsight_client_api/models/bank_list_item.py +0 -0
  93. {hindsight_client-0.2.0 → hindsight_client-0.3.0}/hindsight_client_api/models/bank_list_response.py +0 -0
  94. {hindsight_client-0.2.0 → hindsight_client-0.3.0}/hindsight_client_api/models/bank_profile_response.py +0 -0
  95. {hindsight_client-0.2.0 → hindsight_client-0.3.0}/hindsight_client_api/models/bank_stats_response.py +0 -0
  96. {hindsight_client-0.2.0 → hindsight_client-0.3.0}/hindsight_client_api/models/budget.py +0 -0
  97. {hindsight_client-0.2.0 → hindsight_client-0.3.0}/hindsight_client_api/models/cancel_operation_response.py +0 -0
  98. {hindsight_client-0.2.0 → hindsight_client-0.3.0}/hindsight_client_api/models/chunk_data.py +0 -0
  99. {hindsight_client-0.2.0 → hindsight_client-0.3.0}/hindsight_client_api/models/chunk_include_options.py +0 -0
  100. {hindsight_client-0.2.0 → hindsight_client-0.3.0}/hindsight_client_api/models/chunk_response.py +0 -0
  101. {hindsight_client-0.2.0 → hindsight_client-0.3.0}/hindsight_client_api/models/create_bank_request.py +0 -0
  102. {hindsight_client-0.2.0 → hindsight_client-0.3.0}/hindsight_client_api/models/delete_document_response.py +0 -0
  103. {hindsight_client-0.2.0 → hindsight_client-0.3.0}/hindsight_client_api/models/delete_response.py +0 -0
  104. {hindsight_client-0.2.0 → hindsight_client-0.3.0}/hindsight_client_api/models/disposition_traits.py +0 -0
  105. {hindsight_client-0.2.0 → hindsight_client-0.3.0}/hindsight_client_api/models/entity_detail_response.py +0 -0
  106. {hindsight_client-0.2.0 → hindsight_client-0.3.0}/hindsight_client_api/models/entity_include_options.py +0 -0
  107. {hindsight_client-0.2.0 → hindsight_client-0.3.0}/hindsight_client_api/models/entity_list_item.py +0 -0
  108. {hindsight_client-0.2.0 → hindsight_client-0.3.0}/hindsight_client_api/models/entity_observation_response.py +0 -0
  109. {hindsight_client-0.2.0 → hindsight_client-0.3.0}/hindsight_client_api/models/entity_state_response.py +0 -0
  110. {hindsight_client-0.2.0 → hindsight_client-0.3.0}/hindsight_client_api/models/http_validation_error.py +0 -0
  111. {hindsight_client-0.2.0 → hindsight_client-0.3.0}/hindsight_client_api/models/include_options.py +0 -0
  112. {hindsight_client-0.2.0 → hindsight_client-0.3.0}/hindsight_client_api/models/list_documents_response.py +0 -0
  113. {hindsight_client-0.2.0 → hindsight_client-0.3.0}/hindsight_client_api/models/list_memory_units_response.py +0 -0
  114. {hindsight_client-0.2.0 → hindsight_client-0.3.0}/hindsight_client_api/models/operation_response.py +0 -0
  115. {hindsight_client-0.2.0 → hindsight_client-0.3.0}/hindsight_client_api/models/operations_list_response.py +0 -0
  116. {hindsight_client-0.2.0 → hindsight_client-0.3.0}/hindsight_client_api/models/recall_response.py +0 -0
  117. {hindsight_client-0.2.0 → hindsight_client-0.3.0}/hindsight_client_api/models/reflect_fact.py +0 -0
  118. {hindsight_client-0.2.0 → hindsight_client-0.3.0}/hindsight_client_api/models/reflect_include_options.py +0 -0
  119. {hindsight_client-0.2.0 → hindsight_client-0.3.0}/hindsight_client_api/models/update_disposition_request.py +0 -0
  120. {hindsight_client-0.2.0 → hindsight_client-0.3.0}/hindsight_client_api/models/validation_error.py +0 -0
  121. {hindsight_client-0.2.0 → hindsight_client-0.3.0}/hindsight_client_api/models/validation_error_loc_inner.py +0 -0
  122. {hindsight_client-0.2.0 → hindsight_client-0.3.0}/tests/__init__.py +0 -0
@@ -9,54 +9,6 @@ hindsight_client_api/api/operations_api.py
9
9
  hindsight_client_api/api_client.py
10
10
  hindsight_client_api/api_response.py
11
11
  hindsight_client_api/configuration.py
12
- hindsight_client_api/docs/AddBackgroundRequest.md
13
- hindsight_client_api/docs/BackgroundResponse.md
14
- hindsight_client_api/docs/BankListItem.md
15
- hindsight_client_api/docs/BankListResponse.md
16
- hindsight_client_api/docs/BankProfileResponse.md
17
- hindsight_client_api/docs/BankStatsResponse.md
18
- hindsight_client_api/docs/BanksApi.md
19
- hindsight_client_api/docs/Budget.md
20
- hindsight_client_api/docs/CancelOperationResponse.md
21
- hindsight_client_api/docs/ChunkData.md
22
- hindsight_client_api/docs/ChunkIncludeOptions.md
23
- hindsight_client_api/docs/ChunkResponse.md
24
- hindsight_client_api/docs/CreateBankRequest.md
25
- hindsight_client_api/docs/DeleteDocumentResponse.md
26
- hindsight_client_api/docs/DeleteResponse.md
27
- hindsight_client_api/docs/DispositionTraits.md
28
- hindsight_client_api/docs/DocumentResponse.md
29
- hindsight_client_api/docs/DocumentsApi.md
30
- hindsight_client_api/docs/EntitiesApi.md
31
- hindsight_client_api/docs/EntityDetailResponse.md
32
- hindsight_client_api/docs/EntityIncludeOptions.md
33
- hindsight_client_api/docs/EntityListItem.md
34
- hindsight_client_api/docs/EntityListResponse.md
35
- hindsight_client_api/docs/EntityObservationResponse.md
36
- hindsight_client_api/docs/EntityStateResponse.md
37
- hindsight_client_api/docs/GraphDataResponse.md
38
- hindsight_client_api/docs/HTTPValidationError.md
39
- hindsight_client_api/docs/IncludeOptions.md
40
- hindsight_client_api/docs/ListDocumentsResponse.md
41
- hindsight_client_api/docs/ListMemoryUnitsResponse.md
42
- hindsight_client_api/docs/MemoryApi.md
43
- hindsight_client_api/docs/MemoryItem.md
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
48
- hindsight_client_api/docs/RecallRequest.md
49
- hindsight_client_api/docs/RecallResponse.md
50
- hindsight_client_api/docs/RecallResult.md
51
- hindsight_client_api/docs/ReflectFact.md
52
- hindsight_client_api/docs/ReflectIncludeOptions.md
53
- hindsight_client_api/docs/ReflectRequest.md
54
- hindsight_client_api/docs/ReflectResponse.md
55
- hindsight_client_api/docs/RetainRequest.md
56
- hindsight_client_api/docs/RetainResponse.md
57
- hindsight_client_api/docs/UpdateDispositionRequest.md
58
- hindsight_client_api/docs/ValidationError.md
59
- hindsight_client_api/docs/ValidationErrorLocInner.md
60
12
  hindsight_client_api/exceptions.py
61
13
  hindsight_client_api/models/__init__.py
62
14
  hindsight_client_api/models/add_background_request.py
@@ -77,6 +29,7 @@ hindsight_client_api/models/disposition_traits.py
77
29
  hindsight_client_api/models/document_response.py
78
30
  hindsight_client_api/models/entity_detail_response.py
79
31
  hindsight_client_api/models/entity_include_options.py
32
+ hindsight_client_api/models/entity_input.py
80
33
  hindsight_client_api/models/entity_list_item.py
81
34
  hindsight_client_api/models/entity_list_response.py
82
35
  hindsight_client_api/models/entity_observation_response.py
@@ -86,6 +39,7 @@ hindsight_client_api/models/http_validation_error.py
86
39
  hindsight_client_api/models/include_options.py
87
40
  hindsight_client_api/models/list_documents_response.py
88
41
  hindsight_client_api/models/list_memory_units_response.py
42
+ hindsight_client_api/models/list_tags_response.py
89
43
  hindsight_client_api/models/memory_item.py
90
44
  hindsight_client_api/models/operation_response.py
91
45
  hindsight_client_api/models/operations_list_response.py
@@ -98,6 +52,8 @@ hindsight_client_api/models/reflect_request.py
98
52
  hindsight_client_api/models/reflect_response.py
99
53
  hindsight_client_api/models/retain_request.py
100
54
  hindsight_client_api/models/retain_response.py
55
+ hindsight_client_api/models/tag_item.py
56
+ hindsight_client_api/models/token_usage.py
101
57
  hindsight_client_api/models/update_disposition_request.py
102
58
  hindsight_client_api/models/validation_error.py
103
59
  hindsight_client_api/models/validation_error_loc_inner.py
@@ -0,0 +1 @@
1
+ 7.10.0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hindsight-client
3
- Version: 0.2.0
3
+ Version: 0.3.0
4
4
  Summary: Python client for Hindsight - Semantic memory system with personality-driven thinking
5
5
  Author: Hindsight Team
6
6
  Requires-Python: >=3.10
@@ -74,6 +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
+ if api_key:
78
+ self._api_client.set_default_header("Authorization", f"Bearer {api_key}")
77
79
  self._memory_api = memory_api.MemoryApi(self._api_client)
78
80
  self._banks_api = banks_api.BanksApi(self._api_client)
79
81
 
@@ -0,0 +1,84 @@
1
+ # coding: utf-8
2
+
3
+ # flake8: noqa
4
+
5
+ """
6
+ Hindsight HTTP API
7
+
8
+ HTTP API for Hindsight
9
+
10
+ The version of the OpenAPI document: 0.1.0
11
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
12
+
13
+ Do not edit the class manually.
14
+ """ # noqa: E501
15
+
16
+
17
+ __version__ = "0.0.7"
18
+
19
+ # import apis into sdk package
20
+ from hindsight_client_api.api.banks_api import BanksApi
21
+ from hindsight_client_api.api.documents_api import DocumentsApi
22
+ from hindsight_client_api.api.entities_api import EntitiesApi
23
+ from hindsight_client_api.api.memory_api import MemoryApi
24
+ from hindsight_client_api.api.monitoring_api import MonitoringApi
25
+ from hindsight_client_api.api.operations_api import OperationsApi
26
+
27
+ # import ApiClient
28
+ from hindsight_client_api.api_response import ApiResponse
29
+ from hindsight_client_api.api_client import ApiClient
30
+ from hindsight_client_api.configuration import Configuration
31
+ from hindsight_client_api.exceptions import OpenApiException
32
+ from hindsight_client_api.exceptions import ApiTypeError
33
+ from hindsight_client_api.exceptions import ApiValueError
34
+ from hindsight_client_api.exceptions import ApiKeyError
35
+ from hindsight_client_api.exceptions import ApiAttributeError
36
+ from hindsight_client_api.exceptions import ApiException
37
+
38
+ # import models into sdk package
39
+ from hindsight_client_api.models.add_background_request import AddBackgroundRequest
40
+ from hindsight_client_api.models.background_response import BackgroundResponse
41
+ from hindsight_client_api.models.bank_list_item import BankListItem
42
+ from hindsight_client_api.models.bank_list_response import BankListResponse
43
+ from hindsight_client_api.models.bank_profile_response import BankProfileResponse
44
+ from hindsight_client_api.models.bank_stats_response import BankStatsResponse
45
+ from hindsight_client_api.models.budget import Budget
46
+ from hindsight_client_api.models.cancel_operation_response import CancelOperationResponse
47
+ from hindsight_client_api.models.chunk_data import ChunkData
48
+ from hindsight_client_api.models.chunk_include_options import ChunkIncludeOptions
49
+ from hindsight_client_api.models.chunk_response import ChunkResponse
50
+ from hindsight_client_api.models.create_bank_request import CreateBankRequest
51
+ from hindsight_client_api.models.delete_document_response import DeleteDocumentResponse
52
+ from hindsight_client_api.models.delete_response import DeleteResponse
53
+ from hindsight_client_api.models.disposition_traits import DispositionTraits
54
+ from hindsight_client_api.models.document_response import DocumentResponse
55
+ from hindsight_client_api.models.entity_detail_response import EntityDetailResponse
56
+ from hindsight_client_api.models.entity_include_options import EntityIncludeOptions
57
+ from hindsight_client_api.models.entity_input import EntityInput
58
+ from hindsight_client_api.models.entity_list_item import EntityListItem
59
+ from hindsight_client_api.models.entity_list_response import EntityListResponse
60
+ from hindsight_client_api.models.entity_observation_response import EntityObservationResponse
61
+ from hindsight_client_api.models.entity_state_response import EntityStateResponse
62
+ from hindsight_client_api.models.graph_data_response import GraphDataResponse
63
+ from hindsight_client_api.models.http_validation_error import HTTPValidationError
64
+ from hindsight_client_api.models.include_options import IncludeOptions
65
+ from hindsight_client_api.models.list_documents_response import ListDocumentsResponse
66
+ from hindsight_client_api.models.list_memory_units_response import ListMemoryUnitsResponse
67
+ from hindsight_client_api.models.list_tags_response import ListTagsResponse
68
+ from hindsight_client_api.models.memory_item import MemoryItem
69
+ from hindsight_client_api.models.operation_response import OperationResponse
70
+ from hindsight_client_api.models.operations_list_response import OperationsListResponse
71
+ from hindsight_client_api.models.recall_request import RecallRequest
72
+ from hindsight_client_api.models.recall_response import RecallResponse
73
+ from hindsight_client_api.models.recall_result import RecallResult
74
+ from hindsight_client_api.models.reflect_fact import ReflectFact
75
+ from hindsight_client_api.models.reflect_include_options import ReflectIncludeOptions
76
+ from hindsight_client_api.models.reflect_request import ReflectRequest
77
+ from hindsight_client_api.models.reflect_response import ReflectResponse
78
+ from hindsight_client_api.models.retain_request import RetainRequest
79
+ from hindsight_client_api.models.retain_response import RetainResponse
80
+ from hindsight_client_api.models.tag_item import TagItem
81
+ from hindsight_client_api.models.token_usage import TokenUsage
82
+ from hindsight_client_api.models.update_disposition_request import UpdateDispositionRequest
83
+ from hindsight_client_api.models.validation_error import ValidationError
84
+ from hindsight_client_api.models.validation_error_loc_inner import ValidationErrorLocInner
@@ -939,6 +939,7 @@ class BanksApi:
939
939
  async def get_agent_stats(
940
940
  self,
941
941
  bank_id: StrictStr,
942
+ authorization: Optional[StrictStr] = None,
942
943
  _request_timeout: Union[
943
944
  None,
944
945
  Annotated[StrictFloat, Field(gt=0)],
@@ -958,6 +959,8 @@ class BanksApi:
958
959
 
959
960
  :param bank_id: (required)
960
961
  :type bank_id: str
962
+ :param authorization:
963
+ :type authorization: str
961
964
  :param _request_timeout: timeout setting for this request. If one
962
965
  number provided, it will be total request
963
966
  timeout. It can also be a pair (tuple) of
@@ -982,6 +985,7 @@ class BanksApi:
982
985
 
983
986
  _param = self._get_agent_stats_serialize(
984
987
  bank_id=bank_id,
988
+ authorization=authorization,
985
989
  _request_auth=_request_auth,
986
990
  _content_type=_content_type,
987
991
  _headers=_headers,
@@ -1007,6 +1011,7 @@ class BanksApi:
1007
1011
  async def get_agent_stats_with_http_info(
1008
1012
  self,
1009
1013
  bank_id: StrictStr,
1014
+ authorization: Optional[StrictStr] = None,
1010
1015
  _request_timeout: Union[
1011
1016
  None,
1012
1017
  Annotated[StrictFloat, Field(gt=0)],
@@ -1026,6 +1031,8 @@ class BanksApi:
1026
1031
 
1027
1032
  :param bank_id: (required)
1028
1033
  :type bank_id: str
1034
+ :param authorization:
1035
+ :type authorization: str
1029
1036
  :param _request_timeout: timeout setting for this request. If one
1030
1037
  number provided, it will be total request
1031
1038
  timeout. It can also be a pair (tuple) of
@@ -1050,6 +1057,7 @@ class BanksApi:
1050
1057
 
1051
1058
  _param = self._get_agent_stats_serialize(
1052
1059
  bank_id=bank_id,
1060
+ authorization=authorization,
1053
1061
  _request_auth=_request_auth,
1054
1062
  _content_type=_content_type,
1055
1063
  _headers=_headers,
@@ -1075,6 +1083,7 @@ class BanksApi:
1075
1083
  async def get_agent_stats_without_preload_content(
1076
1084
  self,
1077
1085
  bank_id: StrictStr,
1086
+ authorization: Optional[StrictStr] = None,
1078
1087
  _request_timeout: Union[
1079
1088
  None,
1080
1089
  Annotated[StrictFloat, Field(gt=0)],
@@ -1094,6 +1103,8 @@ class BanksApi:
1094
1103
 
1095
1104
  :param bank_id: (required)
1096
1105
  :type bank_id: str
1106
+ :param authorization:
1107
+ :type authorization: str
1097
1108
  :param _request_timeout: timeout setting for this request. If one
1098
1109
  number provided, it will be total request
1099
1110
  timeout. It can also be a pair (tuple) of
@@ -1118,6 +1129,7 @@ class BanksApi:
1118
1129
 
1119
1130
  _param = self._get_agent_stats_serialize(
1120
1131
  bank_id=bank_id,
1132
+ authorization=authorization,
1121
1133
  _request_auth=_request_auth,
1122
1134
  _content_type=_content_type,
1123
1135
  _headers=_headers,
@@ -1138,6 +1150,7 @@ class BanksApi:
1138
1150
  def _get_agent_stats_serialize(
1139
1151
  self,
1140
1152
  bank_id,
1153
+ authorization,
1141
1154
  _request_auth,
1142
1155
  _content_type,
1143
1156
  _headers,
@@ -1163,6 +1176,8 @@ class BanksApi:
1163
1176
  _path_params['bank_id'] = bank_id
1164
1177
  # process the query parameters
1165
1178
  # process the header parameters
1179
+ if authorization is not None:
1180
+ _header_params['authorization'] = authorization
1166
1181
  # process the form parameters
1167
1182
  # process the body parameter
1168
1183
 
@@ -338,6 +338,7 @@ class EntitiesApi:
338
338
  self,
339
339
  bank_id: StrictStr,
340
340
  limit: Annotated[Optional[StrictInt], Field(description="Maximum number of entities to return")] = None,
341
+ offset: Annotated[Optional[StrictInt], Field(description="Offset for pagination")] = None,
341
342
  authorization: Optional[StrictStr] = None,
342
343
  _request_timeout: Union[
343
344
  None,
@@ -354,12 +355,14 @@ class EntitiesApi:
354
355
  ) -> EntityListResponse:
355
356
  """List entities
356
357
 
357
- List all entities (people, organizations, etc.) known by the bank, ordered by mention count.
358
+ List all entities (people, organizations, etc.) known by the bank, ordered by mention count. Supports pagination.
358
359
 
359
360
  :param bank_id: (required)
360
361
  :type bank_id: str
361
362
  :param limit: Maximum number of entities to return
362
363
  :type limit: int
364
+ :param offset: Offset for pagination
365
+ :type offset: int
363
366
  :param authorization:
364
367
  :type authorization: str
365
368
  :param _request_timeout: timeout setting for this request. If one
@@ -387,6 +390,7 @@ class EntitiesApi:
387
390
  _param = self._list_entities_serialize(
388
391
  bank_id=bank_id,
389
392
  limit=limit,
393
+ offset=offset,
390
394
  authorization=authorization,
391
395
  _request_auth=_request_auth,
392
396
  _content_type=_content_type,
@@ -414,6 +418,7 @@ class EntitiesApi:
414
418
  self,
415
419
  bank_id: StrictStr,
416
420
  limit: Annotated[Optional[StrictInt], Field(description="Maximum number of entities to return")] = None,
421
+ offset: Annotated[Optional[StrictInt], Field(description="Offset for pagination")] = None,
417
422
  authorization: Optional[StrictStr] = None,
418
423
  _request_timeout: Union[
419
424
  None,
@@ -430,12 +435,14 @@ class EntitiesApi:
430
435
  ) -> ApiResponse[EntityListResponse]:
431
436
  """List entities
432
437
 
433
- List all entities (people, organizations, etc.) known by the bank, ordered by mention count.
438
+ List all entities (people, organizations, etc.) known by the bank, ordered by mention count. Supports pagination.
434
439
 
435
440
  :param bank_id: (required)
436
441
  :type bank_id: str
437
442
  :param limit: Maximum number of entities to return
438
443
  :type limit: int
444
+ :param offset: Offset for pagination
445
+ :type offset: int
439
446
  :param authorization:
440
447
  :type authorization: str
441
448
  :param _request_timeout: timeout setting for this request. If one
@@ -463,6 +470,7 @@ class EntitiesApi:
463
470
  _param = self._list_entities_serialize(
464
471
  bank_id=bank_id,
465
472
  limit=limit,
473
+ offset=offset,
466
474
  authorization=authorization,
467
475
  _request_auth=_request_auth,
468
476
  _content_type=_content_type,
@@ -490,6 +498,7 @@ class EntitiesApi:
490
498
  self,
491
499
  bank_id: StrictStr,
492
500
  limit: Annotated[Optional[StrictInt], Field(description="Maximum number of entities to return")] = None,
501
+ offset: Annotated[Optional[StrictInt], Field(description="Offset for pagination")] = None,
493
502
  authorization: Optional[StrictStr] = None,
494
503
  _request_timeout: Union[
495
504
  None,
@@ -506,12 +515,14 @@ class EntitiesApi:
506
515
  ) -> RESTResponseType:
507
516
  """List entities
508
517
 
509
- List all entities (people, organizations, etc.) known by the bank, ordered by mention count.
518
+ List all entities (people, organizations, etc.) known by the bank, ordered by mention count. Supports pagination.
510
519
 
511
520
  :param bank_id: (required)
512
521
  :type bank_id: str
513
522
  :param limit: Maximum number of entities to return
514
523
  :type limit: int
524
+ :param offset: Offset for pagination
525
+ :type offset: int
515
526
  :param authorization:
516
527
  :type authorization: str
517
528
  :param _request_timeout: timeout setting for this request. If one
@@ -539,6 +550,7 @@ class EntitiesApi:
539
550
  _param = self._list_entities_serialize(
540
551
  bank_id=bank_id,
541
552
  limit=limit,
553
+ offset=offset,
542
554
  authorization=authorization,
543
555
  _request_auth=_request_auth,
544
556
  _content_type=_content_type,
@@ -561,6 +573,7 @@ class EntitiesApi:
561
573
  self,
562
574
  bank_id,
563
575
  limit,
576
+ offset,
564
577
  authorization,
565
578
  _request_auth,
566
579
  _content_type,
@@ -590,6 +603,10 @@ class EntitiesApi:
590
603
 
591
604
  _query_params.append(('limit', limit))
592
605
 
606
+ if offset is not None:
607
+
608
+ _query_params.append(('offset', offset))
609
+
593
610
  # process the header parameters
594
611
  if authorization is not None:
595
612
  _header_params['authorization'] = authorization