hindsight-client 0.2.0__py3-none-any.whl → 0.2.1__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-0.2.0.dist-info → hindsight_client-0.2.1.dist-info}/METADATA +1 -1
- hindsight_client-0.2.1.dist-info/RECORD +62 -0
- hindsight_client_api/__init__.py +58 -119
- 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 +1 -1
- hindsight_client_api/models/entity_input.py +22 -10
- hindsight_client_api/models/memory_item.py +10 -6
- 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.2.1.dist-info}/WHEEL +0 -0
|
@@ -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
|
-
|