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.
Files changed (76) hide show
  1. hindsight_client/hindsight_client.py +2 -0
  2. {hindsight_client-0.2.0.dist-info → hindsight_client-0.3.0.dist-info}/METADATA +1 -1
  3. hindsight_client-0.3.0.dist-info/RECORD +65 -0
  4. hindsight_client_api/__init__.py +61 -119
  5. hindsight_client_api/api/banks_api.py +15 -0
  6. hindsight_client_api/api/entities_api.py +20 -3
  7. hindsight_client_api/api/memory_api.py +713 -73
  8. hindsight_client_api/api_client.py +6 -13
  9. hindsight_client_api/configuration.py +4 -15
  10. hindsight_client_api/exceptions.py +2 -22
  11. hindsight_client_api/models/__init__.py +4 -1
  12. hindsight_client_api/models/document_response.py +5 -3
  13. hindsight_client_api/models/entity_input.py +22 -10
  14. hindsight_client_api/models/entity_list_response.py +9 -3
  15. hindsight_client_api/models/graph_data_response.py +4 -2
  16. hindsight_client_api/models/list_tags_response.py +101 -0
  17. hindsight_client_api/models/memory_item.py +19 -8
  18. hindsight_client_api/models/recall_request.py +22 -3
  19. hindsight_client_api/models/recall_result.py +9 -2
  20. hindsight_client_api/models/reflect_request.py +22 -3
  21. hindsight_client_api/models/reflect_response.py +13 -2
  22. hindsight_client_api/models/retain_request.py +10 -3
  23. hindsight_client_api/models/retain_response.py +21 -3
  24. hindsight_client_api/models/tag_item.py +89 -0
  25. hindsight_client_api/models/token_usage.py +91 -0
  26. hindsight_client_api/rest.py +60 -38
  27. hindsight_client-0.2.0.dist-info/RECORD +0 -110
  28. hindsight_client_api/docs/AddBackgroundRequest.md +0 -31
  29. hindsight_client_api/docs/BackgroundResponse.md +0 -31
  30. hindsight_client_api/docs/BankListItem.md +0 -35
  31. hindsight_client_api/docs/BankListResponse.md +0 -30
  32. hindsight_client_api/docs/BankProfileResponse.md +0 -33
  33. hindsight_client_api/docs/BankStatsResponse.md +0 -39
  34. hindsight_client_api/docs/BanksApi.md +0 -517
  35. hindsight_client_api/docs/Budget.md +0 -15
  36. hindsight_client_api/docs/CancelOperationResponse.md +0 -32
  37. hindsight_client_api/docs/ChunkData.md +0 -33
  38. hindsight_client_api/docs/ChunkIncludeOptions.md +0 -30
  39. hindsight_client_api/docs/ChunkResponse.md +0 -35
  40. hindsight_client_api/docs/CreateBankRequest.md +0 -32
  41. hindsight_client_api/docs/DeleteDocumentResponse.md +0 -33
  42. hindsight_client_api/docs/DeleteResponse.md +0 -32
  43. hindsight_client_api/docs/DispositionTraits.md +0 -32
  44. hindsight_client_api/docs/DocumentResponse.md +0 -36
  45. hindsight_client_api/docs/DocumentsApi.md +0 -313
  46. hindsight_client_api/docs/EntitiesApi.md +0 -230
  47. hindsight_client_api/docs/EntityDetailResponse.md +0 -36
  48. hindsight_client_api/docs/EntityIncludeOptions.md +0 -30
  49. hindsight_client_api/docs/EntityListItem.md +0 -35
  50. hindsight_client_api/docs/EntityListResponse.md +0 -30
  51. hindsight_client_api/docs/EntityObservationResponse.md +0 -31
  52. hindsight_client_api/docs/EntityStateResponse.md +0 -32
  53. hindsight_client_api/docs/GraphDataResponse.md +0 -33
  54. hindsight_client_api/docs/HTTPValidationError.md +0 -29
  55. hindsight_client_api/docs/IncludeOptions.md +0 -31
  56. hindsight_client_api/docs/ListDocumentsResponse.md +0 -33
  57. hindsight_client_api/docs/ListMemoryUnitsResponse.md +0 -33
  58. hindsight_client_api/docs/MemoryApi.md +0 -499
  59. hindsight_client_api/docs/MemoryItem.md +0 -34
  60. hindsight_client_api/docs/MonitoringApi.md +0 -136
  61. hindsight_client_api/docs/OperationResponse.md +0 -36
  62. hindsight_client_api/docs/OperationsApi.md +0 -154
  63. hindsight_client_api/docs/OperationsListResponse.md +0 -31
  64. hindsight_client_api/docs/RecallRequest.md +0 -36
  65. hindsight_client_api/docs/RecallResponse.md +0 -33
  66. hindsight_client_api/docs/RecallResult.md +0 -40
  67. hindsight_client_api/docs/ReflectFact.md +0 -35
  68. hindsight_client_api/docs/ReflectIncludeOptions.md +0 -30
  69. hindsight_client_api/docs/ReflectRequest.md +0 -35
  70. hindsight_client_api/docs/ReflectResponse.md +0 -32
  71. hindsight_client_api/docs/RetainRequest.md +0 -31
  72. hindsight_client_api/docs/RetainResponse.md +0 -33
  73. hindsight_client_api/docs/UpdateDispositionRequest.md +0 -30
  74. hindsight_client_api/docs/ValidationError.md +0 -31
  75. hindsight_client_api/docs/ValidationErrorLocInner.md +0 -28
  76. {hindsight_client-0.2.0.dist-info → hindsight_client-0.3.0.dist-info}/WHEEL +0 -0
@@ -20,6 +20,7 @@ import json
20
20
  from pydantic import BaseModel, ConfigDict, StrictStr
21
21
  from typing import Any, ClassVar, Dict, List, Optional
22
22
  from hindsight_client_api.models.reflect_fact import ReflectFact
23
+ from hindsight_client_api.models.token_usage import TokenUsage
23
24
  from typing import Optional, Set
24
25
  from typing_extensions import Self
25
26
 
@@ -30,7 +31,8 @@ class ReflectResponse(BaseModel):
30
31
  text: StrictStr
31
32
  based_on: Optional[List[ReflectFact]] = None
32
33
  structured_output: Optional[Dict[str, Any]] = None
33
- __properties: ClassVar[List[str]] = ["text", "based_on", "structured_output"]
34
+ usage: Optional[TokenUsage] = None
35
+ __properties: ClassVar[List[str]] = ["text", "based_on", "structured_output", "usage"]
34
36
 
35
37
  model_config = ConfigDict(
36
38
  populate_by_name=True,
@@ -78,11 +80,19 @@ class ReflectResponse(BaseModel):
78
80
  if _item_based_on:
79
81
  _items.append(_item_based_on.to_dict())
80
82
  _dict['based_on'] = _items
83
+ # override the default output from pydantic by calling `to_dict()` of usage
84
+ if self.usage:
85
+ _dict['usage'] = self.usage.to_dict()
81
86
  # set to None if structured_output (nullable) is None
82
87
  # and model_fields_set contains the field
83
88
  if self.structured_output is None and "structured_output" in self.model_fields_set:
84
89
  _dict['structured_output'] = None
85
90
 
91
+ # set to None if usage (nullable) is None
92
+ # and model_fields_set contains the field
93
+ if self.usage is None and "usage" in self.model_fields_set:
94
+ _dict['usage'] = None
95
+
86
96
  return _dict
87
97
 
88
98
  @classmethod
@@ -97,7 +107,8 @@ class ReflectResponse(BaseModel):
97
107
  _obj = cls.model_validate({
98
108
  "text": obj.get("text"),
99
109
  "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")
110
+ "structured_output": obj.get("structured_output"),
111
+ "usage": TokenUsage.from_dict(obj["usage"]) if obj.get("usage") is not None else None
101
112
  })
102
113
  return _obj
103
114
 
@@ -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, StrictBool
20
+ from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr
21
21
  from typing import Any, ClassVar, Dict, List, Optional
22
22
  from hindsight_client_api.models.memory_item import MemoryItem
23
23
  from typing import Optional, Set
@@ -29,7 +29,8 @@ class RetainRequest(BaseModel):
29
29
  """ # noqa: E501
30
30
  items: List[MemoryItem]
31
31
  var_async: Optional[StrictBool] = Field(default=False, description="If true, process asynchronously in background. If false, wait for completion (default: false)", alias="async")
32
- __properties: ClassVar[List[str]] = ["items", "async"]
32
+ document_tags: Optional[List[StrictStr]] = None
33
+ __properties: ClassVar[List[str]] = ["items", "async", "document_tags"]
33
34
 
34
35
  model_config = ConfigDict(
35
36
  populate_by_name=True,
@@ -77,6 +78,11 @@ class RetainRequest(BaseModel):
77
78
  if _item_items:
78
79
  _items.append(_item_items.to_dict())
79
80
  _dict['items'] = _items
81
+ # set to None if document_tags (nullable) is None
82
+ # and model_fields_set contains the field
83
+ if self.document_tags is None and "document_tags" in self.model_fields_set:
84
+ _dict['document_tags'] = None
85
+
80
86
  return _dict
81
87
 
82
88
  @classmethod
@@ -90,7 +96,8 @@ class RetainRequest(BaseModel):
90
96
 
91
97
  _obj = cls.model_validate({
92
98
  "items": [MemoryItem.from_dict(_item) for _item in obj["items"]] if obj.get("items") is not None else None,
93
- "async": obj.get("async") if obj.get("async") is not None else False
99
+ "async": obj.get("async") if obj.get("async") is not None else False,
100
+ "document_tags": obj.get("document_tags")
94
101
  })
95
102
  return _obj
96
103
 
@@ -18,7 +18,8 @@ import re # noqa: F401
18
18
  import json
19
19
 
20
20
  from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr
21
- from typing import Any, ClassVar, Dict, List
21
+ from typing import Any, ClassVar, Dict, List, Optional
22
+ from hindsight_client_api.models.token_usage import TokenUsage
22
23
  from typing import Optional, Set
23
24
  from typing_extensions import Self
24
25
 
@@ -30,7 +31,9 @@ class RetainResponse(BaseModel):
30
31
  bank_id: StrictStr
31
32
  items_count: StrictInt
32
33
  var_async: StrictBool = Field(description="Whether the operation was processed asynchronously", alias="async")
33
- __properties: ClassVar[List[str]] = ["success", "bank_id", "items_count", "async"]
34
+ operation_id: Optional[StrictStr] = None
35
+ usage: Optional[TokenUsage] = None
36
+ __properties: ClassVar[List[str]] = ["success", "bank_id", "items_count", "async", "operation_id", "usage"]
34
37
 
35
38
  model_config = ConfigDict(
36
39
  populate_by_name=True,
@@ -71,6 +74,19 @@ class RetainResponse(BaseModel):
71
74
  exclude=excluded_fields,
72
75
  exclude_none=True,
73
76
  )
77
+ # override the default output from pydantic by calling `to_dict()` of usage
78
+ if self.usage:
79
+ _dict['usage'] = self.usage.to_dict()
80
+ # set to None if operation_id (nullable) is None
81
+ # and model_fields_set contains the field
82
+ if self.operation_id is None and "operation_id" in self.model_fields_set:
83
+ _dict['operation_id'] = None
84
+
85
+ # set to None if usage (nullable) is None
86
+ # and model_fields_set contains the field
87
+ if self.usage is None and "usage" in self.model_fields_set:
88
+ _dict['usage'] = None
89
+
74
90
  return _dict
75
91
 
76
92
  @classmethod
@@ -86,7 +102,9 @@ class RetainResponse(BaseModel):
86
102
  "success": obj.get("success"),
87
103
  "bank_id": obj.get("bank_id"),
88
104
  "items_count": obj.get("items_count"),
89
- "async": obj.get("async")
105
+ "async": obj.get("async"),
106
+ "operation_id": obj.get("operation_id"),
107
+ "usage": TokenUsage.from_dict(obj["usage"]) if obj.get("usage") is not None else None
90
108
  })
91
109
  return _obj
92
110
 
@@ -0,0 +1,89 @@
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, StrictInt, StrictStr
21
+ from typing import Any, ClassVar, Dict, List
22
+ from typing import Optional, Set
23
+ from typing_extensions import Self
24
+
25
+ class TagItem(BaseModel):
26
+ """
27
+ Single tag with usage count.
28
+ """ # noqa: E501
29
+ tag: StrictStr = Field(description="The tag value")
30
+ count: StrictInt = Field(description="Number of memories with this tag")
31
+ __properties: ClassVar[List[str]] = ["tag", "count"]
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 TagItem 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
+ return _dict
73
+
74
+ @classmethod
75
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
76
+ """Create an instance of TagItem from a dict"""
77
+ if obj is None:
78
+ return None
79
+
80
+ if not isinstance(obj, dict):
81
+ return cls.model_validate(obj)
82
+
83
+ _obj = cls.model_validate({
84
+ "tag": obj.get("tag"),
85
+ "count": obj.get("count")
86
+ })
87
+ return _obj
88
+
89
+
@@ -0,0 +1,91 @@
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, StrictInt
21
+ from typing import Any, ClassVar, Dict, List, Optional
22
+ from typing import Optional, Set
23
+ from typing_extensions import Self
24
+
25
+ class TokenUsage(BaseModel):
26
+ """
27
+ Token usage metrics for LLM calls. Tracks input/output tokens for a single request to enable per-request cost tracking and monitoring.
28
+ """ # noqa: E501
29
+ input_tokens: Optional[StrictInt] = Field(default=0, description="Number of input/prompt tokens consumed")
30
+ output_tokens: Optional[StrictInt] = Field(default=0, description="Number of output/completion tokens generated")
31
+ total_tokens: Optional[StrictInt] = Field(default=0, description="Total tokens (input + output)")
32
+ __properties: ClassVar[List[str]] = ["input_tokens", "output_tokens", "total_tokens"]
33
+
34
+ model_config = ConfigDict(
35
+ populate_by_name=True,
36
+ validate_assignment=True,
37
+ protected_namespaces=(),
38
+ )
39
+
40
+
41
+ def to_str(self) -> str:
42
+ """Returns the string representation of the model using alias"""
43
+ return pprint.pformat(self.model_dump(by_alias=True))
44
+
45
+ def to_json(self) -> str:
46
+ """Returns the JSON representation of the model using alias"""
47
+ # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
48
+ return json.dumps(self.to_dict())
49
+
50
+ @classmethod
51
+ def from_json(cls, json_str: str) -> Optional[Self]:
52
+ """Create an instance of TokenUsage from a JSON string"""
53
+ return cls.from_dict(json.loads(json_str))
54
+
55
+ def to_dict(self) -> Dict[str, Any]:
56
+ """Return the dictionary representation of the model using alias.
57
+
58
+ This has the following differences from calling pydantic's
59
+ `self.model_dump(by_alias=True)`:
60
+
61
+ * `None` is only added to the output dict for nullable fields that
62
+ were set at model initialization. Other fields with value `None`
63
+ are ignored.
64
+ """
65
+ excluded_fields: Set[str] = set([
66
+ ])
67
+
68
+ _dict = self.model_dump(
69
+ by_alias=True,
70
+ exclude=excluded_fields,
71
+ exclude_none=True,
72
+ )
73
+ return _dict
74
+
75
+ @classmethod
76
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
77
+ """Create an instance of TokenUsage from a dict"""
78
+ if obj is None:
79
+ return None
80
+
81
+ if not isinstance(obj, dict):
82
+ return cls.model_validate(obj)
83
+
84
+ _obj = cls.model_validate({
85
+ "input_tokens": obj.get("input_tokens") if obj.get("input_tokens") is not None else 0,
86
+ "output_tokens": obj.get("output_tokens") if obj.get("output_tokens") is not None else 0,
87
+ "total_tokens": obj.get("total_tokens") if obj.get("total_tokens") is not None else 0
88
+ })
89
+ return _obj
90
+
91
+
@@ -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,110 +0,0 @@
1
- hindsight_client/__init__.py,sha256=PyDJ4UVKmtRN5OeBs0-rl-tUtqS8OoX53qvejKGC3JU,3114
2
- hindsight_client/hindsight_client.py,sha256=FzlKL3HsoOvyYRipe4sKnZUJ-FWHrNe86fkAavPPSZA,16172
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=MxOgwBhzXZCbBWBhDDs89aWtOWZQ9bjQSGmsrirNkMo,1309
58
- hindsight_client_api/docs/ReflectResponse.md,sha256=oA6GmB264k9N8_j7tQYU4Ubj_S-mWXe0_quJTJ57k6w,1082
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=7d7fYdP_wGCEkXoXA3iA7aMZNJR1BZn49rUxiZeLt6I,3602
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_input.py,sha256=-ZGF71tAznuuTOHK1gIL-wNAfiAD2zvsIRldtgOmrsU,2431
84
- hindsight_client_api/models/entity_list_item.py,sha256=ZtdnkJ-xz7djdls1RaYXl7BEF_q1YIcan61MrHH0x6g,3602
85
- hindsight_client_api/models/entity_list_response.py,sha256=J3EYrjHKJk8AjcUQH2uEI3s1Hw11mIyQDgKrvPRhd4w,2913
86
- hindsight_client_api/models/entity_observation_response.py,sha256=Sbz_m0MssD-gYyV4sAeD56HGrnmlWcdO0bBs73K65YU,2804
87
- hindsight_client_api/models/entity_state_response.py,sha256=VNxiaOcNy2vCXuNGJMD1WbTTqwUguizvCxJHkt7Lyuw,3239
88
- hindsight_client_api/models/graph_data_response.py,sha256=24l32YX7rzsNZBIeLAL2TX25O3-7Ji-I-9WkYPHWSNQ,2721
89
- hindsight_client_api/models/http_validation_error.py,sha256=KKvY67lajAI7hAys0IZHeeTsG2ArvpVIATqSMjbWGOY,2937
90
- hindsight_client_api/models/include_options.py,sha256=FlB8QT_bqA141_tSv51QvZRbqKZdcaR2estkHg6eBGc,3645
91
- hindsight_client_api/models/list_documents_response.py,sha256=8lXIfprjJHpWCgiKkw4-M8d2y4NOTcK76HoF1otMekI,2675
92
- hindsight_client_api/models/list_memory_units_response.py,sha256=gEC-opRav_3cWdKvoO7Hure3dnVyFiFC0gtDP0TE7H8,2684
93
- hindsight_client_api/models/memory_item.py,sha256=xDMmKYS3ZixyiNATBX4E4_OLxYMfPxtXjs_Jhv792A0,4330
94
- hindsight_client_api/models/operation_response.py,sha256=ach9QI35J3FtPKLzZDqb54Xfov7ouiEhto4nztCKc8I,3467
95
- hindsight_client_api/models/operations_list_response.py,sha256=3XOfvTBBkv7VmYo-PZX0wVK_RtMCZkQdaPkXXhGIiRU,3088
96
- hindsight_client_api/models/recall_request.py,sha256=IPYeipQO7qxUepB01iCkz2ACNWQg5jXLIPzSAxsTQts,4053
97
- hindsight_client_api/models/recall_response.py,sha256=t_qYAUMHXFBnXX7kCF8EeLfqeyF9V01wvQizCDvf4dY,5103
98
- hindsight_client_api/models/recall_result.py,sha256=fI-TCBDFGuSIytFsI7FADtJkmvsTOX-G3bFFRxLJbMY,5402
99
- hindsight_client_api/models/reflect_fact.py,sha256=sYW00LmDpY7VptK0E4I0gUWHkCRaCTeypuHSdciknw8,3973
100
- hindsight_client_api/models/reflect_include_options.py,sha256=q3TqMu-zrJw8LIHOl5pb0baDEQlOlFkBI5gE9MEmKQQ,2584
101
- hindsight_client_api/models/reflect_request.py,sha256=OOfOiLh0pmrIVo5ZFBFL09H69v8UGzWWlyp5I-CPCpE,4007
102
- hindsight_client_api/models/reflect_response.py,sha256=jqh3gJvqlz2MKbk4H9sgHe3EfprmpIoMZgxHMuxQlVw,3414
103
- hindsight_client_api/models/retain_request.py,sha256=LABq0vwi3ZYnb1RB6UCLw6PoFT4Q4qap8LNWLquh7jE,3178
104
- hindsight_client_api/models/retain_response.py,sha256=b3t5H7_ixi7jZw_kvb2XYh0Q6IDTfHvWRR2KaKqf7ls,2796
105
- hindsight_client_api/models/update_disposition_request.py,sha256=6D3qceEJByBWcZrfSbNXrdlrDtnj0_QXh2zosc49-5E,2817
106
- hindsight_client_api/models/validation_error.py,sha256=XnK71WeEUbZyXPbzv1uKaNAFEYxfsiS7G0cvjTgCxiM,3029
107
- hindsight_client_api/models/validation_error_loc_inner.py,sha256=q51Yi64xsxhsy3_AAD5DlcfI2-g_81hQoN6Olh3I8ag,4812
108
- hindsight_client-0.2.0.dist-info/METADATA,sha256=cD7W3A8iLYPqI9llPg0kChvZda9gaWkJOh60pC10Zzs,647
109
- hindsight_client-0.2.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
110
- hindsight_client-0.2.0.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
-