hindsight-client 0.0.18__py3-none-any.whl → 0.0.20__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 (36) hide show
  1. hindsight_client/hindsight_client.py +3 -3
  2. hindsight_client-0.0.20.dist-info/METADATA +18 -0
  3. {hindsight_client-0.0.18.dist-info → hindsight_client-0.0.20.dist-info}/RECORD +34 -34
  4. hindsight_client_api/__init__.py +4 -4
  5. hindsight_client_api/api/default_api.py +56 -56
  6. hindsight_client_api/api/monitoring_api.py +245 -0
  7. hindsight_client_api/docs/AddBackgroundRequest.md +1 -1
  8. hindsight_client_api/docs/BackgroundResponse.md +1 -1
  9. hindsight_client_api/docs/BankListItem.md +1 -1
  10. hindsight_client_api/docs/BankProfileResponse.md +1 -1
  11. hindsight_client_api/docs/CreateBankRequest.md +1 -1
  12. hindsight_client_api/docs/DefaultApi.md +21 -22
  13. hindsight_client_api/docs/{PersonalityTraits.md → DispositionTraits.md} +10 -10
  14. hindsight_client_api/docs/MonitoringApi.md +64 -0
  15. hindsight_client_api/docs/UpdateDispositionRequest.md +30 -0
  16. hindsight_client_api/models/__init__.py +2 -2
  17. hindsight_client_api/models/add_background_request.py +3 -3
  18. hindsight_client_api/models/background_response.py +10 -10
  19. hindsight_client_api/models/bank_list_item.py +7 -7
  20. hindsight_client_api/models/bank_profile_response.py +7 -7
  21. hindsight_client_api/models/create_bank_request.py +10 -10
  22. hindsight_client_api/models/{personality_traits.py → disposition_traits.py} +5 -5
  23. hindsight_client_api/models/{update_personality_request.py → update_disposition_request.py} +11 -11
  24. hindsight_client_api/test/test_add_background_request.py +1 -1
  25. hindsight_client_api/test/test_background_response.py +1 -1
  26. hindsight_client_api/test/test_bank_list_item.py +2 -2
  27. hindsight_client_api/test/test_bank_list_response.py +2 -2
  28. hindsight_client_api/test/test_bank_profile_response.py +2 -2
  29. hindsight_client_api/test/test_create_bank_request.py +1 -1
  30. hindsight_client_api/test/test_default_api.py +3 -3
  31. hindsight_client_api/test/{test_personality_traits.py → test_disposition_traits.py} +11 -11
  32. hindsight_client_api/test/test_monitoring_api.py +7 -0
  33. hindsight_client_api/test/{test_update_personality_request.py → test_update_disposition_request.py} +13 -13
  34. hindsight_client-0.0.18.dist-info/METADATA +0 -56
  35. hindsight_client_api/docs/UpdatePersonalityRequest.md +0 -30
  36. {hindsight_client-0.0.18.dist-info → hindsight_client-0.0.20.dist-info}/WHEEL +0 -0
@@ -36,6 +36,251 @@ class MonitoringApi:
36
36
  self.api_client = api_client
37
37
 
38
38
 
39
+ @validate_call
40
+ async def health_endpoint_health_get(
41
+ self,
42
+ _request_timeout: Union[
43
+ None,
44
+ Annotated[StrictFloat, Field(gt=0)],
45
+ Tuple[
46
+ Annotated[StrictFloat, Field(gt=0)],
47
+ Annotated[StrictFloat, Field(gt=0)]
48
+ ]
49
+ ] = None,
50
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
51
+ _content_type: Optional[StrictStr] = None,
52
+ _headers: Optional[Dict[StrictStr, Any]] = None,
53
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
54
+ ) -> object:
55
+ """Health check endpoint
56
+
57
+ Checks the health of the API and database connection
58
+
59
+ :param _request_timeout: timeout setting for this request. If one
60
+ number provided, it will be total request
61
+ timeout. It can also be a pair (tuple) of
62
+ (connection, read) timeouts.
63
+ :type _request_timeout: int, tuple(int, int), optional
64
+ :param _request_auth: set to override the auth_settings for an a single
65
+ request; this effectively ignores the
66
+ authentication in the spec for a single request.
67
+ :type _request_auth: dict, optional
68
+ :param _content_type: force content-type for the request.
69
+ :type _content_type: str, Optional
70
+ :param _headers: set to override the headers for a single
71
+ request; this effectively ignores the headers
72
+ in the spec for a single request.
73
+ :type _headers: dict, optional
74
+ :param _host_index: set to override the host_index for a single
75
+ request; this effectively ignores the host_index
76
+ in the spec for a single request.
77
+ :type _host_index: int, optional
78
+ :return: Returns the result object.
79
+ """ # noqa: E501
80
+
81
+ _param = self._health_endpoint_health_get_serialize(
82
+ _request_auth=_request_auth,
83
+ _content_type=_content_type,
84
+ _headers=_headers,
85
+ _host_index=_host_index
86
+ )
87
+
88
+ _response_types_map: Dict[str, Optional[str]] = {
89
+ '200': "object",
90
+ }
91
+ response_data = await self.api_client.call_api(
92
+ *_param,
93
+ _request_timeout=_request_timeout
94
+ )
95
+ await response_data.read()
96
+ return self.api_client.response_deserialize(
97
+ response_data=response_data,
98
+ response_types_map=_response_types_map,
99
+ ).data
100
+
101
+
102
+ @validate_call
103
+ async def health_endpoint_health_get_with_http_info(
104
+ self,
105
+ _request_timeout: Union[
106
+ None,
107
+ Annotated[StrictFloat, Field(gt=0)],
108
+ Tuple[
109
+ Annotated[StrictFloat, Field(gt=0)],
110
+ Annotated[StrictFloat, Field(gt=0)]
111
+ ]
112
+ ] = None,
113
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
114
+ _content_type: Optional[StrictStr] = None,
115
+ _headers: Optional[Dict[StrictStr, Any]] = None,
116
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
117
+ ) -> ApiResponse[object]:
118
+ """Health check endpoint
119
+
120
+ Checks the health of the API and database connection
121
+
122
+ :param _request_timeout: timeout setting for this request. If one
123
+ number provided, it will be total request
124
+ timeout. It can also be a pair (tuple) of
125
+ (connection, read) timeouts.
126
+ :type _request_timeout: int, tuple(int, int), optional
127
+ :param _request_auth: set to override the auth_settings for an a single
128
+ request; this effectively ignores the
129
+ authentication in the spec for a single request.
130
+ :type _request_auth: dict, optional
131
+ :param _content_type: force content-type for the request.
132
+ :type _content_type: str, Optional
133
+ :param _headers: set to override the headers for a single
134
+ request; this effectively ignores the headers
135
+ in the spec for a single request.
136
+ :type _headers: dict, optional
137
+ :param _host_index: set to override the host_index for a single
138
+ request; this effectively ignores the host_index
139
+ in the spec for a single request.
140
+ :type _host_index: int, optional
141
+ :return: Returns the result object.
142
+ """ # noqa: E501
143
+
144
+ _param = self._health_endpoint_health_get_serialize(
145
+ _request_auth=_request_auth,
146
+ _content_type=_content_type,
147
+ _headers=_headers,
148
+ _host_index=_host_index
149
+ )
150
+
151
+ _response_types_map: Dict[str, Optional[str]] = {
152
+ '200': "object",
153
+ }
154
+ response_data = await self.api_client.call_api(
155
+ *_param,
156
+ _request_timeout=_request_timeout
157
+ )
158
+ await response_data.read()
159
+ return self.api_client.response_deserialize(
160
+ response_data=response_data,
161
+ response_types_map=_response_types_map,
162
+ )
163
+
164
+
165
+ @validate_call
166
+ async def health_endpoint_health_get_without_preload_content(
167
+ self,
168
+ _request_timeout: Union[
169
+ None,
170
+ Annotated[StrictFloat, Field(gt=0)],
171
+ Tuple[
172
+ Annotated[StrictFloat, Field(gt=0)],
173
+ Annotated[StrictFloat, Field(gt=0)]
174
+ ]
175
+ ] = None,
176
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
177
+ _content_type: Optional[StrictStr] = None,
178
+ _headers: Optional[Dict[StrictStr, Any]] = None,
179
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
180
+ ) -> RESTResponseType:
181
+ """Health check endpoint
182
+
183
+ Checks the health of the API and database connection
184
+
185
+ :param _request_timeout: timeout setting for this request. If one
186
+ number provided, it will be total request
187
+ timeout. It can also be a pair (tuple) of
188
+ (connection, read) timeouts.
189
+ :type _request_timeout: int, tuple(int, int), optional
190
+ :param _request_auth: set to override the auth_settings for an a single
191
+ request; this effectively ignores the
192
+ authentication in the spec for a single request.
193
+ :type _request_auth: dict, optional
194
+ :param _content_type: force content-type for the request.
195
+ :type _content_type: str, Optional
196
+ :param _headers: set to override the headers for a single
197
+ request; this effectively ignores the headers
198
+ in the spec for a single request.
199
+ :type _headers: dict, optional
200
+ :param _host_index: set to override the host_index for a single
201
+ request; this effectively ignores the host_index
202
+ in the spec for a single request.
203
+ :type _host_index: int, optional
204
+ :return: Returns the result object.
205
+ """ # noqa: E501
206
+
207
+ _param = self._health_endpoint_health_get_serialize(
208
+ _request_auth=_request_auth,
209
+ _content_type=_content_type,
210
+ _headers=_headers,
211
+ _host_index=_host_index
212
+ )
213
+
214
+ _response_types_map: Dict[str, Optional[str]] = {
215
+ '200': "object",
216
+ }
217
+ response_data = await self.api_client.call_api(
218
+ *_param,
219
+ _request_timeout=_request_timeout
220
+ )
221
+ return response_data.response
222
+
223
+
224
+ def _health_endpoint_health_get_serialize(
225
+ self,
226
+ _request_auth,
227
+ _content_type,
228
+ _headers,
229
+ _host_index,
230
+ ) -> RequestSerialized:
231
+
232
+ _host = None
233
+
234
+ _collection_formats: Dict[str, str] = {
235
+ }
236
+
237
+ _path_params: Dict[str, str] = {}
238
+ _query_params: List[Tuple[str, str]] = []
239
+ _header_params: Dict[str, Optional[str]] = _headers or {}
240
+ _form_params: List[Tuple[str, str]] = []
241
+ _files: Dict[
242
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
243
+ ] = {}
244
+ _body_params: Optional[bytes] = None
245
+
246
+ # process the path parameters
247
+ # process the query parameters
248
+ # process the header parameters
249
+ # process the form parameters
250
+ # process the body parameter
251
+
252
+
253
+ # set the HTTP header `Accept`
254
+ if 'Accept' not in _header_params:
255
+ _header_params['Accept'] = self.api_client.select_header_accept(
256
+ [
257
+ 'application/json'
258
+ ]
259
+ )
260
+
261
+
262
+ # authentication setting
263
+ _auth_settings: List[str] = [
264
+ ]
265
+
266
+ return self.api_client.param_serialize(
267
+ method='GET',
268
+ resource_path='/health',
269
+ path_params=_path_params,
270
+ query_params=_query_params,
271
+ header_params=_header_params,
272
+ body=_body_params,
273
+ post_params=_form_params,
274
+ files=_files,
275
+ auth_settings=_auth_settings,
276
+ collection_formats=_collection_formats,
277
+ _host=_host,
278
+ _request_auth=_request_auth
279
+ )
280
+
281
+
282
+
283
+
39
284
  @validate_call
40
285
  async def metrics_endpoint_metrics_get(
41
286
  self,
@@ -7,7 +7,7 @@ Request model for adding/merging background information.
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
9
  **content** | **str** | New background information to add or merge |
10
- **update_personality** | **bool** | If true, infer Big Five personality traits from the merged background (default: true) | [optional] [default to True]
10
+ **update_disposition** | **bool** | If true, infer Big Five disposition traits from the merged background (default: true) | [optional] [default to True]
11
11
 
12
12
  ## Example
13
13
 
@@ -7,7 +7,7 @@ Response model for background update.
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
9
  **background** | **str** | |
10
- **personality** | [**PersonalityTraits**](PersonalityTraits.md) | | [optional]
10
+ **disposition** | [**DispositionTraits**](DispositionTraits.md) | | [optional]
11
11
 
12
12
  ## Example
13
13
 
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
9
  **bank_id** | **str** | |
10
10
  **name** | **str** | |
11
- **personality** | [**PersonalityTraits**](PersonalityTraits.md) | |
11
+ **disposition** | [**DispositionTraits**](DispositionTraits.md) | |
12
12
  **background** | **str** | |
13
13
  **created_at** | **str** | | [optional]
14
14
  **updated_at** | **str** | | [optional]
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
9
  **bank_id** | **str** | |
10
10
  **name** | **str** | |
11
- **personality** | [**PersonalityTraits**](PersonalityTraits.md) | |
11
+ **disposition** | [**DispositionTraits**](DispositionTraits.md) | |
12
12
  **background** | **str** | |
13
13
 
14
14
  ## Example
@@ -7,7 +7,7 @@ Request model for creating/updating a bank.
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
9
  **name** | **str** | | [optional]
10
- **personality** | [**PersonalityTraits**](PersonalityTraits.md) | | [optional]
10
+ **disposition** | [**DispositionTraits**](DispositionTraits.md) | | [optional]
11
11
  **background** | **str** | | [optional]
12
12
 
13
13
  ## Example
@@ -24,7 +24,7 @@ Method | HTTP request | Description
24
24
  [**reflect**](DefaultApi.md#reflect) | **POST** /v1/default/banks/{bank_id}/reflect | Reflect and generate answer
25
25
  [**regenerate_entity_observations**](DefaultApi.md#regenerate_entity_observations) | **POST** /v1/default/banks/{bank_id}/entities/{entity_id}/regenerate | Regenerate entity observations
26
26
  [**retain_memories**](DefaultApi.md#retain_memories) | **POST** /v1/default/banks/{bank_id}/memories | Retain memories
27
- [**update_bank_personality**](DefaultApi.md#update_bank_personality) | **PUT** /v1/default/banks/{bank_id}/profile | Update memory bank personality
27
+ [**update_bank_disposition**](DefaultApi.md#update_bank_disposition) | **PUT** /v1/default/banks/{bank_id}/profile | Update memory bank disposition
28
28
 
29
29
 
30
30
  # **add_bank_background**
@@ -32,7 +32,7 @@ Method | HTTP request | Description
32
32
 
33
33
  Add/merge memory bank background
34
34
 
35
- Add new background information or merge with existing. LLM intelligently resolves conflicts, normalizes to first person, and optionally infers personality traits.
35
+ Add new background information or merge with existing. LLM intelligently resolves conflicts, normalizes to first person, and optionally infers disposition traits.
36
36
 
37
37
  ### Example
38
38
 
@@ -174,7 +174,7 @@ No authorization required
174
174
 
175
175
  Clear memory bank memories
176
176
 
177
- Delete memory units for a memory bank. Optionally filter by type (world, agent, opinion) to delete only specific types. This is a destructive operation that cannot be undone. The bank profile (personality and background) will be preserved.
177
+ Delete memory units for a memory bank. Optionally filter by type (world, experience, opinion) to delete only specific types. This is a destructive operation that cannot be undone. The bank profile (personality and background) will be preserved.
178
178
 
179
179
  ### Example
180
180
 
@@ -197,7 +197,7 @@ async with hindsight_client_api.ApiClient(configuration) as api_client:
197
197
  # Create an instance of the API class
198
198
  api_instance = hindsight_client_api.DefaultApi(api_client)
199
199
  bank_id = 'bank_id_example' # str |
200
- type = 'type_example' # str | Optional fact type filter (world, agent, opinion) (optional)
200
+ type = 'type_example' # str | Optional fact type filter (world, experience, opinion) (optional)
201
201
 
202
202
  try:
203
203
  # Clear memory bank memories
@@ -216,7 +216,7 @@ async with hindsight_client_api.ApiClient(configuration) as api_client:
216
216
  Name | Type | Description | Notes
217
217
  ------------- | ------------- | ------------- | -------------
218
218
  **bank_id** | **str**| |
219
- **type** | **str**| Optional fact type filter (world, agent, opinion) | [optional]
219
+ **type** | **str**| Optional fact type filter (world, experience, opinion) | [optional]
220
220
 
221
221
  ### Return type
222
222
 
@@ -245,7 +245,7 @@ No authorization required
245
245
 
246
246
  Create or update memory bank
247
247
 
248
- Create a new agent or update existing agent with personality and background. Auto-fills missing fields with defaults.
248
+ Create a new agent or update existing agent with disposition and background. Auto-fills missing fields with defaults.
249
249
 
250
250
  ### Example
251
251
 
@@ -462,7 +462,7 @@ No authorization required
462
462
 
463
463
  Get memory bank profile
464
464
 
465
- Get personality traits and background for a memory bank. Auto-creates agent with defaults if not exists.
465
+ Get disposition traits and background for a memory bank. Auto-creates agent with defaults if not exists.
466
466
 
467
467
  ### Example
468
468
 
@@ -742,7 +742,7 @@ No authorization required
742
742
 
743
743
  Get memory graph data
744
744
 
745
- Retrieve graph data for visualization, optionally filtered by type (world/agent/opinion). Limited to 1000 most recent items.
745
+ Retrieve graph data for visualization, optionally filtered by type (world/experience/opinion). Limited to 1000 most recent items.
746
746
 
747
747
  ### Example
748
748
 
@@ -1172,9 +1172,8 @@ Recall memory using semantic similarity and spreading activation.
1172
1172
 
1173
1173
  The type parameter is optional and must be one of:
1174
1174
  - 'world': General knowledge about people, places, events, and things that happen
1175
- - 'agent': Memories about what the AI agent did, actions taken, and tasks performed
1175
+ - 'experience': Memories about experience, conversations, actions taken, and tasks performed
1176
1176
  - 'opinion': The bank's formed beliefs, perspectives, and viewpoints
1177
- - 'observation': Synthesized observations about entities (generated automatically)
1178
1177
 
1179
1178
  Set include_entities=true to get entity observations alongside recall results.
1180
1179
 
@@ -1251,7 +1250,7 @@ Reflect and generate answer
1251
1250
  Reflect and formulate an answer using bank identity, world facts, and opinions.
1252
1251
 
1253
1252
  This endpoint:
1254
- 1. Retrieves agent facts (bank's identity)
1253
+ 1. Retrieves experience (conversations and events)
1255
1254
  2. Retrieves world facts relevant to the query
1256
1255
  3. Retrieves existing opinions (bank's perspectives)
1257
1256
  4. Uses LLM to formulate a contextual answer
@@ -1495,12 +1494,12 @@ No authorization required
1495
1494
 
1496
1495
  [[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)
1497
1496
 
1498
- # **update_bank_personality**
1499
- > BankProfileResponse update_bank_personality(bank_id, update_personality_request)
1497
+ # **update_bank_disposition**
1498
+ > BankProfileResponse update_bank_disposition(bank_id, update_disposition_request)
1500
1499
 
1501
- Update memory bank personality
1500
+ Update memory bank disposition
1502
1501
 
1503
- Update bank's Big Five personality traits and bias strength
1502
+ Update bank's Big Five disposition traits and bias strength
1504
1503
 
1505
1504
  ### Example
1506
1505
 
@@ -1508,7 +1507,7 @@ Update bank's Big Five personality traits and bias strength
1508
1507
  ```python
1509
1508
  import hindsight_client_api
1510
1509
  from hindsight_client_api.models.bank_profile_response import BankProfileResponse
1511
- from hindsight_client_api.models.update_personality_request import UpdatePersonalityRequest
1510
+ from hindsight_client_api.models.update_disposition_request import UpdateDispositionRequest
1512
1511
  from hindsight_client_api.rest import ApiException
1513
1512
  from pprint import pprint
1514
1513
 
@@ -1524,15 +1523,15 @@ async with hindsight_client_api.ApiClient(configuration) as api_client:
1524
1523
  # Create an instance of the API class
1525
1524
  api_instance = hindsight_client_api.DefaultApi(api_client)
1526
1525
  bank_id = 'bank_id_example' # str |
1527
- update_personality_request = hindsight_client_api.UpdatePersonalityRequest() # UpdatePersonalityRequest |
1526
+ update_disposition_request = hindsight_client_api.UpdateDispositionRequest() # UpdateDispositionRequest |
1528
1527
 
1529
1528
  try:
1530
- # Update memory bank personality
1531
- api_response = await api_instance.update_bank_personality(bank_id, update_personality_request)
1532
- print("The response of DefaultApi->update_bank_personality:\n")
1529
+ # Update memory bank disposition
1530
+ api_response = await api_instance.update_bank_disposition(bank_id, update_disposition_request)
1531
+ print("The response of DefaultApi->update_bank_disposition:\n")
1533
1532
  pprint(api_response)
1534
1533
  except Exception as e:
1535
- print("Exception when calling DefaultApi->update_bank_personality: %s\n" % e)
1534
+ print("Exception when calling DefaultApi->update_bank_disposition: %s\n" % e)
1536
1535
  ```
1537
1536
 
1538
1537
 
@@ -1543,7 +1542,7 @@ async with hindsight_client_api.ApiClient(configuration) as api_client:
1543
1542
  Name | Type | Description | Notes
1544
1543
  ------------- | ------------- | ------------- | -------------
1545
1544
  **bank_id** | **str**| |
1546
- **update_personality_request** | [**UpdatePersonalityRequest**](UpdatePersonalityRequest.md)| |
1545
+ **update_disposition_request** | [**UpdateDispositionRequest**](UpdateDispositionRequest.md)| |
1547
1546
 
1548
1547
  ### Return type
1549
1548
 
@@ -1,6 +1,6 @@
1
- # PersonalityTraits
1
+ # DispositionTraits
2
2
 
3
- Personality traits based on Big Five model.
3
+ Disposition traits based on Big Five model.
4
4
 
5
5
  ## Properties
6
6
 
@@ -11,24 +11,24 @@ Name | Type | Description | Notes
11
11
  **extraversion** | **float** | Extraversion (0-1) |
12
12
  **agreeableness** | **float** | Agreeableness (0-1) |
13
13
  **neuroticism** | **float** | Neuroticism (0-1) |
14
- **bias_strength** | **float** | How strongly personality influences opinions (0-1) |
14
+ **bias_strength** | **float** | How strongly disposition influences opinions (0-1) |
15
15
 
16
16
  ## Example
17
17
 
18
18
  ```python
19
- from hindsight_client_api.models.personality_traits import PersonalityTraits
19
+ from hindsight_client_api.models.disposition_traits import DispositionTraits
20
20
 
21
21
  # TODO update the JSON string below
22
22
  json = "{}"
23
- # create an instance of PersonalityTraits from a JSON string
24
- personality_traits_instance = PersonalityTraits.from_json(json)
23
+ # create an instance of DispositionTraits from a JSON string
24
+ disposition_traits_instance = DispositionTraits.from_json(json)
25
25
  # print the JSON string representation of the object
26
- print(PersonalityTraits.to_json())
26
+ print(DispositionTraits.to_json())
27
27
 
28
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)
29
+ disposition_traits_dict = disposition_traits_instance.to_dict()
30
+ # create an instance of DispositionTraits from a dict
31
+ disposition_traits_from_dict = DispositionTraits.from_dict(disposition_traits_dict)
32
32
  ```
33
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
34
 
@@ -4,9 +4,73 @@ All URIs are relative to *http://localhost*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
+ [**health_endpoint_health_get**](MonitoringApi.md#health_endpoint_health_get) | **GET** /health | Health check endpoint
7
8
  [**metrics_endpoint_metrics_get**](MonitoringApi.md#metrics_endpoint_metrics_get) | **GET** /metrics | Prometheus metrics endpoint
8
9
 
9
10
 
11
+ # **health_endpoint_health_get**
12
+ > object health_endpoint_health_get()
13
+
14
+ Health check endpoint
15
+
16
+ Checks the health of the API and database connection
17
+
18
+ ### Example
19
+
20
+
21
+ ```python
22
+ import hindsight_client_api
23
+ from hindsight_client_api.rest import ApiException
24
+ from pprint import pprint
25
+
26
+ # Defining the host is optional and defaults to http://localhost
27
+ # See configuration.py for a list of all supported configuration parameters.
28
+ configuration = hindsight_client_api.Configuration(
29
+ host = "http://localhost"
30
+ )
31
+
32
+
33
+ # Enter a context with an instance of the API client
34
+ async with hindsight_client_api.ApiClient(configuration) as api_client:
35
+ # Create an instance of the API class
36
+ api_instance = hindsight_client_api.MonitoringApi(api_client)
37
+
38
+ try:
39
+ # Health check endpoint
40
+ api_response = await api_instance.health_endpoint_health_get()
41
+ print("The response of MonitoringApi->health_endpoint_health_get:\n")
42
+ pprint(api_response)
43
+ except Exception as e:
44
+ print("Exception when calling MonitoringApi->health_endpoint_health_get: %s\n" % e)
45
+ ```
46
+
47
+
48
+
49
+ ### Parameters
50
+
51
+ This endpoint does not need any parameter.
52
+
53
+ ### Return type
54
+
55
+ **object**
56
+
57
+ ### Authorization
58
+
59
+ No authorization required
60
+
61
+ ### HTTP request headers
62
+
63
+ - **Content-Type**: Not defined
64
+ - **Accept**: application/json
65
+
66
+ ### HTTP response details
67
+
68
+ | Status code | Description | Response headers |
69
+ |-------------|-------------|------------------|
70
+ **200** | Successful Response | - |
71
+
72
+ [[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)
73
+
10
74
  # **metrics_endpoint_metrics_get**
11
75
  > object metrics_endpoint_metrics_get()
12
76
 
@@ -0,0 +1,30 @@
1
+ # UpdateDispositionRequest
2
+
3
+ Request model for updating disposition traits.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **disposition** | [**DispositionTraits**](DispositionTraits.md) | |
10
+
11
+ ## Example
12
+
13
+ ```python
14
+ from hindsight_client_api.models.update_disposition_request import UpdateDispositionRequest
15
+
16
+ # TODO update the JSON string below
17
+ json = "{}"
18
+ # create an instance of UpdateDispositionRequest from a JSON string
19
+ update_disposition_request_instance = UpdateDispositionRequest.from_json(json)
20
+ # print the JSON string representation of the object
21
+ print(UpdateDispositionRequest.to_json())
22
+
23
+ # convert the object into a dict
24
+ update_disposition_request_dict = update_disposition_request_instance.to_dict()
25
+ # create an instance of UpdateDispositionRequest from a dict
26
+ update_disposition_request_from_dict = UpdateDispositionRequest.from_dict(update_disposition_request_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
+
@@ -24,6 +24,7 @@ from hindsight_client_api.models.chunk_include_options import ChunkIncludeOption
24
24
  from hindsight_client_api.models.chunk_response import ChunkResponse
25
25
  from hindsight_client_api.models.create_bank_request import CreateBankRequest
26
26
  from hindsight_client_api.models.delete_response import DeleteResponse
27
+ from hindsight_client_api.models.disposition_traits import DispositionTraits
27
28
  from hindsight_client_api.models.document_response import DocumentResponse
28
29
  from hindsight_client_api.models.entity_detail_response import EntityDetailResponse
29
30
  from hindsight_client_api.models.entity_include_options import EntityIncludeOptions
@@ -38,7 +39,6 @@ from hindsight_client_api.models.list_documents_response import ListDocumentsRes
38
39
  from hindsight_client_api.models.list_memory_units_response import ListMemoryUnitsResponse
39
40
  from hindsight_client_api.models.memory_item import MemoryItem
40
41
  from hindsight_client_api.models.metadata_filter import MetadataFilter
41
- from hindsight_client_api.models.personality_traits import PersonalityTraits
42
42
  from hindsight_client_api.models.recall_request import RecallRequest
43
43
  from hindsight_client_api.models.recall_response import RecallResponse
44
44
  from hindsight_client_api.models.recall_result import RecallResult
@@ -48,7 +48,7 @@ from hindsight_client_api.models.reflect_request import ReflectRequest
48
48
  from hindsight_client_api.models.reflect_response import ReflectResponse
49
49
  from hindsight_client_api.models.retain_request import RetainRequest
50
50
  from hindsight_client_api.models.retain_response import RetainResponse
51
- from hindsight_client_api.models.update_personality_request import UpdatePersonalityRequest
51
+ from hindsight_client_api.models.update_disposition_request import UpdateDispositionRequest
52
52
  from hindsight_client_api.models.validation_error import ValidationError
53
53
  from hindsight_client_api.models.validation_error_loc_inner import ValidationErrorLocInner
54
54
 
@@ -27,8 +27,8 @@ class AddBackgroundRequest(BaseModel):
27
27
  Request model for adding/merging background information.
28
28
  """ # noqa: E501
29
29
  content: StrictStr = Field(description="New background information to add or merge")
30
- update_personality: Optional[StrictBool] = Field(default=True, description="If true, infer Big Five personality traits from the merged background (default: true)")
31
- __properties: ClassVar[List[str]] = ["content", "update_personality"]
30
+ update_disposition: Optional[StrictBool] = Field(default=True, description="If true, infer Big Five disposition traits from the merged background (default: true)")
31
+ __properties: ClassVar[List[str]] = ["content", "update_disposition"]
32
32
 
33
33
  model_config = ConfigDict(
34
34
  populate_by_name=True,
@@ -82,7 +82,7 @@ class AddBackgroundRequest(BaseModel):
82
82
 
83
83
  _obj = cls.model_validate({
84
84
  "content": obj.get("content"),
85
- "update_personality": obj.get("update_personality") if obj.get("update_personality") is not None else True
85
+ "update_disposition": obj.get("update_disposition") if obj.get("update_disposition") is not None else True
86
86
  })
87
87
  return _obj
88
88