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,154 +0,0 @@
|
|
|
1
|
-
# hindsight_client_api.OperationsApi
|
|
2
|
-
|
|
3
|
-
All URIs are relative to *http://localhost*
|
|
4
|
-
|
|
5
|
-
Method | HTTP request | Description
|
|
6
|
-
------------- | ------------- | -------------
|
|
7
|
-
[**cancel_operation**](OperationsApi.md#cancel_operation) | **DELETE** /v1/default/banks/{bank_id}/operations/{operation_id} | Cancel a pending async operation
|
|
8
|
-
[**list_operations**](OperationsApi.md#list_operations) | **GET** /v1/default/banks/{bank_id}/operations | List async operations
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
# **cancel_operation**
|
|
12
|
-
> CancelOperationResponse cancel_operation(bank_id, operation_id, authorization=authorization)
|
|
13
|
-
|
|
14
|
-
Cancel a pending async operation
|
|
15
|
-
|
|
16
|
-
Cancel a pending async operation by removing it from the queue
|
|
17
|
-
|
|
18
|
-
### Example
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
```python
|
|
22
|
-
import hindsight_client_api
|
|
23
|
-
from hindsight_client_api.models.cancel_operation_response import CancelOperationResponse
|
|
24
|
-
from hindsight_client_api.rest import ApiException
|
|
25
|
-
from pprint import pprint
|
|
26
|
-
|
|
27
|
-
# Defining the host is optional and defaults to http://localhost
|
|
28
|
-
# See configuration.py for a list of all supported configuration parameters.
|
|
29
|
-
configuration = hindsight_client_api.Configuration(
|
|
30
|
-
host = "http://localhost"
|
|
31
|
-
)
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
# Enter a context with an instance of the API client
|
|
35
|
-
async with hindsight_client_api.ApiClient(configuration) as api_client:
|
|
36
|
-
# Create an instance of the API class
|
|
37
|
-
api_instance = hindsight_client_api.OperationsApi(api_client)
|
|
38
|
-
bank_id = 'bank_id_example' # str |
|
|
39
|
-
operation_id = 'operation_id_example' # str |
|
|
40
|
-
authorization = 'authorization_example' # str | (optional)
|
|
41
|
-
|
|
42
|
-
try:
|
|
43
|
-
# Cancel a pending async operation
|
|
44
|
-
api_response = await api_instance.cancel_operation(bank_id, operation_id, authorization=authorization)
|
|
45
|
-
print("The response of OperationsApi->cancel_operation:\n")
|
|
46
|
-
pprint(api_response)
|
|
47
|
-
except Exception as e:
|
|
48
|
-
print("Exception when calling OperationsApi->cancel_operation: %s\n" % e)
|
|
49
|
-
```
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
### Parameters
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
Name | Type | Description | Notes
|
|
57
|
-
------------- | ------------- | ------------- | -------------
|
|
58
|
-
**bank_id** | **str**| |
|
|
59
|
-
**operation_id** | **str**| |
|
|
60
|
-
**authorization** | **str**| | [optional]
|
|
61
|
-
|
|
62
|
-
### Return type
|
|
63
|
-
|
|
64
|
-
[**CancelOperationResponse**](CancelOperationResponse.md)
|
|
65
|
-
|
|
66
|
-
### Authorization
|
|
67
|
-
|
|
68
|
-
No authorization required
|
|
69
|
-
|
|
70
|
-
### HTTP request headers
|
|
71
|
-
|
|
72
|
-
- **Content-Type**: Not defined
|
|
73
|
-
- **Accept**: application/json
|
|
74
|
-
|
|
75
|
-
### HTTP response details
|
|
76
|
-
|
|
77
|
-
| Status code | Description | Response headers |
|
|
78
|
-
|-------------|-------------|------------------|
|
|
79
|
-
**200** | Successful Response | - |
|
|
80
|
-
**422** | Validation Error | - |
|
|
81
|
-
|
|
82
|
-
[[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)
|
|
83
|
-
|
|
84
|
-
# **list_operations**
|
|
85
|
-
> OperationsListResponse list_operations(bank_id, authorization=authorization)
|
|
86
|
-
|
|
87
|
-
List async operations
|
|
88
|
-
|
|
89
|
-
Get a list of all async operations (pending and failed) for a specific agent, including error messages for failed operations
|
|
90
|
-
|
|
91
|
-
### Example
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
```python
|
|
95
|
-
import hindsight_client_api
|
|
96
|
-
from hindsight_client_api.models.operations_list_response import OperationsListResponse
|
|
97
|
-
from hindsight_client_api.rest import ApiException
|
|
98
|
-
from pprint import pprint
|
|
99
|
-
|
|
100
|
-
# Defining the host is optional and defaults to http://localhost
|
|
101
|
-
# See configuration.py for a list of all supported configuration parameters.
|
|
102
|
-
configuration = hindsight_client_api.Configuration(
|
|
103
|
-
host = "http://localhost"
|
|
104
|
-
)
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
# Enter a context with an instance of the API client
|
|
108
|
-
async with hindsight_client_api.ApiClient(configuration) as api_client:
|
|
109
|
-
# Create an instance of the API class
|
|
110
|
-
api_instance = hindsight_client_api.OperationsApi(api_client)
|
|
111
|
-
bank_id = 'bank_id_example' # str |
|
|
112
|
-
authorization = 'authorization_example' # str | (optional)
|
|
113
|
-
|
|
114
|
-
try:
|
|
115
|
-
# List async operations
|
|
116
|
-
api_response = await api_instance.list_operations(bank_id, authorization=authorization)
|
|
117
|
-
print("The response of OperationsApi->list_operations:\n")
|
|
118
|
-
pprint(api_response)
|
|
119
|
-
except Exception as e:
|
|
120
|
-
print("Exception when calling OperationsApi->list_operations: %s\n" % e)
|
|
121
|
-
```
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
### Parameters
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
Name | Type | Description | Notes
|
|
129
|
-
------------- | ------------- | ------------- | -------------
|
|
130
|
-
**bank_id** | **str**| |
|
|
131
|
-
**authorization** | **str**| | [optional]
|
|
132
|
-
|
|
133
|
-
### Return type
|
|
134
|
-
|
|
135
|
-
[**OperationsListResponse**](OperationsListResponse.md)
|
|
136
|
-
|
|
137
|
-
### Authorization
|
|
138
|
-
|
|
139
|
-
No authorization required
|
|
140
|
-
|
|
141
|
-
### HTTP request headers
|
|
142
|
-
|
|
143
|
-
- **Content-Type**: Not defined
|
|
144
|
-
- **Accept**: application/json
|
|
145
|
-
|
|
146
|
-
### HTTP response details
|
|
147
|
-
|
|
148
|
-
| Status code | Description | Response headers |
|
|
149
|
-
|-------------|-------------|------------------|
|
|
150
|
-
**200** | Successful Response | - |
|
|
151
|
-
**422** | Validation Error | - |
|
|
152
|
-
|
|
153
|
-
[[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)
|
|
154
|
-
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
# OperationsListResponse
|
|
2
|
-
|
|
3
|
-
Response model for list operations endpoint.
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type | Description | Notes
|
|
8
|
-
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**bank_id** | **str** | |
|
|
10
|
-
**operations** | [**List[OperationResponse]**](OperationResponse.md) | |
|
|
11
|
-
|
|
12
|
-
## Example
|
|
13
|
-
|
|
14
|
-
```python
|
|
15
|
-
from hindsight_client_api.models.operations_list_response import OperationsListResponse
|
|
16
|
-
|
|
17
|
-
# TODO update the JSON string below
|
|
18
|
-
json = "{}"
|
|
19
|
-
# create an instance of OperationsListResponse from a JSON string
|
|
20
|
-
operations_list_response_instance = OperationsListResponse.from_json(json)
|
|
21
|
-
# print the JSON string representation of the object
|
|
22
|
-
print(OperationsListResponse.to_json())
|
|
23
|
-
|
|
24
|
-
# convert the object into a dict
|
|
25
|
-
operations_list_response_dict = operations_list_response_instance.to_dict()
|
|
26
|
-
# create an instance of OperationsListResponse from a dict
|
|
27
|
-
operations_list_response_from_dict = OperationsListResponse.from_dict(operations_list_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,36 +0,0 @@
|
|
|
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
|
-
**include** | [**IncludeOptions**](IncludeOptions.md) | Options for including additional data (entities are included by default) | [optional]
|
|
16
|
-
|
|
17
|
-
## Example
|
|
18
|
-
|
|
19
|
-
```python
|
|
20
|
-
from hindsight_client_api.models.recall_request import RecallRequest
|
|
21
|
-
|
|
22
|
-
# TODO update the JSON string below
|
|
23
|
-
json = "{}"
|
|
24
|
-
# create an instance of RecallRequest from a JSON string
|
|
25
|
-
recall_request_instance = RecallRequest.from_json(json)
|
|
26
|
-
# print the JSON string representation of the object
|
|
27
|
-
print(RecallRequest.to_json())
|
|
28
|
-
|
|
29
|
-
# convert the object into a dict
|
|
30
|
-
recall_request_dict = recall_request_instance.to_dict()
|
|
31
|
-
# create an instance of RecallRequest from a dict
|
|
32
|
-
recall_request_from_dict = RecallRequest.from_dict(recall_request_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,33 +0,0 @@
|
|
|
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
|
-
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
# RecallResult
|
|
2
|
-
|
|
3
|
-
Single recall result item.
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type | Description | Notes
|
|
8
|
-
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**id** | **str** | |
|
|
10
|
-
**text** | **str** | |
|
|
11
|
-
**type** | **str** | | [optional]
|
|
12
|
-
**entities** | **List[str]** | | [optional]
|
|
13
|
-
**context** | **str** | | [optional]
|
|
14
|
-
**occurred_start** | **str** | | [optional]
|
|
15
|
-
**occurred_end** | **str** | | [optional]
|
|
16
|
-
**mentioned_at** | **str** | | [optional]
|
|
17
|
-
**document_id** | **str** | | [optional]
|
|
18
|
-
**metadata** | **Dict[str, str]** | | [optional]
|
|
19
|
-
**chunk_id** | **str** | | [optional]
|
|
20
|
-
|
|
21
|
-
## Example
|
|
22
|
-
|
|
23
|
-
```python
|
|
24
|
-
from hindsight_client_api.models.recall_result import RecallResult
|
|
25
|
-
|
|
26
|
-
# TODO update the JSON string below
|
|
27
|
-
json = "{}"
|
|
28
|
-
# create an instance of RecallResult from a JSON string
|
|
29
|
-
recall_result_instance = RecallResult.from_json(json)
|
|
30
|
-
# print the JSON string representation of the object
|
|
31
|
-
print(RecallResult.to_json())
|
|
32
|
-
|
|
33
|
-
# convert the object into a dict
|
|
34
|
-
recall_result_dict = recall_result_instance.to_dict()
|
|
35
|
-
# create an instance of RecallResult from a dict
|
|
36
|
-
recall_result_from_dict = RecallResult.from_dict(recall_result_dict)
|
|
37
|
-
```
|
|
38
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
39
|
-
|
|
40
|
-
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
# ReflectFact
|
|
2
|
-
|
|
3
|
-
A fact used in think response.
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type | Description | Notes
|
|
8
|
-
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**id** | **str** | | [optional]
|
|
10
|
-
**text** | **str** | |
|
|
11
|
-
**type** | **str** | | [optional]
|
|
12
|
-
**context** | **str** | | [optional]
|
|
13
|
-
**occurred_start** | **str** | | [optional]
|
|
14
|
-
**occurred_end** | **str** | | [optional]
|
|
15
|
-
|
|
16
|
-
## Example
|
|
17
|
-
|
|
18
|
-
```python
|
|
19
|
-
from hindsight_client_api.models.reflect_fact import ReflectFact
|
|
20
|
-
|
|
21
|
-
# TODO update the JSON string below
|
|
22
|
-
json = "{}"
|
|
23
|
-
# create an instance of ReflectFact from a JSON string
|
|
24
|
-
reflect_fact_instance = ReflectFact.from_json(json)
|
|
25
|
-
# print the JSON string representation of the object
|
|
26
|
-
print(ReflectFact.to_json())
|
|
27
|
-
|
|
28
|
-
# convert the object into a dict
|
|
29
|
-
reflect_fact_dict = reflect_fact_instance.to_dict()
|
|
30
|
-
# create an instance of ReflectFact from a dict
|
|
31
|
-
reflect_fact_from_dict = ReflectFact.from_dict(reflect_fact_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
|
-
# ReflectIncludeOptions
|
|
2
|
-
|
|
3
|
-
Options for including additional data in reflect results.
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type | Description | Notes
|
|
8
|
-
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**facts** | **object** | Options for including facts (based_on) in reflect results. | [optional]
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```python
|
|
14
|
-
from hindsight_client_api.models.reflect_include_options import ReflectIncludeOptions
|
|
15
|
-
|
|
16
|
-
# TODO update the JSON string below
|
|
17
|
-
json = "{}"
|
|
18
|
-
# create an instance of ReflectIncludeOptions from a JSON string
|
|
19
|
-
reflect_include_options_instance = ReflectIncludeOptions.from_json(json)
|
|
20
|
-
# print the JSON string representation of the object
|
|
21
|
-
print(ReflectIncludeOptions.to_json())
|
|
22
|
-
|
|
23
|
-
# convert the object into a dict
|
|
24
|
-
reflect_include_options_dict = reflect_include_options_instance.to_dict()
|
|
25
|
-
# create an instance of ReflectIncludeOptions from a dict
|
|
26
|
-
reflect_include_options_from_dict = ReflectIncludeOptions.from_dict(reflect_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
|
-
# ReflectRequest
|
|
2
|
-
|
|
3
|
-
Request model for reflect endpoint.
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type | Description | Notes
|
|
8
|
-
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**query** | **str** | |
|
|
10
|
-
**budget** | [**Budget**](Budget.md) | | [optional]
|
|
11
|
-
**context** | **str** | | [optional]
|
|
12
|
-
**max_tokens** | **int** | Maximum tokens for the response | [optional] [default to 4096]
|
|
13
|
-
**include** | [**ReflectIncludeOptions**](ReflectIncludeOptions.md) | Options for including additional data (disabled by default) | [optional]
|
|
14
|
-
**response_schema** | **Dict[str, object]** | | [optional]
|
|
15
|
-
|
|
16
|
-
## Example
|
|
17
|
-
|
|
18
|
-
```python
|
|
19
|
-
from hindsight_client_api.models.reflect_request import ReflectRequest
|
|
20
|
-
|
|
21
|
-
# TODO update the JSON string below
|
|
22
|
-
json = "{}"
|
|
23
|
-
# create an instance of ReflectRequest from a JSON string
|
|
24
|
-
reflect_request_instance = ReflectRequest.from_json(json)
|
|
25
|
-
# print the JSON string representation of the object
|
|
26
|
-
print(ReflectRequest.to_json())
|
|
27
|
-
|
|
28
|
-
# convert the object into a dict
|
|
29
|
-
reflect_request_dict = reflect_request_instance.to_dict()
|
|
30
|
-
# create an instance of ReflectRequest from a dict
|
|
31
|
-
reflect_request_from_dict = ReflectRequest.from_dict(reflect_request_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,32 +0,0 @@
|
|
|
1
|
-
# ReflectResponse
|
|
2
|
-
|
|
3
|
-
Response model for think endpoint.
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type | Description | Notes
|
|
8
|
-
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**text** | **str** | |
|
|
10
|
-
**based_on** | [**List[ReflectFact]**](ReflectFact.md) | | [optional] [default to []]
|
|
11
|
-
**structured_output** | **Dict[str, object]** | | [optional]
|
|
12
|
-
|
|
13
|
-
## Example
|
|
14
|
-
|
|
15
|
-
```python
|
|
16
|
-
from hindsight_client_api.models.reflect_response import ReflectResponse
|
|
17
|
-
|
|
18
|
-
# TODO update the JSON string below
|
|
19
|
-
json = "{}"
|
|
20
|
-
# create an instance of ReflectResponse from a JSON string
|
|
21
|
-
reflect_response_instance = ReflectResponse.from_json(json)
|
|
22
|
-
# print the JSON string representation of the object
|
|
23
|
-
print(ReflectResponse.to_json())
|
|
24
|
-
|
|
25
|
-
# convert the object into a dict
|
|
26
|
-
reflect_response_dict = reflect_response_instance.to_dict()
|
|
27
|
-
# create an instance of ReflectResponse from a dict
|
|
28
|
-
reflect_response_from_dict = ReflectResponse.from_dict(reflect_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,31 +0,0 @@
|
|
|
1
|
-
# RetainRequest
|
|
2
|
-
|
|
3
|
-
Request model for retain endpoint.
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type | Description | Notes
|
|
8
|
-
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**items** | [**List[MemoryItem]**](MemoryItem.md) | |
|
|
10
|
-
**var_async** | **bool** | If true, process asynchronously in background. If false, wait for completion (default: false) | [optional] [default to False]
|
|
11
|
-
|
|
12
|
-
## Example
|
|
13
|
-
|
|
14
|
-
```python
|
|
15
|
-
from hindsight_client_api.models.retain_request import RetainRequest
|
|
16
|
-
|
|
17
|
-
# TODO update the JSON string below
|
|
18
|
-
json = "{}"
|
|
19
|
-
# create an instance of RetainRequest from a JSON string
|
|
20
|
-
retain_request_instance = RetainRequest.from_json(json)
|
|
21
|
-
# print the JSON string representation of the object
|
|
22
|
-
print(RetainRequest.to_json())
|
|
23
|
-
|
|
24
|
-
# convert the object into a dict
|
|
25
|
-
retain_request_dict = retain_request_instance.to_dict()
|
|
26
|
-
# create an instance of RetainRequest from a dict
|
|
27
|
-
retain_request_from_dict = RetainRequest.from_dict(retain_request_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
|
-
# RetainResponse
|
|
2
|
-
|
|
3
|
-
Response model for retain endpoint.
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type | Description | Notes
|
|
8
|
-
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**success** | **bool** | |
|
|
10
|
-
**bank_id** | **str** | |
|
|
11
|
-
**items_count** | **int** | |
|
|
12
|
-
**var_async** | **bool** | Whether the operation was processed asynchronously |
|
|
13
|
-
|
|
14
|
-
## Example
|
|
15
|
-
|
|
16
|
-
```python
|
|
17
|
-
from hindsight_client_api.models.retain_response import RetainResponse
|
|
18
|
-
|
|
19
|
-
# TODO update the JSON string below
|
|
20
|
-
json = "{}"
|
|
21
|
-
# create an instance of RetainResponse from a JSON string
|
|
22
|
-
retain_response_instance = RetainResponse.from_json(json)
|
|
23
|
-
# print the JSON string representation of the object
|
|
24
|
-
print(RetainResponse.to_json())
|
|
25
|
-
|
|
26
|
-
# convert the object into a dict
|
|
27
|
-
retain_response_dict = retain_response_instance.to_dict()
|
|
28
|
-
# create an instance of RetainResponse from a dict
|
|
29
|
-
retain_response_from_dict = RetainResponse.from_dict(retain_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,30 +0,0 @@
|
|
|
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
|
-
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
# ValidationError
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**loc** | [**List[ValidationErrorLocInner]**](ValidationErrorLocInner.md) | |
|
|
9
|
-
**msg** | **str** | |
|
|
10
|
-
**type** | **str** | |
|
|
11
|
-
|
|
12
|
-
## Example
|
|
13
|
-
|
|
14
|
-
```python
|
|
15
|
-
from hindsight_client_api.models.validation_error import ValidationError
|
|
16
|
-
|
|
17
|
-
# TODO update the JSON string below
|
|
18
|
-
json = "{}"
|
|
19
|
-
# create an instance of ValidationError from a JSON string
|
|
20
|
-
validation_error_instance = ValidationError.from_json(json)
|
|
21
|
-
# print the JSON string representation of the object
|
|
22
|
-
print(ValidationError.to_json())
|
|
23
|
-
|
|
24
|
-
# convert the object into a dict
|
|
25
|
-
validation_error_dict = validation_error_instance.to_dict()
|
|
26
|
-
# create an instance of ValidationError from a dict
|
|
27
|
-
validation_error_from_dict = ValidationError.from_dict(validation_error_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,28 +0,0 @@
|
|
|
1
|
-
# ValidationErrorLocInner
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
|
|
9
|
-
## Example
|
|
10
|
-
|
|
11
|
-
```python
|
|
12
|
-
from hindsight_client_api.models.validation_error_loc_inner import ValidationErrorLocInner
|
|
13
|
-
|
|
14
|
-
# TODO update the JSON string below
|
|
15
|
-
json = "{}"
|
|
16
|
-
# create an instance of ValidationErrorLocInner from a JSON string
|
|
17
|
-
validation_error_loc_inner_instance = ValidationErrorLocInner.from_json(json)
|
|
18
|
-
# print the JSON string representation of the object
|
|
19
|
-
print(ValidationErrorLocInner.to_json())
|
|
20
|
-
|
|
21
|
-
# convert the object into a dict
|
|
22
|
-
validation_error_loc_inner_dict = validation_error_loc_inner_instance.to_dict()
|
|
23
|
-
# create an instance of ValidationErrorLocInner from a dict
|
|
24
|
-
validation_error_loc_inner_from_dict = ValidationErrorLocInner.from_dict(validation_error_loc_inner_dict)
|
|
25
|
-
```
|
|
26
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
27
|
-
|
|
28
|
-
|
|
File without changes
|