hindsight-client 0.0.13__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (134) hide show
  1. hindsight_client/__init__.py +26 -0
  2. hindsight_client/hindsight_client.py +432 -0
  3. hindsight_client-0.0.13.dist-info/METADATA +56 -0
  4. hindsight_client-0.0.13.dist-info/RECORD +134 -0
  5. hindsight_client-0.0.13.dist-info/WHEEL +4 -0
  6. hindsight_client_api/__init__.py +126 -0
  7. hindsight_client_api/api/__init__.py +6 -0
  8. hindsight_client_api/api/default_api.py +5976 -0
  9. hindsight_client_api/api/monitoring_api.py +281 -0
  10. hindsight_client_api/api_client.py +807 -0
  11. hindsight_client_api/api_response.py +21 -0
  12. hindsight_client_api/configuration.py +572 -0
  13. hindsight_client_api/docs/AddBackgroundRequest.md +31 -0
  14. hindsight_client_api/docs/BackgroundResponse.md +31 -0
  15. hindsight_client_api/docs/BankListItem.md +35 -0
  16. hindsight_client_api/docs/BankListResponse.md +30 -0
  17. hindsight_client_api/docs/BankProfileResponse.md +33 -0
  18. hindsight_client_api/docs/Budget.md +15 -0
  19. hindsight_client_api/docs/ChunkData.md +33 -0
  20. hindsight_client_api/docs/ChunkIncludeOptions.md +30 -0
  21. hindsight_client_api/docs/ChunkResponse.md +35 -0
  22. hindsight_client_api/docs/CreateBankRequest.md +32 -0
  23. hindsight_client_api/docs/DefaultApi.md +1569 -0
  24. hindsight_client_api/docs/DeleteResponse.md +30 -0
  25. hindsight_client_api/docs/DocumentResponse.md +36 -0
  26. hindsight_client_api/docs/EntityDetailResponse.md +36 -0
  27. hindsight_client_api/docs/EntityIncludeOptions.md +30 -0
  28. hindsight_client_api/docs/EntityListItem.md +35 -0
  29. hindsight_client_api/docs/EntityListResponse.md +30 -0
  30. hindsight_client_api/docs/EntityObservationResponse.md +31 -0
  31. hindsight_client_api/docs/EntityStateResponse.md +32 -0
  32. hindsight_client_api/docs/GraphDataResponse.md +33 -0
  33. hindsight_client_api/docs/HTTPValidationError.md +29 -0
  34. hindsight_client_api/docs/IncludeOptions.md +31 -0
  35. hindsight_client_api/docs/ListDocumentsResponse.md +33 -0
  36. hindsight_client_api/docs/ListMemoryUnitsResponse.md +33 -0
  37. hindsight_client_api/docs/MemoryItem.md +34 -0
  38. hindsight_client_api/docs/MetadataFilter.md +32 -0
  39. hindsight_client_api/docs/MonitoringApi.md +72 -0
  40. hindsight_client_api/docs/PersonalityTraits.md +35 -0
  41. hindsight_client_api/docs/RecallRequest.md +37 -0
  42. hindsight_client_api/docs/RecallResponse.md +33 -0
  43. hindsight_client_api/docs/RecallResult.md +40 -0
  44. hindsight_client_api/docs/ReflectFact.md +35 -0
  45. hindsight_client_api/docs/ReflectIncludeOptions.md +30 -0
  46. hindsight_client_api/docs/ReflectRequest.md +34 -0
  47. hindsight_client_api/docs/ReflectResponse.md +31 -0
  48. hindsight_client_api/docs/RetainRequest.md +31 -0
  49. hindsight_client_api/docs/RetainResponse.md +33 -0
  50. hindsight_client_api/docs/UpdatePersonalityRequest.md +30 -0
  51. hindsight_client_api/docs/ValidationError.md +31 -0
  52. hindsight_client_api/docs/ValidationErrorLocInner.md +28 -0
  53. hindsight_client_api/exceptions.py +219 -0
  54. hindsight_client_api/models/__init__.py +54 -0
  55. hindsight_client_api/models/add_background_request.py +89 -0
  56. hindsight_client_api/models/background_response.py +98 -0
  57. hindsight_client_api/models/bank_list_item.py +111 -0
  58. hindsight_client_api/models/bank_list_response.py +95 -0
  59. hindsight_client_api/models/bank_profile_response.py +97 -0
  60. hindsight_client_api/models/budget.py +38 -0
  61. hindsight_client_api/models/chunk_data.py +93 -0
  62. hindsight_client_api/models/chunk_include_options.py +87 -0
  63. hindsight_client_api/models/chunk_response.py +97 -0
  64. hindsight_client_api/models/create_bank_request.py +110 -0
  65. hindsight_client_api/models/delete_response.py +87 -0
  66. hindsight_client_api/models/document_response.py +104 -0
  67. hindsight_client_api/models/entity_detail_response.py +122 -0
  68. hindsight_client_api/models/entity_include_options.py +87 -0
  69. hindsight_client_api/models/entity_list_item.py +112 -0
  70. hindsight_client_api/models/entity_list_response.py +95 -0
  71. hindsight_client_api/models/entity_observation_response.py +94 -0
  72. hindsight_client_api/models/entity_state_response.py +99 -0
  73. hindsight_client_api/models/graph_data_response.py +93 -0
  74. hindsight_client_api/models/http_validation_error.py +95 -0
  75. hindsight_client_api/models/include_options.py +107 -0
  76. hindsight_client_api/models/list_documents_response.py +93 -0
  77. hindsight_client_api/models/list_memory_units_response.py +93 -0
  78. hindsight_client_api/models/memory_item.py +116 -0
  79. hindsight_client_api/models/metadata_filter.py +96 -0
  80. hindsight_client_api/models/personality_traits.py +98 -0
  81. hindsight_client_api/models/recall_request.py +129 -0
  82. hindsight_client_api/models/recall_response.py +142 -0
  83. hindsight_client_api/models/recall_result.py +152 -0
  84. hindsight_client_api/models/reflect_fact.py +122 -0
  85. hindsight_client_api/models/reflect_include_options.py +87 -0
  86. hindsight_client_api/models/reflect_request.py +118 -0
  87. hindsight_client_api/models/reflect_response.py +97 -0
  88. hindsight_client_api/models/retain_request.py +97 -0
  89. hindsight_client_api/models/retain_response.py +93 -0
  90. hindsight_client_api/models/update_personality_request.py +91 -0
  91. hindsight_client_api/models/validation_error.py +99 -0
  92. hindsight_client_api/models/validation_error_loc_inner.py +138 -0
  93. hindsight_client_api/rest.py +213 -0
  94. hindsight_client_api/test/__init__.py +0 -0
  95. hindsight_client_api/test/test_add_background_request.py +53 -0
  96. hindsight_client_api/test/test_background_response.py +53 -0
  97. hindsight_client_api/test/test_bank_list_item.py +60 -0
  98. hindsight_client_api/test/test_bank_list_response.py +68 -0
  99. hindsight_client_api/test/test_bank_profile_response.py +58 -0
  100. hindsight_client_api/test/test_budget.py +33 -0
  101. hindsight_client_api/test/test_chunk_data.py +57 -0
  102. hindsight_client_api/test/test_chunk_include_options.py +51 -0
  103. hindsight_client_api/test/test_chunk_response.py +62 -0
  104. hindsight_client_api/test/test_create_bank_request.py +53 -0
  105. hindsight_client_api/test/test_default_api.py +178 -0
  106. hindsight_client_api/test/test_delete_response.py +52 -0
  107. hindsight_client_api/test/test_document_response.py +64 -0
  108. hindsight_client_api/test/test_entity_detail_response.py +71 -0
  109. hindsight_client_api/test/test_entity_include_options.py +51 -0
  110. hindsight_client_api/test/test_entity_list_item.py +61 -0
  111. hindsight_client_api/test/test_entity_list_response.py +56 -0
  112. hindsight_client_api/test/test_entity_observation_response.py +53 -0
  113. hindsight_client_api/test/test_entity_state_response.py +64 -0
  114. hindsight_client_api/test/test_graph_data_response.py +82 -0
  115. hindsight_client_api/test/test_http_validation_error.py +58 -0
  116. hindsight_client_api/test/test_include_options.py +54 -0
  117. hindsight_client_api/test/test_list_documents_response.py +66 -0
  118. hindsight_client_api/test/test_list_memory_units_response.py +66 -0
  119. hindsight_client_api/test/test_memory_item.py +58 -0
  120. hindsight_client_api/test/test_metadata_filter.py +54 -0
  121. hindsight_client_api/test/test_monitoring_api.py +38 -0
  122. hindsight_client_api/test/test_personality_traits.py +62 -0
  123. hindsight_client_api/test/test_recall_request.py +67 -0
  124. hindsight_client_api/test/test_recall_response.py +76 -0
  125. hindsight_client_api/test/test_recall_result.py +67 -0
  126. hindsight_client_api/test/test_reflect_fact.py +57 -0
  127. hindsight_client_api/test/test_reflect_include_options.py +51 -0
  128. hindsight_client_api/test/test_reflect_request.py +59 -0
  129. hindsight_client_api/test/test_reflect_response.py +55 -0
  130. hindsight_client_api/test/test_retain_request.py +57 -0
  131. hindsight_client_api/test/test_retain_response.py +58 -0
  132. hindsight_client_api/test/test_update_personality_request.py +52 -0
  133. hindsight_client_api/test/test_validation_error.py +60 -0
  134. hindsight_client_api/test/test_validation_error_loc_inner.py +50 -0
@@ -0,0 +1,30 @@
1
+ # BankListResponse
2
+
3
+ Response model for listing all banks.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **banks** | [**List[BankListItem]**](BankListItem.md) | |
10
+
11
+ ## Example
12
+
13
+ ```python
14
+ from hindsight_client_api.models.bank_list_response import BankListResponse
15
+
16
+ # TODO update the JSON string below
17
+ json = "{}"
18
+ # create an instance of BankListResponse from a JSON string
19
+ bank_list_response_instance = BankListResponse.from_json(json)
20
+ # print the JSON string representation of the object
21
+ print(BankListResponse.to_json())
22
+
23
+ # convert the object into a dict
24
+ bank_list_response_dict = bank_list_response_instance.to_dict()
25
+ # create an instance of BankListResponse from a dict
26
+ bank_list_response_from_dict = BankListResponse.from_dict(bank_list_response_dict)
27
+ ```
28
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
29
+
30
+
@@ -0,0 +1,33 @@
1
+ # BankProfileResponse
2
+
3
+ Response model for bank profile.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **bank_id** | **str** | |
10
+ **name** | **str** | |
11
+ **personality** | [**PersonalityTraits**](PersonalityTraits.md) | |
12
+ **background** | **str** | |
13
+
14
+ ## Example
15
+
16
+ ```python
17
+ from hindsight_client_api.models.bank_profile_response import BankProfileResponse
18
+
19
+ # TODO update the JSON string below
20
+ json = "{}"
21
+ # create an instance of BankProfileResponse from a JSON string
22
+ bank_profile_response_instance = BankProfileResponse.from_json(json)
23
+ # print the JSON string representation of the object
24
+ print(BankProfileResponse.to_json())
25
+
26
+ # convert the object into a dict
27
+ bank_profile_response_dict = bank_profile_response_instance.to_dict()
28
+ # create an instance of BankProfileResponse from a dict
29
+ bank_profile_response_from_dict = BankProfileResponse.from_dict(bank_profile_response_dict)
30
+ ```
31
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
32
+
33
+
@@ -0,0 +1,15 @@
1
+ # Budget
2
+
3
+ Budget levels for recall/reflect operations.
4
+
5
+ ## Enum
6
+
7
+ * `LOW` (value: `'low'`)
8
+
9
+ * `MID` (value: `'mid'`)
10
+
11
+ * `HIGH` (value: `'high'`)
12
+
13
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
14
+
15
+
@@ -0,0 +1,33 @@
1
+ # ChunkData
2
+
3
+ Chunk data for a single chunk.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **id** | **str** | |
10
+ **text** | **str** | |
11
+ **chunk_index** | **int** | |
12
+ **truncated** | **bool** | Whether the chunk text was truncated due to token limits | [optional] [default to False]
13
+
14
+ ## Example
15
+
16
+ ```python
17
+ from hindsight_client_api.models.chunk_data import ChunkData
18
+
19
+ # TODO update the JSON string below
20
+ json = "{}"
21
+ # create an instance of ChunkData from a JSON string
22
+ chunk_data_instance = ChunkData.from_json(json)
23
+ # print the JSON string representation of the object
24
+ print(ChunkData.to_json())
25
+
26
+ # convert the object into a dict
27
+ chunk_data_dict = chunk_data_instance.to_dict()
28
+ # create an instance of ChunkData from a dict
29
+ chunk_data_from_dict = ChunkData.from_dict(chunk_data_dict)
30
+ ```
31
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
32
+
33
+
@@ -0,0 +1,30 @@
1
+ # ChunkIncludeOptions
2
+
3
+ Options for including chunks in recall results.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **max_tokens** | **int** | Maximum tokens for chunks (chunks may be truncated) | [optional] [default to 8192]
10
+
11
+ ## Example
12
+
13
+ ```python
14
+ from hindsight_client_api.models.chunk_include_options import ChunkIncludeOptions
15
+
16
+ # TODO update the JSON string below
17
+ json = "{}"
18
+ # create an instance of ChunkIncludeOptions from a JSON string
19
+ chunk_include_options_instance = ChunkIncludeOptions.from_json(json)
20
+ # print the JSON string representation of the object
21
+ print(ChunkIncludeOptions.to_json())
22
+
23
+ # convert the object into a dict
24
+ chunk_include_options_dict = chunk_include_options_instance.to_dict()
25
+ # create an instance of ChunkIncludeOptions from a dict
26
+ chunk_include_options_from_dict = ChunkIncludeOptions.from_dict(chunk_include_options_dict)
27
+ ```
28
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
29
+
30
+
@@ -0,0 +1,35 @@
1
+ # ChunkResponse
2
+
3
+ Response model for get chunk endpoint.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **chunk_id** | **str** | |
10
+ **document_id** | **str** | |
11
+ **bank_id** | **str** | |
12
+ **chunk_index** | **int** | |
13
+ **chunk_text** | **str** | |
14
+ **created_at** | **str** | |
15
+
16
+ ## Example
17
+
18
+ ```python
19
+ from hindsight_client_api.models.chunk_response import ChunkResponse
20
+
21
+ # TODO update the JSON string below
22
+ json = "{}"
23
+ # create an instance of ChunkResponse from a JSON string
24
+ chunk_response_instance = ChunkResponse.from_json(json)
25
+ # print the JSON string representation of the object
26
+ print(ChunkResponse.to_json())
27
+
28
+ # convert the object into a dict
29
+ chunk_response_dict = chunk_response_instance.to_dict()
30
+ # create an instance of ChunkResponse from a dict
31
+ chunk_response_from_dict = ChunkResponse.from_dict(chunk_response_dict)
32
+ ```
33
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
34
+
35
+
@@ -0,0 +1,32 @@
1
+ # CreateBankRequest
2
+
3
+ Request model for creating/updating a bank.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **name** | **str** | | [optional]
10
+ **personality** | [**PersonalityTraits**](PersonalityTraits.md) | | [optional]
11
+ **background** | **str** | | [optional]
12
+
13
+ ## Example
14
+
15
+ ```python
16
+ from hindsight_client_api.models.create_bank_request import CreateBankRequest
17
+
18
+ # TODO update the JSON string below
19
+ json = "{}"
20
+ # create an instance of CreateBankRequest from a JSON string
21
+ create_bank_request_instance = CreateBankRequest.from_json(json)
22
+ # print the JSON string representation of the object
23
+ print(CreateBankRequest.to_json())
24
+
25
+ # convert the object into a dict
26
+ create_bank_request_dict = create_bank_request_instance.to_dict()
27
+ # create an instance of CreateBankRequest from a dict
28
+ create_bank_request_from_dict = CreateBankRequest.from_dict(create_bank_request_dict)
29
+ ```
30
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
31
+
32
+