hindsight-client 0.1.16__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.
Files changed (63) hide show
  1. hindsight_client/hindsight_client.py +58 -25
  2. {hindsight_client-0.1.16.dist-info → hindsight_client-0.2.1.dist-info}/METADATA +1 -1
  3. hindsight_client-0.2.1.dist-info/RECORD +62 -0
  4. hindsight_client_api/__init__.py +58 -119
  5. hindsight_client_api/api_client.py +6 -13
  6. hindsight_client_api/configuration.py +4 -15
  7. hindsight_client_api/exceptions.py +2 -22
  8. hindsight_client_api/models/__init__.py +2 -1
  9. hindsight_client_api/models/entity_input.py +94 -0
  10. hindsight_client_api/models/memory_item.py +17 -2
  11. hindsight_client_api/models/reflect_request.py +12 -3
  12. hindsight_client_api/models/reflect_response.py +9 -2
  13. hindsight_client_api/rest.py +60 -38
  14. hindsight_client-0.1.16.dist-info/RECORD +0 -109
  15. hindsight_client_api/docs/AddBackgroundRequest.md +0 -31
  16. hindsight_client_api/docs/BackgroundResponse.md +0 -31
  17. hindsight_client_api/docs/BankListItem.md +0 -35
  18. hindsight_client_api/docs/BankListResponse.md +0 -30
  19. hindsight_client_api/docs/BankProfileResponse.md +0 -33
  20. hindsight_client_api/docs/BankStatsResponse.md +0 -39
  21. hindsight_client_api/docs/BanksApi.md +0 -517
  22. hindsight_client_api/docs/Budget.md +0 -15
  23. hindsight_client_api/docs/CancelOperationResponse.md +0 -32
  24. hindsight_client_api/docs/ChunkData.md +0 -33
  25. hindsight_client_api/docs/ChunkIncludeOptions.md +0 -30
  26. hindsight_client_api/docs/ChunkResponse.md +0 -35
  27. hindsight_client_api/docs/CreateBankRequest.md +0 -32
  28. hindsight_client_api/docs/DeleteDocumentResponse.md +0 -33
  29. hindsight_client_api/docs/DeleteResponse.md +0 -32
  30. hindsight_client_api/docs/DispositionTraits.md +0 -32
  31. hindsight_client_api/docs/DocumentResponse.md +0 -36
  32. hindsight_client_api/docs/DocumentsApi.md +0 -313
  33. hindsight_client_api/docs/EntitiesApi.md +0 -230
  34. hindsight_client_api/docs/EntityDetailResponse.md +0 -36
  35. hindsight_client_api/docs/EntityIncludeOptions.md +0 -30
  36. hindsight_client_api/docs/EntityListItem.md +0 -35
  37. hindsight_client_api/docs/EntityListResponse.md +0 -30
  38. hindsight_client_api/docs/EntityObservationResponse.md +0 -31
  39. hindsight_client_api/docs/EntityStateResponse.md +0 -32
  40. hindsight_client_api/docs/GraphDataResponse.md +0 -33
  41. hindsight_client_api/docs/HTTPValidationError.md +0 -29
  42. hindsight_client_api/docs/IncludeOptions.md +0 -31
  43. hindsight_client_api/docs/ListDocumentsResponse.md +0 -33
  44. hindsight_client_api/docs/ListMemoryUnitsResponse.md +0 -33
  45. hindsight_client_api/docs/MemoryApi.md +0 -499
  46. hindsight_client_api/docs/MemoryItem.md +0 -34
  47. hindsight_client_api/docs/MonitoringApi.md +0 -136
  48. hindsight_client_api/docs/OperationResponse.md +0 -36
  49. hindsight_client_api/docs/OperationsApi.md +0 -154
  50. hindsight_client_api/docs/OperationsListResponse.md +0 -31
  51. hindsight_client_api/docs/RecallRequest.md +0 -36
  52. hindsight_client_api/docs/RecallResponse.md +0 -33
  53. hindsight_client_api/docs/RecallResult.md +0 -40
  54. hindsight_client_api/docs/ReflectFact.md +0 -35
  55. hindsight_client_api/docs/ReflectIncludeOptions.md +0 -30
  56. hindsight_client_api/docs/ReflectRequest.md +0 -33
  57. hindsight_client_api/docs/ReflectResponse.md +0 -31
  58. hindsight_client_api/docs/RetainRequest.md +0 -31
  59. hindsight_client_api/docs/RetainResponse.md +0 -33
  60. hindsight_client_api/docs/UpdateDispositionRequest.md +0 -30
  61. hindsight_client_api/docs/ValidationError.md +0 -31
  62. hindsight_client_api/docs/ValidationErrorLocInner.md +0 -28
  63. {hindsight_client-0.1.16.dist-info → hindsight_client-0.2.1.dist-info}/WHEEL +0 -0
@@ -0,0 +1,94 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Hindsight HTTP API
5
+
6
+ HTTP API for Hindsight
7
+
8
+ The version of the OpenAPI document: 0.1.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ from __future__ import annotations
16
+ import pprint
17
+ import re # noqa: F401
18
+ import json
19
+
20
+ from pydantic import BaseModel, ConfigDict, Field, StrictStr
21
+ from typing import Any, ClassVar, Dict, List, Optional
22
+ from typing import Optional, Set
23
+ from typing_extensions import Self
24
+
25
+ class EntityInput(BaseModel):
26
+ """
27
+ Entity to associate with retained content.
28
+ """ # noqa: E501
29
+ text: StrictStr = Field(description="The entity name/text")
30
+ type: Optional[StrictStr] = None
31
+ __properties: ClassVar[List[str]] = ["text", "type"]
32
+
33
+ model_config = ConfigDict(
34
+ populate_by_name=True,
35
+ validate_assignment=True,
36
+ protected_namespaces=(),
37
+ )
38
+
39
+
40
+ def to_str(self) -> str:
41
+ """Returns the string representation of the model using alias"""
42
+ return pprint.pformat(self.model_dump(by_alias=True))
43
+
44
+ def to_json(self) -> str:
45
+ """Returns the JSON representation of the model using alias"""
46
+ # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
47
+ return json.dumps(self.to_dict())
48
+
49
+ @classmethod
50
+ def from_json(cls, json_str: str) -> Optional[Self]:
51
+ """Create an instance of EntityInput from a JSON string"""
52
+ return cls.from_dict(json.loads(json_str))
53
+
54
+ def to_dict(self) -> Dict[str, Any]:
55
+ """Return the dictionary representation of the model using alias.
56
+
57
+ This has the following differences from calling pydantic's
58
+ `self.model_dump(by_alias=True)`:
59
+
60
+ * `None` is only added to the output dict for nullable fields that
61
+ were set at model initialization. Other fields with value `None`
62
+ are ignored.
63
+ """
64
+ excluded_fields: Set[str] = set([
65
+ ])
66
+
67
+ _dict = self.model_dump(
68
+ by_alias=True,
69
+ exclude=excluded_fields,
70
+ exclude_none=True,
71
+ )
72
+ # set to None if type (nullable) is None
73
+ # and model_fields_set contains the field
74
+ if self.type is None and "type" in self.model_fields_set:
75
+ _dict['type'] = None
76
+
77
+ return _dict
78
+
79
+ @classmethod
80
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
81
+ """Create an instance of EntityInput from a dict"""
82
+ if obj is None:
83
+ return None
84
+
85
+ if not isinstance(obj, dict):
86
+ return cls.model_validate(obj)
87
+
88
+ _obj = cls.model_validate({
89
+ "text": obj.get("text"),
90
+ "type": obj.get("type")
91
+ })
92
+ return _obj
93
+
94
+
@@ -20,6 +20,7 @@ import json
20
20
  from datetime import datetime
21
21
  from pydantic import BaseModel, ConfigDict, StrictStr
22
22
  from typing import Any, ClassVar, Dict, List, Optional
23
+ from hindsight_client_api.models.entity_input import EntityInput
23
24
  from typing import Optional, Set
24
25
  from typing_extensions import Self
25
26
 
@@ -32,7 +33,8 @@ class MemoryItem(BaseModel):
32
33
  context: Optional[StrictStr] = None
33
34
  metadata: Optional[Dict[str, StrictStr]] = None
34
35
  document_id: Optional[StrictStr] = None
35
- __properties: ClassVar[List[str]] = ["content", "timestamp", "context", "metadata", "document_id"]
36
+ entities: Optional[List[EntityInput]] = None
37
+ __properties: ClassVar[List[str]] = ["content", "timestamp", "context", "metadata", "document_id", "entities"]
36
38
 
37
39
  model_config = ConfigDict(
38
40
  populate_by_name=True,
@@ -73,6 +75,13 @@ class MemoryItem(BaseModel):
73
75
  exclude=excluded_fields,
74
76
  exclude_none=True,
75
77
  )
78
+ # override the default output from pydantic by calling `to_dict()` of each item in entities (list)
79
+ _items = []
80
+ if self.entities:
81
+ for _item_entities in self.entities:
82
+ if _item_entities:
83
+ _items.append(_item_entities.to_dict())
84
+ _dict['entities'] = _items
76
85
  # set to None if timestamp (nullable) is None
77
86
  # and model_fields_set contains the field
78
87
  if self.timestamp is None and "timestamp" in self.model_fields_set:
@@ -93,6 +102,11 @@ class MemoryItem(BaseModel):
93
102
  if self.document_id is None and "document_id" in self.model_fields_set:
94
103
  _dict['document_id'] = None
95
104
 
105
+ # set to None if entities (nullable) is None
106
+ # and model_fields_set contains the field
107
+ if self.entities is None and "entities" in self.model_fields_set:
108
+ _dict['entities'] = None
109
+
96
110
  return _dict
97
111
 
98
112
  @classmethod
@@ -109,7 +123,8 @@ class MemoryItem(BaseModel):
109
123
  "timestamp": obj.get("timestamp"),
110
124
  "context": obj.get("context"),
111
125
  "metadata": obj.get("metadata"),
112
- "document_id": obj.get("document_id")
126
+ "document_id": obj.get("document_id"),
127
+ "entities": [EntityInput.from_dict(_item) for _item in obj["entities"]] if obj.get("entities") is not None else None
113
128
  })
114
129
  return _obj
115
130
 
@@ -17,7 +17,7 @@ import pprint
17
17
  import re # noqa: F401
18
18
  import json
19
19
 
20
- from pydantic import BaseModel, ConfigDict, Field, StrictStr
20
+ from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr
21
21
  from typing import Any, ClassVar, Dict, List, Optional
22
22
  from hindsight_client_api.models.budget import Budget
23
23
  from hindsight_client_api.models.reflect_include_options import ReflectIncludeOptions
@@ -31,8 +31,10 @@ class ReflectRequest(BaseModel):
31
31
  query: StrictStr
32
32
  budget: Optional[Budget] = None
33
33
  context: Optional[StrictStr] = None
34
+ max_tokens: Optional[StrictInt] = Field(default=4096, description="Maximum tokens for the response")
34
35
  include: Optional[ReflectIncludeOptions] = Field(default=None, description="Options for including additional data (disabled by default)")
35
- __properties: ClassVar[List[str]] = ["query", "budget", "context", "include"]
36
+ response_schema: Optional[Dict[str, Any]] = None
37
+ __properties: ClassVar[List[str]] = ["query", "budget", "context", "max_tokens", "include", "response_schema"]
36
38
 
37
39
  model_config = ConfigDict(
38
40
  populate_by_name=True,
@@ -81,6 +83,11 @@ class ReflectRequest(BaseModel):
81
83
  if self.context is None and "context" in self.model_fields_set:
82
84
  _dict['context'] = None
83
85
 
86
+ # set to None if response_schema (nullable) is None
87
+ # and model_fields_set contains the field
88
+ if self.response_schema is None and "response_schema" in self.model_fields_set:
89
+ _dict['response_schema'] = None
90
+
84
91
  return _dict
85
92
 
86
93
  @classmethod
@@ -96,7 +103,9 @@ class ReflectRequest(BaseModel):
96
103
  "query": obj.get("query"),
97
104
  "budget": obj.get("budget"),
98
105
  "context": obj.get("context"),
99
- "include": ReflectIncludeOptions.from_dict(obj["include"]) if obj.get("include") is not None else None
106
+ "max_tokens": obj.get("max_tokens") if obj.get("max_tokens") is not None else 4096,
107
+ "include": ReflectIncludeOptions.from_dict(obj["include"]) if obj.get("include") is not None else None,
108
+ "response_schema": obj.get("response_schema")
100
109
  })
101
110
  return _obj
102
111
 
@@ -29,7 +29,8 @@ class ReflectResponse(BaseModel):
29
29
  """ # noqa: E501
30
30
  text: StrictStr
31
31
  based_on: Optional[List[ReflectFact]] = None
32
- __properties: ClassVar[List[str]] = ["text", "based_on"]
32
+ structured_output: Optional[Dict[str, Any]] = None
33
+ __properties: ClassVar[List[str]] = ["text", "based_on", "structured_output"]
33
34
 
34
35
  model_config = ConfigDict(
35
36
  populate_by_name=True,
@@ -77,6 +78,11 @@ class ReflectResponse(BaseModel):
77
78
  if _item_based_on:
78
79
  _items.append(_item_based_on.to_dict())
79
80
  _dict['based_on'] = _items
81
+ # set to None if structured_output (nullable) is None
82
+ # and model_fields_set contains the field
83
+ if self.structured_output is None and "structured_output" in self.model_fields_set:
84
+ _dict['structured_output'] = None
85
+
80
86
  return _dict
81
87
 
82
88
  @classmethod
@@ -90,7 +96,8 @@ class ReflectResponse(BaseModel):
90
96
 
91
97
  _obj = cls.model_validate({
92
98
  "text": obj.get("text"),
93
- "based_on": [ReflectFact.from_dict(_item) for _item in obj["based_on"]] if obj.get("based_on") is not None else None
99
+ "based_on": [ReflectFact.from_dict(_item) for _item in obj["based_on"]] if obj.get("based_on") is not None else None,
100
+ "structured_output": obj.get("structured_output")
94
101
  })
95
102
  return _obj
96
103
 
@@ -52,36 +52,75 @@ class RESTResponse(io.IOBase):
52
52
  class RESTClientObject:
53
53
 
54
54
  def __init__(self, configuration) -> None:
55
+ # Store configuration for deferred initialization
56
+ # aiohttp.TCPConnector requires a running event loop, so we defer
57
+ # creation until the first request (which runs in async context)
58
+ self._configuration = configuration
59
+ self._pool_manager: Optional[aiohttp.ClientSession] = None
60
+ self._retry_client: Optional[aiohttp_retry.RetryClient] = None
55
61
 
56
- # maxsize is number of requests to host that are allowed in parallel
57
- self.maxsize = configuration.connection_pool_maxsize
62
+ self.proxy = configuration.proxy
63
+ self.proxy_headers = configuration.proxy_headers
64
+
65
+ def _ensure_session(self) -> None:
66
+ """Create aiohttp session lazily (must be called from async context)."""
67
+ if self._pool_manager is not None:
68
+ return
69
+
70
+ configuration = self._configuration
71
+ maxsize = configuration.connection_pool_maxsize
58
72
 
59
- self.ssl_context = ssl.create_default_context(
60
- cafile=configuration.ssl_ca_cert,
61
- cadata=configuration.ca_cert_data,
73
+ ssl_context = ssl.create_default_context(
74
+ cafile=configuration.ssl_ca_cert
62
75
  )
63
76
  if configuration.cert_file:
64
- self.ssl_context.load_cert_chain(
77
+ ssl_context.load_cert_chain(
65
78
  configuration.cert_file, keyfile=configuration.key_file
66
79
  )
67
80
 
68
81
  if not configuration.verify_ssl:
69
- self.ssl_context.check_hostname = False
70
- self.ssl_context.verify_mode = ssl.CERT_NONE
82
+ ssl_context.check_hostname = False
83
+ ssl_context.verify_mode = ssl.CERT_NONE
71
84
 
72
- self.proxy = configuration.proxy
73
- self.proxy_headers = configuration.proxy_headers
85
+ connector = aiohttp.TCPConnector(
86
+ limit=maxsize,
87
+ ssl=ssl_context
88
+ )
74
89
 
75
- self.retries = configuration.retries
90
+ self._pool_manager = aiohttp.ClientSession(
91
+ connector=connector,
92
+ trust_env=True
93
+ )
76
94
 
77
- self.pool_manager: Optional[aiohttp.ClientSession] = None
78
- self.retry_client: Optional[aiohttp_retry.RetryClient] = None
95
+ retries = configuration.retries
96
+ if retries is not None:
97
+ self._retry_client = aiohttp_retry.RetryClient(
98
+ client_session=self._pool_manager,
99
+ retry_options=aiohttp_retry.ExponentialRetry(
100
+ attempts=retries,
101
+ factor=2.0,
102
+ start_timeout=0.1,
103
+ max_timeout=120.0
104
+ )
105
+ )
106
+
107
+ @property
108
+ def pool_manager(self) -> aiohttp.ClientSession:
109
+ """Get the pool manager, initializing if needed."""
110
+ self._ensure_session()
111
+ return self._pool_manager
112
+
113
+ @property
114
+ def retry_client(self) -> Optional[aiohttp_retry.RetryClient]:
115
+ """Get the retry client, initializing if needed."""
116
+ self._ensure_session()
117
+ return self._retry_client
79
118
 
80
- async def close(self) -> None:
81
- if self.pool_manager:
82
- await self.pool_manager.close()
83
- if self.retry_client is not None:
84
- await self.retry_client.close()
119
+ async def close(self):
120
+ if self._pool_manager is not None:
121
+ await self._pool_manager.close()
122
+ if self._retry_client is not None:
123
+ await self._retry_client.close()
85
124
 
86
125
  async def request(
87
126
  self,
@@ -186,27 +225,10 @@ class RESTClientObject:
186
225
  raise ApiException(status=0, reason=msg)
187
226
 
188
227
  pool_manager: Union[aiohttp.ClientSession, aiohttp_retry.RetryClient]
189
-
190
- # https pool manager
191
- if self.pool_manager is None:
192
- self.pool_manager = aiohttp.ClientSession(
193
- connector=aiohttp.TCPConnector(limit=self.maxsize, ssl=self.ssl_context),
194
- trust_env=True,
195
- )
196
- pool_manager = self.pool_manager
197
-
198
- if self.retries is not None and method in ALLOW_RETRY_METHODS:
199
- if self.retry_client is None:
200
- self.retry_client = aiohttp_retry.RetryClient(
201
- client_session=self.pool_manager,
202
- retry_options=aiohttp_retry.ExponentialRetry(
203
- attempts=self.retries,
204
- factor=2.0,
205
- start_timeout=0.1,
206
- max_timeout=120.0
207
- )
208
- )
228
+ if self.retry_client is not None and method in ALLOW_RETRY_METHODS:
209
229
  pool_manager = self.retry_client
230
+ else:
231
+ pool_manager = self.pool_manager
210
232
 
211
233
  r = await pool_manager.request(**args)
212
234
 
@@ -1,109 +0,0 @@
1
- hindsight_client/__init__.py,sha256=PyDJ4UVKmtRN5OeBs0-rl-tUtqS8OoX53qvejKGC3JU,3114
2
- hindsight_client/hindsight_client.py,sha256=sOyI7okjIuq6U6Qf30dXsTR9ikDMC6FVtX71aZ_Ribw,14453
3
- hindsight_client_api/__init__.py,sha256=5PKjxuRIBdYzBm_35NF_B583xiI5TAlbxmTTKkF60j0,7004
4
- hindsight_client_api/api_client.py,sha256=6Q0Hdx1h4U549-Bfk9ckwSlIdF27arfLMMQsGeoyR98,27860
5
- hindsight_client_api/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
6
- hindsight_client_api/configuration.py,sha256=HJVm0OTS-ShvzbNjhlB7P_zFpZSCI2UVAMgxHZGsGxY,17787
7
- hindsight_client_api/exceptions.py,sha256=YkyzFWcoSnqgQ1_Zb0KcfdzzC09amaPMNeQJee0VbAM,6470
8
- hindsight_client_api/rest.py,sha256=MZjIq4Rp21cNayqnI6SC9aP8K4DjsEcPPebHl2Y6nCM,7225
9
- hindsight_client_api/api/__init__.py,sha256=Kn3AGORXpRNUKhh0v-I9-8BoZYGgVxhzIQ1_suO261w,420
10
- hindsight_client_api/api/banks_api.py,sha256=Vk607GRBbRz_Wwr59z7iOSsz-VwY5JRtjawY7fruOBU,79646
11
- hindsight_client_api/api/documents_api.py,sha256=F890v_gYJgbbaqE760jSpTEzT1fVBJ8Lk0Zo-H0ueiQ,46778
12
- hindsight_client_api/api/entities_api.py,sha256=QGw4UBbQueXMWG5zx9AD30SuRxDqUaQWpLbFAXClU3k,35098
13
- hindsight_client_api/api/memory_api.py,sha256=aJmZe253m8sL1dJB8HKYPyGDbE5j6JJi3T-rPDPWYbQ,77697
14
- hindsight_client_api/api/monitoring_api.py,sha256=pt_jMV8GN6xpxX-iqk-FjrlihXLuygCKCXxg9ksEMcE,19807
15
- hindsight_client_api/api/operations_api.py,sha256=C-ABeir4C-fz7mbN9_uDGqhVReA9OzsuvC0YYJdWlNo,23249
16
- hindsight_client_api/docs/AddBackgroundRequest.md,sha256=kGqmmpNVKwddWU8vQi8rrFCU7duFEDYwBLclPOlS9yw,1214
17
- hindsight_client_api/docs/BackgroundResponse.md,sha256=VAn0Kz5hj8BCqzeb_tHFL1H-YC6ePi6QrChWR1sPlc0,1061
18
- hindsight_client_api/docs/BankListItem.md,sha256=QhNR5gBXj6zIFPWYZYAuWDsM6jnB9dN6JAQt8HkWaUQ,1136
19
- hindsight_client_api/docs/BankListResponse.md,sha256=20McKN_iVmyOFzQBGOGo-a0D7P2YJTeh31GJna1P6J8,989
20
- hindsight_client_api/docs/BankProfileResponse.md,sha256=QsB-nP0gaAitMKxZlzliIqHEra_9gUYqzTi5ib-rMG8,1117
21
- hindsight_client_api/docs/BankStatsResponse.md,sha256=ArJZQnudHPprX_VHAdAgBcdfO6EB84Uh7MubUgIDYBE,1362
22
- hindsight_client_api/docs/BanksApi.md,sha256=kCuYVmRAEpfqfV5RvlfJ6L7QbJ9VQWP1VVTG3i1jYCY,16607
23
- hindsight_client_api/docs/Budget.md,sha256=UMCVLms95l0XATPyK4VcTQoeGQjRv6FsnaKZ547s0Ow,309
24
- hindsight_client_api/docs/CancelOperationResponse.md,sha256=Fy7PDYGywE3txFbBEGye5HPuPGcjJrNnYFtQrROZZak,1118
25
- hindsight_client_api/docs/ChunkData.md,sha256=8HaU0DkJnIcVayGQc52noa-QxoM_lckzfX0p3B0cVsg,1021
26
- hindsight_client_api/docs/ChunkIncludeOptions.md,sha256=zPqCLDkW7flyLjJdhrBnh97zm8Y7WTs-kkaYI1xK9G0,1088
27
- hindsight_client_api/docs/ChunkResponse.md,sha256=6qZwJfZATMT2dD8ML8IDJ7eSwF-8bmuKz2pLGU1UYPE,1068
28
- hindsight_client_api/docs/CreateBankRequest.md,sha256=YaJoRl-vBdee48YN-1OjWrmIaenKWKGfWkTM13ljqGE,1107
29
- hindsight_client_api/docs/DeleteDocumentResponse.md,sha256=PzP5Rgi8iYBrJYBJO1f_ovVi_210h47jyY4uYAg6JUk,1144
30
- hindsight_client_api/docs/DeleteResponse.md,sha256=lJLOnSd5QxiFN349Y2EJXL5roRDRhj58llyLcrPi-w4,1010
31
- hindsight_client_api/docs/DispositionTraits.md,sha256=soMPj6hVeJxOGoec9fewHzEGWLoghBhBtw4MVU5HFgw,1271
32
- hindsight_client_api/docs/DocumentResponse.md,sha256=ruwb2llltuJLZ3KoVJ-zwF3C7ELjpjaUNet9OK-4JKQ,1145
33
- hindsight_client_api/docs/DocumentsApi.md,sha256=-fiHgyRSrHnI7Jq56bMsRIWGKkRTxWv_ugBjBWabCY0,9690
34
- hindsight_client_api/docs/EntitiesApi.md,sha256=snMl6SoujNoBIwamltK3Xi_Dsx1S60DEqqIRg9nsuRU,7331
35
- hindsight_client_api/docs/EntityDetailResponse.md,sha256=Ea6SGkeMCZWzhOGyzJ5nP7PU7a6SBit6GL8gWnNyOvA,1308
36
- hindsight_client_api/docs/EntityIncludeOptions.md,sha256=ldI3RHhT8ub11bc1hmwqCEy4XGzJrFq08NGfEXy7p_Y,1100
37
- hindsight_client_api/docs/EntityListItem.md,sha256=BpYo9ftZyCHUlB6xPURvCvGu_7YSore0xt8Y_b-4gHA,1125
38
- hindsight_client_api/docs/EntityListResponse.md,sha256=uwzq605X0L8iHDVR12pIG0t-iVPCgUz5NR39lyWYgqE,1022
39
- hindsight_client_api/docs/EntityObservationResponse.md,sha256=6-7UxvIKFqGyQaoyHOdadHzXnAigOb2zGHXmpvr6rf0,1109
40
- hindsight_client_api/docs/EntityStateResponse.md,sha256=08ntXHc69PVXiOGcrg3HwqeYo9wHG5ivfcAvJI-C6eQ,1123
41
- hindsight_client_api/docs/GraphDataResponse.md,sha256=UIsZmMFNXwKNujVeha8TFPiq4HxZqHOWDXNXbm1yNm8,1119
42
- hindsight_client_api/docs/HTTPValidationError.md,sha256=IZC9oMGPXsIFy7yeKKgRpZHQXzz0wyIp2ZChHA9MaXI,1008
43
- hindsight_client_api/docs/IncludeOptions.md,sha256=GZ4xlW2amRYgWq_dL7sdmnrmUdWtdY9FnHqKhotcRoI,1080
44
- hindsight_client_api/docs/ListDocumentsResponse.md,sha256=knIyqPUGLe1Pg0dLnjrnHgO1RqB7RisKEZWSyiX4oiI,1125
45
- hindsight_client_api/docs/ListMemoryUnitsResponse.md,sha256=UBFQ1uJd9AAcRHWtgr7hjx86ka_EmPKr5LwH15UO2Mc,1160
46
- hindsight_client_api/docs/MemoryApi.md,sha256=0rTXM4HsK7McTQhf00RsuW05XDqcraj11894hc0NYfY,16719
47
- hindsight_client_api/docs/MemoryItem.md,sha256=UaHZE9BQO9BJgsGJL8QfAeuogtCZmFoH4XZshoyLmcI,1045
48
- hindsight_client_api/docs/MonitoringApi.md,sha256=Iquzlr0AmtLliR9c-yKy9-PyXWqncytBhLbZ0eO1C_8,3755
49
- hindsight_client_api/docs/OperationResponse.md,sha256=N5DUPYa9Q6lALTdpUsPfLVBJBplxQqV3Pi8t6ZMYATc,1152
50
- hindsight_client_api/docs/OperationsApi.md,sha256=stE5s6j-N0n9DfMD9TJKfk0iFtXpMx9KF9DXFlPB0l0,4868
51
- hindsight_client_api/docs/OperationsListResponse.md,sha256=X_ULXJETpzI1-n3J8irktDlOBWyOo-0sa7JdHUO8Ovw,1117
52
- hindsight_client_api/docs/RecallRequest.md,sha256=PiRDR-7hihL2zhCKTRNdJKIUZ5hTHBURwQCrMQl_XHs,1309
53
- hindsight_client_api/docs/RecallResponse.md,sha256=VbABZlZwMTaSuqaqAAOOAjkuqaDB4azaQAFP5noJkVc,1173
54
- hindsight_client_api/docs/RecallResult.md,sha256=1QTIqPN86Gq--tw-LwFVBmO5QD4dj8DbzJqe0ywUrew,1297
55
- hindsight_client_api/docs/ReflectFact.md,sha256=f9wmQde692is1dF6sw6S5_zIDI9Z_AHSbCvD7ALluLY,1075
56
- hindsight_client_api/docs/ReflectIncludeOptions.md,sha256=tH-pQeSv0QH9hoLmQhsg0PO5R3jVolDK6JFUG5CHi50,1112
57
- hindsight_client_api/docs/ReflectRequest.md,sha256=QIkRNJJsZS47yy20ZsoDFQhOFx8kYmB2wd0az85OelY,1158
58
- hindsight_client_api/docs/ReflectResponse.md,sha256=ziZtjLkXfX7RieaBtL5XC1JxgyG5_1rda-pZHHrQAaA,1019
59
- hindsight_client_api/docs/RetainRequest.md,sha256=u-IhxRJo2iFWtskDsRpBJJjOdm7mfLGE6j1W6iNTcKY,1090
60
- hindsight_client_api/docs/RetainResponse.md,sha256=2a3Wz7ilrnQ_BFf6YTqWDmA94gohs8kU9sCR3mJYrj8,1065
61
- hindsight_client_api/docs/UpdateDispositionRequest.md,sha256=C3Q9UcVts2wPjYQgy1JH2ch1jy0tP2xswGe8sUzkZ_8,1112
62
- hindsight_client_api/docs/ValidationError.md,sha256=moV1dyA1z8n2DSD18ri7x7GDJujHc6--fbwGr4u8cl4,1001
63
- hindsight_client_api/docs/ValidationErrorLocInner.md,sha256=WP7Zm2LNt2HZb6XHo0cLvLCrht-EGFKp0i4zD3jPMto,988
64
- hindsight_client_api/models/__init__.py,sha256=a-vD1DQG9S6RMncyRj29QJZnkzCNuF17VVAwWMYrH58,3537
65
- hindsight_client_api/models/add_background_request.py,sha256=3rld3CjxNSPbxX9CoDSr5WEuhEoo-gRrCZ709Vvy9rI,2867
66
- hindsight_client_api/models/background_response.py,sha256=SUFt-k6ipl2SXAvHb3IU3IJ5LuXIGEoK8_pVbZO3Dgw,3144
67
- hindsight_client_api/models/bank_list_item.py,sha256=grJYCFBinjxEy1M8ZxPiy8asUVKj58b2KnScE2tmU-Q,4137
68
- hindsight_client_api/models/bank_list_response.py,sha256=LiACkek7iqhA5mmVvYQkMnf4J5bfSFwBJ_mkC0u_Nz4,2896
69
- hindsight_client_api/models/bank_profile_response.py,sha256=1vMc2814672N61dLK2a8b_H0yJfbOxSgiAQvHztvyrk,3030
70
- hindsight_client_api/models/bank_stats_response.py,sha256=ekrmI8GnALqfSzOIRXF0a8mXPWyyqzz76SSEl7gfnRE,3521
71
- hindsight_client_api/models/budget.py,sha256=AwTSqd59PKqQEM1g3qM3E7fSH2lUFll9iFLjzRMhtDE,702
72
- hindsight_client_api/models/cancel_operation_response.py,sha256=jxLGkFmZ8aWRMcHVmnnnl306u8R10mSS5Yo9n-vtNCM,2656
73
- hindsight_client_api/models/chunk_data.py,sha256=3iU9LmeMrMr2cdnSoE38_ipx7YZxAHU46v72ShVbPKo,2828
74
- hindsight_client_api/models/chunk_include_options.py,sha256=96r8h9pZbHGvK2OMC3q4xfoBqXRwCSypmcCDO0KCM7A,2634
75
- hindsight_client_api/models/chunk_response.py,sha256=5E6XHhhEO7AF_OMNk6vJZFT47_IRex8bGHlFW-AEPLs,2888
76
- hindsight_client_api/models/create_bank_request.py,sha256=5IEuAmetFFtI1NFH0gTzTCtVni49TNVXAnrqz9n9lhk,3668
77
- hindsight_client_api/models/delete_document_response.py,sha256=k_gHKh2qiUOyAS-iLzPPGVNFwTltvH2gbFceLU-JBrI,2788
78
- hindsight_client_api/models/delete_response.py,sha256=8TjUUMXrEfbxxMHj5PsCaqEib2qpaA3JT45cbxToFj0,3126
79
- hindsight_client_api/models/disposition_traits.py,sha256=I61B7L3BkGQlAxBONDILwE-hH_S3oY2IFrbeTzpj9Mg,3055
80
- hindsight_client_api/models/document_response.py,sha256=hvtlBhm0EEGldM5Gh82cwnFYCL2ckwI2upDySdhbFZ0,3256
81
- hindsight_client_api/models/entity_detail_response.py,sha256=51Pv6lQEVGjUZ2KimRP0xFCowwOgt0ShcNITeHLF0Ro,4312
82
- hindsight_client_api/models/entity_include_options.py,sha256=j6o0SPWslW7y461xahbw4l1VXMIU1B5vxR3MX8cJ2FY,2635
83
- hindsight_client_api/models/entity_list_item.py,sha256=ZtdnkJ-xz7djdls1RaYXl7BEF_q1YIcan61MrHH0x6g,3602
84
- hindsight_client_api/models/entity_list_response.py,sha256=J3EYrjHKJk8AjcUQH2uEI3s1Hw11mIyQDgKrvPRhd4w,2913
85
- hindsight_client_api/models/entity_observation_response.py,sha256=Sbz_m0MssD-gYyV4sAeD56HGrnmlWcdO0bBs73K65YU,2804
86
- hindsight_client_api/models/entity_state_response.py,sha256=VNxiaOcNy2vCXuNGJMD1WbTTqwUguizvCxJHkt7Lyuw,3239
87
- hindsight_client_api/models/graph_data_response.py,sha256=24l32YX7rzsNZBIeLAL2TX25O3-7Ji-I-9WkYPHWSNQ,2721
88
- hindsight_client_api/models/http_validation_error.py,sha256=KKvY67lajAI7hAys0IZHeeTsG2ArvpVIATqSMjbWGOY,2937
89
- hindsight_client_api/models/include_options.py,sha256=FlB8QT_bqA141_tSv51QvZRbqKZdcaR2estkHg6eBGc,3645
90
- hindsight_client_api/models/list_documents_response.py,sha256=8lXIfprjJHpWCgiKkw4-M8d2y4NOTcK76HoF1otMekI,2675
91
- hindsight_client_api/models/list_memory_units_response.py,sha256=gEC-opRav_3cWdKvoO7Hure3dnVyFiFC0gtDP0TE7H8,2684
92
- hindsight_client_api/models/memory_item.py,sha256=2DisYT6Hnfpi9IbVkQfkOhlQQk_E9AqAmGn4wo_WcIA,3741
93
- hindsight_client_api/models/operation_response.py,sha256=ach9QI35J3FtPKLzZDqb54Xfov7ouiEhto4nztCKc8I,3467
94
- hindsight_client_api/models/operations_list_response.py,sha256=3XOfvTBBkv7VmYo-PZX0wVK_RtMCZkQdaPkXXhGIiRU,3088
95
- hindsight_client_api/models/recall_request.py,sha256=IPYeipQO7qxUepB01iCkz2ACNWQg5jXLIPzSAxsTQts,4053
96
- hindsight_client_api/models/recall_response.py,sha256=t_qYAUMHXFBnXX7kCF8EeLfqeyF9V01wvQizCDvf4dY,5103
97
- hindsight_client_api/models/recall_result.py,sha256=fI-TCBDFGuSIytFsI7FADtJkmvsTOX-G3bFFRxLJbMY,5402
98
- hindsight_client_api/models/reflect_fact.py,sha256=sYW00LmDpY7VptK0E4I0gUWHkCRaCTeypuHSdciknw8,3973
99
- hindsight_client_api/models/reflect_include_options.py,sha256=q3TqMu-zrJw8LIHOl5pb0baDEQlOlFkBI5gE9MEmKQQ,2584
100
- hindsight_client_api/models/reflect_request.py,sha256=_Rt9QSGz040309-WTN8YXWkfQ6KzGWWQAmGsaGgw0Iw,3407
101
- hindsight_client_api/models/reflect_response.py,sha256=z4rzUMGlFzk4DQKINQhaLHWmwe6kocgglSFePyaKLE0,3024
102
- hindsight_client_api/models/retain_request.py,sha256=LABq0vwi3ZYnb1RB6UCLw6PoFT4Q4qap8LNWLquh7jE,3178
103
- hindsight_client_api/models/retain_response.py,sha256=b3t5H7_ixi7jZw_kvb2XYh0Q6IDTfHvWRR2KaKqf7ls,2796
104
- hindsight_client_api/models/update_disposition_request.py,sha256=6D3qceEJByBWcZrfSbNXrdlrDtnj0_QXh2zosc49-5E,2817
105
- hindsight_client_api/models/validation_error.py,sha256=XnK71WeEUbZyXPbzv1uKaNAFEYxfsiS7G0cvjTgCxiM,3029
106
- hindsight_client_api/models/validation_error_loc_inner.py,sha256=q51Yi64xsxhsy3_AAD5DlcfI2-g_81hQoN6Olh3I8ag,4812
107
- hindsight_client-0.1.16.dist-info/METADATA,sha256=8ZaRBmGD8mU--Mksp6A9tX2PUllNMXu-ltAlvms6S5Y,648
108
- hindsight_client-0.1.16.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
109
- hindsight_client-0.1.16.dist-info/RECORD,,
@@ -1,31 +0,0 @@
1
- # AddBackgroundRequest
2
-
3
- Request model for adding/merging background information.
4
-
5
- ## Properties
6
-
7
- Name | Type | Description | Notes
8
- ------------ | ------------- | ------------- | -------------
9
- **content** | **str** | New background information to add or merge |
10
- **update_disposition** | **bool** | If true, infer disposition traits from the merged background (default: true) | [optional] [default to True]
11
-
12
- ## Example
13
-
14
- ```python
15
- from hindsight_client_api.models.add_background_request import AddBackgroundRequest
16
-
17
- # TODO update the JSON string below
18
- json = "{}"
19
- # create an instance of AddBackgroundRequest from a JSON string
20
- add_background_request_instance = AddBackgroundRequest.from_json(json)
21
- # print the JSON string representation of the object
22
- print(AddBackgroundRequest.to_json())
23
-
24
- # convert the object into a dict
25
- add_background_request_dict = add_background_request_instance.to_dict()
26
- # create an instance of AddBackgroundRequest from a dict
27
- add_background_request_from_dict = AddBackgroundRequest.from_dict(add_background_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,31 +0,0 @@
1
- # BackgroundResponse
2
-
3
- Response model for background update.
4
-
5
- ## Properties
6
-
7
- Name | Type | Description | Notes
8
- ------------ | ------------- | ------------- | -------------
9
- **background** | **str** | |
10
- **disposition** | [**DispositionTraits**](DispositionTraits.md) | | [optional]
11
-
12
- ## Example
13
-
14
- ```python
15
- from hindsight_client_api.models.background_response import BackgroundResponse
16
-
17
- # TODO update the JSON string below
18
- json = "{}"
19
- # create an instance of BackgroundResponse from a JSON string
20
- background_response_instance = BackgroundResponse.from_json(json)
21
- # print the JSON string representation of the object
22
- print(BackgroundResponse.to_json())
23
-
24
- # convert the object into a dict
25
- background_response_dict = background_response_instance.to_dict()
26
- # create an instance of BackgroundResponse from a dict
27
- background_response_from_dict = BackgroundResponse.from_dict(background_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,35 +0,0 @@
1
- # BankListItem
2
-
3
- Bank list item with profile summary.
4
-
5
- ## Properties
6
-
7
- Name | Type | Description | Notes
8
- ------------ | ------------- | ------------- | -------------
9
- **bank_id** | **str** | |
10
- **name** | **str** | | [optional]
11
- **disposition** | [**DispositionTraits**](DispositionTraits.md) | |
12
- **background** | **str** | | [optional]
13
- **created_at** | **str** | | [optional]
14
- **updated_at** | **str** | | [optional]
15
-
16
- ## Example
17
-
18
- ```python
19
- from hindsight_client_api.models.bank_list_item import BankListItem
20
-
21
- # TODO update the JSON string below
22
- json = "{}"
23
- # create an instance of BankListItem from a JSON string
24
- bank_list_item_instance = BankListItem.from_json(json)
25
- # print the JSON string representation of the object
26
- print(BankListItem.to_json())
27
-
28
- # convert the object into a dict
29
- bank_list_item_dict = bank_list_item_instance.to_dict()
30
- # create an instance of BankListItem from a dict
31
- bank_list_item_from_dict = BankListItem.from_dict(bank_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
- # BankListResponse
2
-
3
- Response model for listing all banks.
4
-
5
- ## Properties
6
-
7
- Name | Type | Description | Notes
8
- ------------ | ------------- | ------------- | -------------
9
- **banks** | [**List[BankListItem]**](BankListItem.md) | |
10
-
11
- ## Example
12
-
13
- ```python
14
- from hindsight_client_api.models.bank_list_response import BankListResponse
15
-
16
- # TODO update the JSON string below
17
- json = "{}"
18
- # create an instance of BankListResponse from a JSON string
19
- bank_list_response_instance = BankListResponse.from_json(json)
20
- # print the JSON string representation of the object
21
- print(BankListResponse.to_json())
22
-
23
- # convert the object into a dict
24
- bank_list_response_dict = bank_list_response_instance.to_dict()
25
- # create an instance of BankListResponse from a dict
26
- bank_list_response_from_dict = BankListResponse.from_dict(bank_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,33 +0,0 @@
1
- # BankProfileResponse
2
-
3
- Response model for bank profile.
4
-
5
- ## Properties
6
-
7
- Name | Type | Description | Notes
8
- ------------ | ------------- | ------------- | -------------
9
- **bank_id** | **str** | |
10
- **name** | **str** | |
11
- **disposition** | [**DispositionTraits**](DispositionTraits.md) | |
12
- **background** | **str** | |
13
-
14
- ## Example
15
-
16
- ```python
17
- from hindsight_client_api.models.bank_profile_response import BankProfileResponse
18
-
19
- # TODO update the JSON string below
20
- json = "{}"
21
- # create an instance of BankProfileResponse from a JSON string
22
- bank_profile_response_instance = BankProfileResponse.from_json(json)
23
- # print the JSON string representation of the object
24
- print(BankProfileResponse.to_json())
25
-
26
- # convert the object into a dict
27
- bank_profile_response_dict = bank_profile_response_instance.to_dict()
28
- # create an instance of BankProfileResponse from a dict
29
- bank_profile_response_from_dict = BankProfileResponse.from_dict(bank_profile_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
-