hindsight-client 0.2.0__py3-none-any.whl → 0.3.0__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.
- hindsight_client/hindsight_client.py +2 -0
- {hindsight_client-0.2.0.dist-info → hindsight_client-0.3.0.dist-info}/METADATA +1 -1
- hindsight_client-0.3.0.dist-info/RECORD +65 -0
- hindsight_client_api/__init__.py +61 -119
- hindsight_client_api/api/banks_api.py +15 -0
- hindsight_client_api/api/entities_api.py +20 -3
- hindsight_client_api/api/memory_api.py +713 -73
- hindsight_client_api/api_client.py +6 -13
- hindsight_client_api/configuration.py +4 -15
- hindsight_client_api/exceptions.py +2 -22
- hindsight_client_api/models/__init__.py +4 -1
- hindsight_client_api/models/document_response.py +5 -3
- hindsight_client_api/models/entity_input.py +22 -10
- hindsight_client_api/models/entity_list_response.py +9 -3
- hindsight_client_api/models/graph_data_response.py +4 -2
- hindsight_client_api/models/list_tags_response.py +101 -0
- hindsight_client_api/models/memory_item.py +19 -8
- hindsight_client_api/models/recall_request.py +22 -3
- hindsight_client_api/models/recall_result.py +9 -2
- hindsight_client_api/models/reflect_request.py +22 -3
- hindsight_client_api/models/reflect_response.py +13 -2
- hindsight_client_api/models/retain_request.py +10 -3
- hindsight_client_api/models/retain_response.py +21 -3
- hindsight_client_api/models/tag_item.py +89 -0
- hindsight_client_api/models/token_usage.py +91 -0
- hindsight_client_api/rest.py +60 -38
- hindsight_client-0.2.0.dist-info/RECORD +0 -110
- hindsight_client_api/docs/AddBackgroundRequest.md +0 -31
- hindsight_client_api/docs/BackgroundResponse.md +0 -31
- hindsight_client_api/docs/BankListItem.md +0 -35
- hindsight_client_api/docs/BankListResponse.md +0 -30
- hindsight_client_api/docs/BankProfileResponse.md +0 -33
- hindsight_client_api/docs/BankStatsResponse.md +0 -39
- hindsight_client_api/docs/BanksApi.md +0 -517
- hindsight_client_api/docs/Budget.md +0 -15
- hindsight_client_api/docs/CancelOperationResponse.md +0 -32
- hindsight_client_api/docs/ChunkData.md +0 -33
- hindsight_client_api/docs/ChunkIncludeOptions.md +0 -30
- hindsight_client_api/docs/ChunkResponse.md +0 -35
- hindsight_client_api/docs/CreateBankRequest.md +0 -32
- hindsight_client_api/docs/DeleteDocumentResponse.md +0 -33
- hindsight_client_api/docs/DeleteResponse.md +0 -32
- hindsight_client_api/docs/DispositionTraits.md +0 -32
- hindsight_client_api/docs/DocumentResponse.md +0 -36
- hindsight_client_api/docs/DocumentsApi.md +0 -313
- hindsight_client_api/docs/EntitiesApi.md +0 -230
- hindsight_client_api/docs/EntityDetailResponse.md +0 -36
- hindsight_client_api/docs/EntityIncludeOptions.md +0 -30
- hindsight_client_api/docs/EntityListItem.md +0 -35
- hindsight_client_api/docs/EntityListResponse.md +0 -30
- hindsight_client_api/docs/EntityObservationResponse.md +0 -31
- hindsight_client_api/docs/EntityStateResponse.md +0 -32
- hindsight_client_api/docs/GraphDataResponse.md +0 -33
- hindsight_client_api/docs/HTTPValidationError.md +0 -29
- hindsight_client_api/docs/IncludeOptions.md +0 -31
- hindsight_client_api/docs/ListDocumentsResponse.md +0 -33
- hindsight_client_api/docs/ListMemoryUnitsResponse.md +0 -33
- hindsight_client_api/docs/MemoryApi.md +0 -499
- hindsight_client_api/docs/MemoryItem.md +0 -34
- hindsight_client_api/docs/MonitoringApi.md +0 -136
- hindsight_client_api/docs/OperationResponse.md +0 -36
- hindsight_client_api/docs/OperationsApi.md +0 -154
- hindsight_client_api/docs/OperationsListResponse.md +0 -31
- hindsight_client_api/docs/RecallRequest.md +0 -36
- hindsight_client_api/docs/RecallResponse.md +0 -33
- hindsight_client_api/docs/RecallResult.md +0 -40
- hindsight_client_api/docs/ReflectFact.md +0 -35
- hindsight_client_api/docs/ReflectIncludeOptions.md +0 -30
- hindsight_client_api/docs/ReflectRequest.md +0 -35
- hindsight_client_api/docs/ReflectResponse.md +0 -32
- hindsight_client_api/docs/RetainRequest.md +0 -31
- hindsight_client_api/docs/RetainResponse.md +0 -33
- hindsight_client_api/docs/UpdateDispositionRequest.md +0 -30
- hindsight_client_api/docs/ValidationError.md +0 -31
- hindsight_client_api/docs/ValidationErrorLocInner.md +0 -28
- {hindsight_client-0.2.0.dist-info → hindsight_client-0.3.0.dist-info}/WHEEL +0 -0
|
@@ -1,230 +0,0 @@
|
|
|
1
|
-
# hindsight_client_api.EntitiesApi
|
|
2
|
-
|
|
3
|
-
All URIs are relative to *http://localhost*
|
|
4
|
-
|
|
5
|
-
Method | HTTP request | Description
|
|
6
|
-
------------- | ------------- | -------------
|
|
7
|
-
[**get_entity**](EntitiesApi.md#get_entity) | **GET** /v1/default/banks/{bank_id}/entities/{entity_id} | Get entity details
|
|
8
|
-
[**list_entities**](EntitiesApi.md#list_entities) | **GET** /v1/default/banks/{bank_id}/entities | List entities
|
|
9
|
-
[**regenerate_entity_observations**](EntitiesApi.md#regenerate_entity_observations) | **POST** /v1/default/banks/{bank_id}/entities/{entity_id}/regenerate | Regenerate entity observations
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
# **get_entity**
|
|
13
|
-
> EntityDetailResponse get_entity(bank_id, entity_id, authorization=authorization)
|
|
14
|
-
|
|
15
|
-
Get entity details
|
|
16
|
-
|
|
17
|
-
Get detailed information about an entity including observations (mental model).
|
|
18
|
-
|
|
19
|
-
### Example
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
```python
|
|
23
|
-
import hindsight_client_api
|
|
24
|
-
from hindsight_client_api.models.entity_detail_response import EntityDetailResponse
|
|
25
|
-
from hindsight_client_api.rest import ApiException
|
|
26
|
-
from pprint import pprint
|
|
27
|
-
|
|
28
|
-
# Defining the host is optional and defaults to http://localhost
|
|
29
|
-
# See configuration.py for a list of all supported configuration parameters.
|
|
30
|
-
configuration = hindsight_client_api.Configuration(
|
|
31
|
-
host = "http://localhost"
|
|
32
|
-
)
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
# Enter a context with an instance of the API client
|
|
36
|
-
async with hindsight_client_api.ApiClient(configuration) as api_client:
|
|
37
|
-
# Create an instance of the API class
|
|
38
|
-
api_instance = hindsight_client_api.EntitiesApi(api_client)
|
|
39
|
-
bank_id = 'bank_id_example' # str |
|
|
40
|
-
entity_id = 'entity_id_example' # str |
|
|
41
|
-
authorization = 'authorization_example' # str | (optional)
|
|
42
|
-
|
|
43
|
-
try:
|
|
44
|
-
# Get entity details
|
|
45
|
-
api_response = await api_instance.get_entity(bank_id, entity_id, authorization=authorization)
|
|
46
|
-
print("The response of EntitiesApi->get_entity:\n")
|
|
47
|
-
pprint(api_response)
|
|
48
|
-
except Exception as e:
|
|
49
|
-
print("Exception when calling EntitiesApi->get_entity: %s\n" % e)
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
### Parameters
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
Name | Type | Description | Notes
|
|
58
|
-
------------- | ------------- | ------------- | -------------
|
|
59
|
-
**bank_id** | **str**| |
|
|
60
|
-
**entity_id** | **str**| |
|
|
61
|
-
**authorization** | **str**| | [optional]
|
|
62
|
-
|
|
63
|
-
### Return type
|
|
64
|
-
|
|
65
|
-
[**EntityDetailResponse**](EntityDetailResponse.md)
|
|
66
|
-
|
|
67
|
-
### Authorization
|
|
68
|
-
|
|
69
|
-
No authorization required
|
|
70
|
-
|
|
71
|
-
### HTTP request headers
|
|
72
|
-
|
|
73
|
-
- **Content-Type**: Not defined
|
|
74
|
-
- **Accept**: application/json
|
|
75
|
-
|
|
76
|
-
### HTTP response details
|
|
77
|
-
|
|
78
|
-
| Status code | Description | Response headers |
|
|
79
|
-
|-------------|-------------|------------------|
|
|
80
|
-
**200** | Successful Response | - |
|
|
81
|
-
**422** | Validation Error | - |
|
|
82
|
-
|
|
83
|
-
[[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)
|
|
84
|
-
|
|
85
|
-
# **list_entities**
|
|
86
|
-
> EntityListResponse list_entities(bank_id, limit=limit, authorization=authorization)
|
|
87
|
-
|
|
88
|
-
List entities
|
|
89
|
-
|
|
90
|
-
List all entities (people, organizations, etc.) known by the bank, ordered by mention count.
|
|
91
|
-
|
|
92
|
-
### Example
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
```python
|
|
96
|
-
import hindsight_client_api
|
|
97
|
-
from hindsight_client_api.models.entity_list_response import EntityListResponse
|
|
98
|
-
from hindsight_client_api.rest import ApiException
|
|
99
|
-
from pprint import pprint
|
|
100
|
-
|
|
101
|
-
# Defining the host is optional and defaults to http://localhost
|
|
102
|
-
# See configuration.py for a list of all supported configuration parameters.
|
|
103
|
-
configuration = hindsight_client_api.Configuration(
|
|
104
|
-
host = "http://localhost"
|
|
105
|
-
)
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
# Enter a context with an instance of the API client
|
|
109
|
-
async with hindsight_client_api.ApiClient(configuration) as api_client:
|
|
110
|
-
# Create an instance of the API class
|
|
111
|
-
api_instance = hindsight_client_api.EntitiesApi(api_client)
|
|
112
|
-
bank_id = 'bank_id_example' # str |
|
|
113
|
-
limit = 100 # int | Maximum number of entities to return (optional) (default to 100)
|
|
114
|
-
authorization = 'authorization_example' # str | (optional)
|
|
115
|
-
|
|
116
|
-
try:
|
|
117
|
-
# List entities
|
|
118
|
-
api_response = await api_instance.list_entities(bank_id, limit=limit, authorization=authorization)
|
|
119
|
-
print("The response of EntitiesApi->list_entities:\n")
|
|
120
|
-
pprint(api_response)
|
|
121
|
-
except Exception as e:
|
|
122
|
-
print("Exception when calling EntitiesApi->list_entities: %s\n" % e)
|
|
123
|
-
```
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
### Parameters
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
Name | Type | Description | Notes
|
|
131
|
-
------------- | ------------- | ------------- | -------------
|
|
132
|
-
**bank_id** | **str**| |
|
|
133
|
-
**limit** | **int**| Maximum number of entities to return | [optional] [default to 100]
|
|
134
|
-
**authorization** | **str**| | [optional]
|
|
135
|
-
|
|
136
|
-
### Return type
|
|
137
|
-
|
|
138
|
-
[**EntityListResponse**](EntityListResponse.md)
|
|
139
|
-
|
|
140
|
-
### Authorization
|
|
141
|
-
|
|
142
|
-
No authorization required
|
|
143
|
-
|
|
144
|
-
### HTTP request headers
|
|
145
|
-
|
|
146
|
-
- **Content-Type**: Not defined
|
|
147
|
-
- **Accept**: application/json
|
|
148
|
-
|
|
149
|
-
### HTTP response details
|
|
150
|
-
|
|
151
|
-
| Status code | Description | Response headers |
|
|
152
|
-
|-------------|-------------|------------------|
|
|
153
|
-
**200** | Successful Response | - |
|
|
154
|
-
**422** | Validation Error | - |
|
|
155
|
-
|
|
156
|
-
[[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)
|
|
157
|
-
|
|
158
|
-
# **regenerate_entity_observations**
|
|
159
|
-
> EntityDetailResponse regenerate_entity_observations(bank_id, entity_id, authorization=authorization)
|
|
160
|
-
|
|
161
|
-
Regenerate entity observations
|
|
162
|
-
|
|
163
|
-
Regenerate observations for an entity based on all facts mentioning it.
|
|
164
|
-
|
|
165
|
-
### Example
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
```python
|
|
169
|
-
import hindsight_client_api
|
|
170
|
-
from hindsight_client_api.models.entity_detail_response import EntityDetailResponse
|
|
171
|
-
from hindsight_client_api.rest import ApiException
|
|
172
|
-
from pprint import pprint
|
|
173
|
-
|
|
174
|
-
# Defining the host is optional and defaults to http://localhost
|
|
175
|
-
# See configuration.py for a list of all supported configuration parameters.
|
|
176
|
-
configuration = hindsight_client_api.Configuration(
|
|
177
|
-
host = "http://localhost"
|
|
178
|
-
)
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
# Enter a context with an instance of the API client
|
|
182
|
-
async with hindsight_client_api.ApiClient(configuration) as api_client:
|
|
183
|
-
# Create an instance of the API class
|
|
184
|
-
api_instance = hindsight_client_api.EntitiesApi(api_client)
|
|
185
|
-
bank_id = 'bank_id_example' # str |
|
|
186
|
-
entity_id = 'entity_id_example' # str |
|
|
187
|
-
authorization = 'authorization_example' # str | (optional)
|
|
188
|
-
|
|
189
|
-
try:
|
|
190
|
-
# Regenerate entity observations
|
|
191
|
-
api_response = await api_instance.regenerate_entity_observations(bank_id, entity_id, authorization=authorization)
|
|
192
|
-
print("The response of EntitiesApi->regenerate_entity_observations:\n")
|
|
193
|
-
pprint(api_response)
|
|
194
|
-
except Exception as e:
|
|
195
|
-
print("Exception when calling EntitiesApi->regenerate_entity_observations: %s\n" % e)
|
|
196
|
-
```
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
### Parameters
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
Name | Type | Description | Notes
|
|
204
|
-
------------- | ------------- | ------------- | -------------
|
|
205
|
-
**bank_id** | **str**| |
|
|
206
|
-
**entity_id** | **str**| |
|
|
207
|
-
**authorization** | **str**| | [optional]
|
|
208
|
-
|
|
209
|
-
### Return type
|
|
210
|
-
|
|
211
|
-
[**EntityDetailResponse**](EntityDetailResponse.md)
|
|
212
|
-
|
|
213
|
-
### Authorization
|
|
214
|
-
|
|
215
|
-
No authorization required
|
|
216
|
-
|
|
217
|
-
### HTTP request headers
|
|
218
|
-
|
|
219
|
-
- **Content-Type**: Not defined
|
|
220
|
-
- **Accept**: application/json
|
|
221
|
-
|
|
222
|
-
### HTTP response details
|
|
223
|
-
|
|
224
|
-
| Status code | Description | Response headers |
|
|
225
|
-
|-------------|-------------|------------------|
|
|
226
|
-
**200** | Successful Response | - |
|
|
227
|
-
**422** | Validation Error | - |
|
|
228
|
-
|
|
229
|
-
[[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)
|
|
230
|
-
|
|
@@ -1,36 +0,0 @@
|
|
|
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
|
-
|
|
@@ -1,30 +0,0 @@
|
|
|
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
|
-
|
|
@@ -1,35 +0,0 @@
|
|
|
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
|
-
|
|
@@ -1,30 +0,0 @@
|
|
|
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
|
-
|
|
@@ -1,31 +0,0 @@
|
|
|
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
|
-
|
|
@@ -1,32 +0,0 @@
|
|
|
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
|
-
|
|
@@ -1,33 +0,0 @@
|
|
|
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
|
-
|
|
@@ -1,29 +0,0 @@
|
|
|
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
|
-
|
|
@@ -1,31 +0,0 @@
|
|
|
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
|
-
|
|
@@ -1,33 +0,0 @@
|
|
|
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
|
-
|
|
@@ -1,33 +0,0 @@
|
|
|
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
|
-
|