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
+ # DeleteResponse
2
+
3
+ Response model for delete operations.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **success** | **bool** | |
10
+
11
+ ## Example
12
+
13
+ ```python
14
+ from hindsight_client_api.models.delete_response import DeleteResponse
15
+
16
+ # TODO update the JSON string below
17
+ json = "{}"
18
+ # create an instance of DeleteResponse from a JSON string
19
+ delete_response_instance = DeleteResponse.from_json(json)
20
+ # print the JSON string representation of the object
21
+ print(DeleteResponse.to_json())
22
+
23
+ # convert the object into a dict
24
+ delete_response_dict = delete_response_instance.to_dict()
25
+ # create an instance of DeleteResponse from a dict
26
+ delete_response_from_dict = DeleteResponse.from_dict(delete_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,36 @@
1
+ # DocumentResponse
2
+
3
+ Response model for get document endpoint.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **id** | **str** | |
10
+ **bank_id** | **str** | |
11
+ **original_text** | **str** | |
12
+ **content_hash** | **str** | |
13
+ **created_at** | **str** | |
14
+ **updated_at** | **str** | |
15
+ **memory_unit_count** | **int** | |
16
+
17
+ ## Example
18
+
19
+ ```python
20
+ from hindsight_client_api.models.document_response import DocumentResponse
21
+
22
+ # TODO update the JSON string below
23
+ json = "{}"
24
+ # create an instance of DocumentResponse from a JSON string
25
+ document_response_instance = DocumentResponse.from_json(json)
26
+ # print the JSON string representation of the object
27
+ print(DocumentResponse.to_json())
28
+
29
+ # convert the object into a dict
30
+ document_response_dict = document_response_instance.to_dict()
31
+ # create an instance of DocumentResponse from a dict
32
+ document_response_from_dict = DocumentResponse.from_dict(document_response_dict)
33
+ ```
34
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
35
+
36
+
@@ -0,0 +1,36 @@
1
+ # EntityDetailResponse
2
+
3
+ Response model for entity detail endpoint.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **id** | **str** | |
10
+ **canonical_name** | **str** | |
11
+ **mention_count** | **int** | |
12
+ **first_seen** | **str** | | [optional]
13
+ **last_seen** | **str** | | [optional]
14
+ **metadata** | **Dict[str, object]** | | [optional]
15
+ **observations** | [**List[EntityObservationResponse]**](EntityObservationResponse.md) | |
16
+
17
+ ## Example
18
+
19
+ ```python
20
+ from hindsight_client_api.models.entity_detail_response import EntityDetailResponse
21
+
22
+ # TODO update the JSON string below
23
+ json = "{}"
24
+ # create an instance of EntityDetailResponse from a JSON string
25
+ entity_detail_response_instance = EntityDetailResponse.from_json(json)
26
+ # print the JSON string representation of the object
27
+ print(EntityDetailResponse.to_json())
28
+
29
+ # convert the object into a dict
30
+ entity_detail_response_dict = entity_detail_response_instance.to_dict()
31
+ # create an instance of EntityDetailResponse from a dict
32
+ entity_detail_response_from_dict = EntityDetailResponse.from_dict(entity_detail_response_dict)
33
+ ```
34
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
35
+
36
+
@@ -0,0 +1,30 @@
1
+ # EntityIncludeOptions
2
+
3
+ Options for including entity observations in recall results.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **max_tokens** | **int** | Maximum tokens for entity observations | [optional] [default to 500]
10
+
11
+ ## Example
12
+
13
+ ```python
14
+ from hindsight_client_api.models.entity_include_options import EntityIncludeOptions
15
+
16
+ # TODO update the JSON string below
17
+ json = "{}"
18
+ # create an instance of EntityIncludeOptions from a JSON string
19
+ entity_include_options_instance = EntityIncludeOptions.from_json(json)
20
+ # print the JSON string representation of the object
21
+ print(EntityIncludeOptions.to_json())
22
+
23
+ # convert the object into a dict
24
+ entity_include_options_dict = entity_include_options_instance.to_dict()
25
+ # create an instance of EntityIncludeOptions from a dict
26
+ entity_include_options_from_dict = EntityIncludeOptions.from_dict(entity_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
+ # EntityListItem
2
+
3
+ Entity list item with summary.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **id** | **str** | |
10
+ **canonical_name** | **str** | |
11
+ **mention_count** | **int** | |
12
+ **first_seen** | **str** | | [optional]
13
+ **last_seen** | **str** | | [optional]
14
+ **metadata** | **Dict[str, object]** | | [optional]
15
+
16
+ ## Example
17
+
18
+ ```python
19
+ from hindsight_client_api.models.entity_list_item import EntityListItem
20
+
21
+ # TODO update the JSON string below
22
+ json = "{}"
23
+ # create an instance of EntityListItem from a JSON string
24
+ entity_list_item_instance = EntityListItem.from_json(json)
25
+ # print the JSON string representation of the object
26
+ print(EntityListItem.to_json())
27
+
28
+ # convert the object into a dict
29
+ entity_list_item_dict = entity_list_item_instance.to_dict()
30
+ # create an instance of EntityListItem from a dict
31
+ entity_list_item_from_dict = EntityListItem.from_dict(entity_list_item_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,30 @@
1
+ # EntityListResponse
2
+
3
+ Response model for entity list endpoint.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **items** | [**List[EntityListItem]**](EntityListItem.md) | |
10
+
11
+ ## Example
12
+
13
+ ```python
14
+ from hindsight_client_api.models.entity_list_response import EntityListResponse
15
+
16
+ # TODO update the JSON string below
17
+ json = "{}"
18
+ # create an instance of EntityListResponse from a JSON string
19
+ entity_list_response_instance = EntityListResponse.from_json(json)
20
+ # print the JSON string representation of the object
21
+ print(EntityListResponse.to_json())
22
+
23
+ # convert the object into a dict
24
+ entity_list_response_dict = entity_list_response_instance.to_dict()
25
+ # create an instance of EntityListResponse from a dict
26
+ entity_list_response_from_dict = EntityListResponse.from_dict(entity_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,31 @@
1
+ # EntityObservationResponse
2
+
3
+ An observation about an entity.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **text** | **str** | |
10
+ **mentioned_at** | **str** | | [optional]
11
+
12
+ ## Example
13
+
14
+ ```python
15
+ from hindsight_client_api.models.entity_observation_response import EntityObservationResponse
16
+
17
+ # TODO update the JSON string below
18
+ json = "{}"
19
+ # create an instance of EntityObservationResponse from a JSON string
20
+ entity_observation_response_instance = EntityObservationResponse.from_json(json)
21
+ # print the JSON string representation of the object
22
+ print(EntityObservationResponse.to_json())
23
+
24
+ # convert the object into a dict
25
+ entity_observation_response_dict = entity_observation_response_instance.to_dict()
26
+ # create an instance of EntityObservationResponse from a dict
27
+ entity_observation_response_from_dict = EntityObservationResponse.from_dict(entity_observation_response_dict)
28
+ ```
29
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
30
+
31
+
@@ -0,0 +1,32 @@
1
+ # EntityStateResponse
2
+
3
+ Current mental model of an entity.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **entity_id** | **str** | |
10
+ **canonical_name** | **str** | |
11
+ **observations** | [**List[EntityObservationResponse]**](EntityObservationResponse.md) | |
12
+
13
+ ## Example
14
+
15
+ ```python
16
+ from hindsight_client_api.models.entity_state_response import EntityStateResponse
17
+
18
+ # TODO update the JSON string below
19
+ json = "{}"
20
+ # create an instance of EntityStateResponse from a JSON string
21
+ entity_state_response_instance = EntityStateResponse.from_json(json)
22
+ # print the JSON string representation of the object
23
+ print(EntityStateResponse.to_json())
24
+
25
+ # convert the object into a dict
26
+ entity_state_response_dict = entity_state_response_instance.to_dict()
27
+ # create an instance of EntityStateResponse from a dict
28
+ entity_state_response_from_dict = EntityStateResponse.from_dict(entity_state_response_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
+
@@ -0,0 +1,33 @@
1
+ # GraphDataResponse
2
+
3
+ Response model for graph data endpoint.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **nodes** | **List[Dict[str, object]]** | |
10
+ **edges** | **List[Dict[str, object]]** | |
11
+ **table_rows** | **List[Dict[str, object]]** | |
12
+ **total_units** | **int** | |
13
+
14
+ ## Example
15
+
16
+ ```python
17
+ from hindsight_client_api.models.graph_data_response import GraphDataResponse
18
+
19
+ # TODO update the JSON string below
20
+ json = "{}"
21
+ # create an instance of GraphDataResponse from a JSON string
22
+ graph_data_response_instance = GraphDataResponse.from_json(json)
23
+ # print the JSON string representation of the object
24
+ print(GraphDataResponse.to_json())
25
+
26
+ # convert the object into a dict
27
+ graph_data_response_dict = graph_data_response_instance.to_dict()
28
+ # create an instance of GraphDataResponse from a dict
29
+ graph_data_response_from_dict = GraphDataResponse.from_dict(graph_data_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,29 @@
1
+ # HTTPValidationError
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **detail** | [**List[ValidationError]**](ValidationError.md) | | [optional]
9
+
10
+ ## Example
11
+
12
+ ```python
13
+ from hindsight_client_api.models.http_validation_error import HTTPValidationError
14
+
15
+ # TODO update the JSON string below
16
+ json = "{}"
17
+ # create an instance of HTTPValidationError from a JSON string
18
+ http_validation_error_instance = HTTPValidationError.from_json(json)
19
+ # print the JSON string representation of the object
20
+ print(HTTPValidationError.to_json())
21
+
22
+ # convert the object into a dict
23
+ http_validation_error_dict = http_validation_error_instance.to_dict()
24
+ # create an instance of HTTPValidationError from a dict
25
+ http_validation_error_from_dict = HTTPValidationError.from_dict(http_validation_error_dict)
26
+ ```
27
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
28
+
29
+
@@ -0,0 +1,31 @@
1
+ # IncludeOptions
2
+
3
+ Options for including additional data in recall results.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **entities** | [**EntityIncludeOptions**](EntityIncludeOptions.md) | | [optional]
10
+ **chunks** | [**ChunkIncludeOptions**](ChunkIncludeOptions.md) | | [optional]
11
+
12
+ ## Example
13
+
14
+ ```python
15
+ from hindsight_client_api.models.include_options import IncludeOptions
16
+
17
+ # TODO update the JSON string below
18
+ json = "{}"
19
+ # create an instance of IncludeOptions from a JSON string
20
+ include_options_instance = IncludeOptions.from_json(json)
21
+ # print the JSON string representation of the object
22
+ print(IncludeOptions.to_json())
23
+
24
+ # convert the object into a dict
25
+ include_options_dict = include_options_instance.to_dict()
26
+ # create an instance of IncludeOptions from a dict
27
+ include_options_from_dict = IncludeOptions.from_dict(include_options_dict)
28
+ ```
29
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
30
+
31
+
@@ -0,0 +1,33 @@
1
+ # ListDocumentsResponse
2
+
3
+ Response model for list documents endpoint.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **items** | **List[Dict[str, object]]** | |
10
+ **total** | **int** | |
11
+ **limit** | **int** | |
12
+ **offset** | **int** | |
13
+
14
+ ## Example
15
+
16
+ ```python
17
+ from hindsight_client_api.models.list_documents_response import ListDocumentsResponse
18
+
19
+ # TODO update the JSON string below
20
+ json = "{}"
21
+ # create an instance of ListDocumentsResponse from a JSON string
22
+ list_documents_response_instance = ListDocumentsResponse.from_json(json)
23
+ # print the JSON string representation of the object
24
+ print(ListDocumentsResponse.to_json())
25
+
26
+ # convert the object into a dict
27
+ list_documents_response_dict = list_documents_response_instance.to_dict()
28
+ # create an instance of ListDocumentsResponse from a dict
29
+ list_documents_response_from_dict = ListDocumentsResponse.from_dict(list_documents_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,33 @@
1
+ # ListMemoryUnitsResponse
2
+
3
+ Response model for list memory units endpoint.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **items** | **List[Dict[str, object]]** | |
10
+ **total** | **int** | |
11
+ **limit** | **int** | |
12
+ **offset** | **int** | |
13
+
14
+ ## Example
15
+
16
+ ```python
17
+ from hindsight_client_api.models.list_memory_units_response import ListMemoryUnitsResponse
18
+
19
+ # TODO update the JSON string below
20
+ json = "{}"
21
+ # create an instance of ListMemoryUnitsResponse from a JSON string
22
+ list_memory_units_response_instance = ListMemoryUnitsResponse.from_json(json)
23
+ # print the JSON string representation of the object
24
+ print(ListMemoryUnitsResponse.to_json())
25
+
26
+ # convert the object into a dict
27
+ list_memory_units_response_dict = list_memory_units_response_instance.to_dict()
28
+ # create an instance of ListMemoryUnitsResponse from a dict
29
+ list_memory_units_response_from_dict = ListMemoryUnitsResponse.from_dict(list_memory_units_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,34 @@
1
+ # MemoryItem
2
+
3
+ Single memory item for retain.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **content** | **str** | |
10
+ **timestamp** | **datetime** | | [optional]
11
+ **context** | **str** | | [optional]
12
+ **metadata** | **Dict[str, str]** | | [optional]
13
+ **document_id** | **str** | | [optional]
14
+
15
+ ## Example
16
+
17
+ ```python
18
+ from hindsight_client_api.models.memory_item import MemoryItem
19
+
20
+ # TODO update the JSON string below
21
+ json = "{}"
22
+ # create an instance of MemoryItem from a JSON string
23
+ memory_item_instance = MemoryItem.from_json(json)
24
+ # print the JSON string representation of the object
25
+ print(MemoryItem.to_json())
26
+
27
+ # convert the object into a dict
28
+ memory_item_dict = memory_item_instance.to_dict()
29
+ # create an instance of MemoryItem from a dict
30
+ memory_item_from_dict = MemoryItem.from_dict(memory_item_dict)
31
+ ```
32
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
33
+
34
+
@@ -0,0 +1,32 @@
1
+ # MetadataFilter
2
+
3
+ Filter for metadata fields. Matches records where (key=value) OR (key not set) when match_unset=True.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **key** | **str** | Metadata key to filter on |
10
+ **value** | **str** | | [optional]
11
+ **match_unset** | **bool** | If True, also match records where this metadata key is not set | [optional] [default to True]
12
+
13
+ ## Example
14
+
15
+ ```python
16
+ from hindsight_client_api.models.metadata_filter import MetadataFilter
17
+
18
+ # TODO update the JSON string below
19
+ json = "{}"
20
+ # create an instance of MetadataFilter from a JSON string
21
+ metadata_filter_instance = MetadataFilter.from_json(json)
22
+ # print the JSON string representation of the object
23
+ print(MetadataFilter.to_json())
24
+
25
+ # convert the object into a dict
26
+ metadata_filter_dict = metadata_filter_instance.to_dict()
27
+ # create an instance of MetadataFilter from a dict
28
+ metadata_filter_from_dict = MetadataFilter.from_dict(metadata_filter_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
+
@@ -0,0 +1,72 @@
1
+ # hindsight_client_api.MonitoringApi
2
+
3
+ All URIs are relative to *http://localhost*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**metrics_endpoint_metrics_get**](MonitoringApi.md#metrics_endpoint_metrics_get) | **GET** /metrics | Prometheus metrics endpoint
8
+
9
+
10
+ # **metrics_endpoint_metrics_get**
11
+ > object metrics_endpoint_metrics_get()
12
+
13
+ Prometheus metrics endpoint
14
+
15
+ Exports metrics in Prometheus format for scraping
16
+
17
+ ### Example
18
+
19
+
20
+ ```python
21
+ import hindsight_client_api
22
+ from hindsight_client_api.rest import ApiException
23
+ from pprint import pprint
24
+
25
+ # Defining the host is optional and defaults to http://localhost
26
+ # See configuration.py for a list of all supported configuration parameters.
27
+ configuration = hindsight_client_api.Configuration(
28
+ host = "http://localhost"
29
+ )
30
+
31
+
32
+ # Enter a context with an instance of the API client
33
+ async with hindsight_client_api.ApiClient(configuration) as api_client:
34
+ # Create an instance of the API class
35
+ api_instance = hindsight_client_api.MonitoringApi(api_client)
36
+
37
+ try:
38
+ # Prometheus metrics endpoint
39
+ api_response = await api_instance.metrics_endpoint_metrics_get()
40
+ print("The response of MonitoringApi->metrics_endpoint_metrics_get:\n")
41
+ pprint(api_response)
42
+ except Exception as e:
43
+ print("Exception when calling MonitoringApi->metrics_endpoint_metrics_get: %s\n" % e)
44
+ ```
45
+
46
+
47
+
48
+ ### Parameters
49
+
50
+ This endpoint does not need any parameter.
51
+
52
+ ### Return type
53
+
54
+ **object**
55
+
56
+ ### Authorization
57
+
58
+ No authorization required
59
+
60
+ ### HTTP request headers
61
+
62
+ - **Content-Type**: Not defined
63
+ - **Accept**: application/json
64
+
65
+ ### HTTP response details
66
+
67
+ | Status code | Description | Response headers |
68
+ |-------------|-------------|------------------|
69
+ **200** | Successful Response | - |
70
+
71
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
72
+
@@ -0,0 +1,35 @@
1
+ # PersonalityTraits
2
+
3
+ Personality traits based on Big Five model.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **openness** | **float** | Openness to experience (0-1) |
10
+ **conscientiousness** | **float** | Conscientiousness (0-1) |
11
+ **extraversion** | **float** | Extraversion (0-1) |
12
+ **agreeableness** | **float** | Agreeableness (0-1) |
13
+ **neuroticism** | **float** | Neuroticism (0-1) |
14
+ **bias_strength** | **float** | How strongly personality influences opinions (0-1) |
15
+
16
+ ## Example
17
+
18
+ ```python
19
+ from hindsight_client_api.models.personality_traits import PersonalityTraits
20
+
21
+ # TODO update the JSON string below
22
+ json = "{}"
23
+ # create an instance of PersonalityTraits from a JSON string
24
+ personality_traits_instance = PersonalityTraits.from_json(json)
25
+ # print the JSON string representation of the object
26
+ print(PersonalityTraits.to_json())
27
+
28
+ # convert the object into a dict
29
+ personality_traits_dict = personality_traits_instance.to_dict()
30
+ # create an instance of PersonalityTraits from a dict
31
+ personality_traits_from_dict = PersonalityTraits.from_dict(personality_traits_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,37 @@
1
+ # RecallRequest
2
+
3
+ Request model for recall endpoint.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **query** | **str** | |
10
+ **types** | **List[str]** | | [optional]
11
+ **budget** | [**Budget**](Budget.md) | | [optional]
12
+ **max_tokens** | **int** | | [optional] [default to 4096]
13
+ **trace** | **bool** | | [optional] [default to False]
14
+ **query_timestamp** | **str** | | [optional]
15
+ **filters** | [**List[MetadataFilter]**](MetadataFilter.md) | | [optional]
16
+ **include** | [**IncludeOptions**](IncludeOptions.md) | Options for including additional data (entities are included by default) | [optional]
17
+
18
+ ## Example
19
+
20
+ ```python
21
+ from hindsight_client_api.models.recall_request import RecallRequest
22
+
23
+ # TODO update the JSON string below
24
+ json = "{}"
25
+ # create an instance of RecallRequest from a JSON string
26
+ recall_request_instance = RecallRequest.from_json(json)
27
+ # print the JSON string representation of the object
28
+ print(RecallRequest.to_json())
29
+
30
+ # convert the object into a dict
31
+ recall_request_dict = recall_request_instance.to_dict()
32
+ # create an instance of RecallRequest from a dict
33
+ recall_request_from_dict = RecallRequest.from_dict(recall_request_dict)
34
+ ```
35
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
36
+
37
+
@@ -0,0 +1,33 @@
1
+ # RecallResponse
2
+
3
+ Response model for recall endpoints.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **results** | [**List[RecallResult]**](RecallResult.md) | |
10
+ **trace** | **Dict[str, object]** | | [optional]
11
+ **entities** | [**Dict[str, EntityStateResponse]**](EntityStateResponse.md) | | [optional]
12
+ **chunks** | [**Dict[str, ChunkData]**](ChunkData.md) | | [optional]
13
+
14
+ ## Example
15
+
16
+ ```python
17
+ from hindsight_client_api.models.recall_response import RecallResponse
18
+
19
+ # TODO update the JSON string below
20
+ json = "{}"
21
+ # create an instance of RecallResponse from a JSON string
22
+ recall_response_instance = RecallResponse.from_json(json)
23
+ # print the JSON string representation of the object
24
+ print(RecallResponse.to_json())
25
+
26
+ # convert the object into a dict
27
+ recall_response_dict = recall_response_instance.to_dict()
28
+ # create an instance of RecallResponse from a dict
29
+ recall_response_from_dict = RecallResponse.from_dict(recall_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
+