hindsight-client 0.0.20__py3-none-any.whl → 0.1.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 (29) hide show
  1. hindsight_client/__init__.py +2 -2
  2. hindsight_client/hindsight_client.py +6 -6
  3. {hindsight_client-0.0.20.dist-info → hindsight_client-0.1.0.dist-info}/METADATA +1 -1
  4. {hindsight_client-0.0.20.dist-info → hindsight_client-0.1.0.dist-info}/RECORD +26 -29
  5. hindsight_client_api/__init__.py +0 -2
  6. hindsight_client_api/api/default_api.py +6 -6
  7. hindsight_client_api/docs/AddBackgroundRequest.md +1 -1
  8. hindsight_client_api/docs/DefaultApi.md +2 -2
  9. hindsight_client_api/docs/DispositionTraits.md +4 -7
  10. hindsight_client_api/docs/RecallRequest.md +0 -1
  11. hindsight_client_api/docs/ReflectRequest.md +0 -1
  12. hindsight_client_api/models/__init__.py +0 -1
  13. hindsight_client_api/models/add_background_request.py +1 -1
  14. hindsight_client_api/models/disposition_traits.py +9 -15
  15. hindsight_client_api/models/recall_request.py +1 -16
  16. hindsight_client_api/models/reflect_request.py +1 -16
  17. hindsight_client_api/test/test_background_response.py +1 -1
  18. hindsight_client_api/test/test_bank_list_item.py +2 -2
  19. hindsight_client_api/test/test_bank_list_response.py +2 -2
  20. hindsight_client_api/test/test_bank_profile_response.py +2 -2
  21. hindsight_client_api/test/test_create_bank_request.py +1 -1
  22. hindsight_client_api/test/test_disposition_traits.py +6 -12
  23. hindsight_client_api/test/test_recall_request.py +0 -3
  24. hindsight_client_api/test/test_reflect_request.py +0 -3
  25. hindsight_client_api/test/test_update_disposition_request.py +2 -2
  26. hindsight_client_api/docs/MetadataFilter.md +0 -32
  27. hindsight_client_api/models/metadata_filter.py +0 -96
  28. hindsight_client_api/test/test_metadata_filter.py +0 -54
  29. {hindsight_client-0.0.20.dist-info → hindsight_client-0.1.0.dist-info}/WHEEL +0 -0
@@ -35,7 +35,7 @@ from hindsight_client_api.models.reflect_response import ReflectResponse
35
35
  from hindsight_client_api.models.reflect_fact import ReflectFact
36
36
  from hindsight_client_api.models.list_memory_units_response import ListMemoryUnitsResponse
37
37
  from hindsight_client_api.models.bank_profile_response import BankProfileResponse
38
- from hindsight_client_api.models.personality_traits import PersonalityTraits
38
+ from hindsight_client_api.models.disposition_traits import DispositionTraits
39
39
 
40
40
  __all__ = [
41
41
  "Hindsight",
@@ -47,5 +47,5 @@ __all__ = [
47
47
  "ReflectFact",
48
48
  "ListMemoryUnitsResponse",
49
49
  "BankProfileResponse",
50
- "PersonalityTraits",
50
+ "DispositionTraits",
51
51
  ]
@@ -280,19 +280,19 @@ class Hindsight:
280
280
  bank_id: str,
281
281
  name: Optional[str] = None,
282
282
  background: Optional[str] = None,
283
- personality: Optional[Dict[str, float]] = None,
283
+ disposition: Optional[Dict[str, float]] = None,
284
284
  ) -> BankProfileResponse:
285
285
  """Create or update a memory bank."""
286
- from hindsight_client_api.models import create_bank_request, personality_traits
286
+ from hindsight_client_api.models import create_bank_request, disposition_traits
287
287
 
288
- personality_obj = None
289
- if personality:
290
- personality_obj = personality_traits.PersonalityTraits(**personality)
288
+ disposition_obj = None
289
+ if disposition:
290
+ disposition_obj = disposition_traits.DispositionTraits(**disposition)
291
291
 
292
292
  request_obj = create_bank_request.CreateBankRequest(
293
293
  name=name,
294
294
  background=background,
295
- personality=personality_obj,
295
+ disposition=disposition_obj,
296
296
  )
297
297
 
298
298
  return _run_async(self._api.create_or_update_bank(bank_id, request_obj))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hindsight-client
3
- Version: 0.0.20
3
+ Version: 0.1.0
4
4
  Summary: Python client for Hindsight - Semantic memory system with personality-driven thinking
5
5
  Author: Hindsight Team
6
6
  Requires-Python: >=3.10
@@ -1,15 +1,15 @@
1
- hindsight_client/__init__.py,sha256=-LQy3_f9cKK5w0fZd2q3KEmtxTwP7tCLL4tK4xvS6KQ,1679
2
- hindsight_client/hindsight_client.py,sha256=zSl8v_hEAyBJssriSa4GG7BBSLMU-S4duE-NgSZr-B4,13681
3
- hindsight_client_api/__init__.py,sha256=uImQqq3F6eFbY9gj7K40Xkb2l1I1EeKDGTvVkRhSjLs,6052
1
+ hindsight_client/__init__.py,sha256=Qq8DtPOglZOQfPkAyEWulmyBU4QMeNm6C5bb6TAY0jI,1679
2
+ hindsight_client/hindsight_client.py,sha256=hQQIlSHYrXvTs099XTjmR3vJsZBoDP7gb_ErmhYohsY,13681
3
+ hindsight_client_api/__init__.py,sha256=7hfGgOu50_bmmuoz4-e4JVqubo5W39g_p3HHgaWZGRs,5941
4
4
  hindsight_client_api/api_client.py,sha256=gO_s4kVFGPJMawvNcdoqbpqptHIIKELylVni48b7rqU,27860
5
5
  hindsight_client_api/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
6
6
  hindsight_client_api/configuration.py,sha256=OV4VlRbFSSxdfxTuo81DlL_QmZbT_-FHn39h-XW7VOQ,17787
7
7
  hindsight_client_api/exceptions.py,sha256=d0pwToyNcSfRzoBrHUsBrmcm9hssBErq0zGFO0cAboE,6470
8
8
  hindsight_client_api/rest.py,sha256=MRNjKt09uidHHL0RF76t5XlwIXAinJV_uvdkJrDoo1I,7225
9
9
  hindsight_client_api/api/__init__.py,sha256=aWzhDj7Q3Q5obQwQA-fOtPO2looklumbsAbnLGl_Fhw,174
10
- hindsight_client_api/api/default_api.py,sha256=1RF5fKLdKC6dv9xK-NBoEIFaDO69qmohXeOF8R2Liy8,235787
10
+ hindsight_client_api/api/default_api.py,sha256=z_DOwQh-RMHB7v61bx-hDgIHGkKwAyMI5qwutOPqkHQ,235808
11
11
  hindsight_client_api/api/monitoring_api.py,sha256=Bz9b-q8wrb7DNSV2EYUpQRiofV-xJ2S2NE2DrcWpE1o,19807
12
- hindsight_client_api/docs/AddBackgroundRequest.md,sha256=VlzOcSlaZtFmvnWfF21Mgbh1iGOMOmI8jy-wlnsjNKA,1223
12
+ hindsight_client_api/docs/AddBackgroundRequest.md,sha256=kGqmmpNVKwddWU8vQi8rrFCU7duFEDYwBLclPOlS9yw,1214
13
13
  hindsight_client_api/docs/BackgroundResponse.md,sha256=VAn0Kz5hj8BCqzeb_tHFL1H-YC6ePi6QrChWR1sPlc0,1061
14
14
  hindsight_client_api/docs/BankListItem.md,sha256=1XCSYh21SsCm8uDQxa5-oBTiGd2AYfKNXUwmgfehqxo,1114
15
15
  hindsight_client_api/docs/BankListResponse.md,sha256=20McKN_iVmyOFzQBGOGo-a0D7P2YJTeh31GJna1P6J8,989
@@ -19,9 +19,9 @@ hindsight_client_api/docs/ChunkData.md,sha256=8HaU0DkJnIcVayGQc52noa-QxoM_lckzfX
19
19
  hindsight_client_api/docs/ChunkIncludeOptions.md,sha256=zPqCLDkW7flyLjJdhrBnh97zm8Y7WTs-kkaYI1xK9G0,1088
20
20
  hindsight_client_api/docs/ChunkResponse.md,sha256=6qZwJfZATMT2dD8ML8IDJ7eSwF-8bmuKz2pLGU1UYPE,1068
21
21
  hindsight_client_api/docs/CreateBankRequest.md,sha256=YaJoRl-vBdee48YN-1OjWrmIaenKWKGfWkTM13ljqGE,1107
22
- hindsight_client_api/docs/DefaultApi.md,sha256=2KreGXYslShoD2PPr2Gn_XUsI43omo09uXCuloJqasE,48619
22
+ hindsight_client_api/docs/DefaultApi.md,sha256=LcuvLeQJxc_KyczGBBZa3SHGsDpB8BGIG39BOHe85ew,48626
23
23
  hindsight_client_api/docs/DeleteResponse.md,sha256=k3NHvJoSjemZDGZ_huMXk0gtNKYkDSyGsQ7PCB5aybI,926
24
- hindsight_client_api/docs/DispositionTraits.md,sha256=IgDwfxNe8jxJnciimGEHz12wgatRaORgFzrWMu6cBR0,1309
24
+ hindsight_client_api/docs/DispositionTraits.md,sha256=soMPj6hVeJxOGoec9fewHzEGWLoghBhBtw4MVU5HFgw,1271
25
25
  hindsight_client_api/docs/DocumentResponse.md,sha256=ruwb2llltuJLZ3KoVJ-zwF3C7ELjpjaUNet9OK-4JKQ,1145
26
26
  hindsight_client_api/docs/EntityDetailResponse.md,sha256=Ea6SGkeMCZWzhOGyzJ5nP7PU7a6SBit6GL8gWnNyOvA,1308
27
27
  hindsight_client_api/docs/EntityIncludeOptions.md,sha256=ldI3RHhT8ub11bc1hmwqCEy4XGzJrFq08NGfEXy7p_Y,1100
@@ -35,22 +35,21 @@ hindsight_client_api/docs/IncludeOptions.md,sha256=GZ4xlW2amRYgWq_dL7sdmnrmUdWtd
35
35
  hindsight_client_api/docs/ListDocumentsResponse.md,sha256=knIyqPUGLe1Pg0dLnjrnHgO1RqB7RisKEZWSyiX4oiI,1125
36
36
  hindsight_client_api/docs/ListMemoryUnitsResponse.md,sha256=UBFQ1uJd9AAcRHWtgr7hjx86ka_EmPKr5LwH15UO2Mc,1160
37
37
  hindsight_client_api/docs/MemoryItem.md,sha256=UaHZE9BQO9BJgsGJL8QfAeuogtCZmFoH4XZshoyLmcI,1045
38
- hindsight_client_api/docs/MetadataFilter.md,sha256=K7WQ-K1GM4I9nIuCcWCkMVyWqkEKb_xClM3N8QmZp18,1170
39
38
  hindsight_client_api/docs/MonitoringApi.md,sha256=Iquzlr0AmtLliR9c-yKy9-PyXWqncytBhLbZ0eO1C_8,3755
40
- hindsight_client_api/docs/RecallRequest.md,sha256=DX3ADDMnKaQBhYasXfEHxQhJwjuKVO8YH5hcyaAZYts,1386
39
+ hindsight_client_api/docs/RecallRequest.md,sha256=PiRDR-7hihL2zhCKTRNdJKIUZ5hTHBURwQCrMQl_XHs,1309
41
40
  hindsight_client_api/docs/RecallResponse.md,sha256=VbABZlZwMTaSuqaqAAOOAjkuqaDB4azaQAFP5noJkVc,1173
42
41
  hindsight_client_api/docs/RecallResult.md,sha256=1QTIqPN86Gq--tw-LwFVBmO5QD4dj8DbzJqe0ywUrew,1297
43
42
  hindsight_client_api/docs/ReflectFact.md,sha256=f9wmQde692is1dF6sw6S5_zIDI9Z_AHSbCvD7ALluLY,1075
44
43
  hindsight_client_api/docs/ReflectIncludeOptions.md,sha256=tH-pQeSv0QH9hoLmQhsg0PO5R3jVolDK6JFUG5CHi50,1112
45
- hindsight_client_api/docs/ReflectRequest.md,sha256=066vUaiiXUf9yau5y7jJLTMDqVcSjOhyckbdj-kdc3A,1235
44
+ hindsight_client_api/docs/ReflectRequest.md,sha256=QIkRNJJsZS47yy20ZsoDFQhOFx8kYmB2wd0az85OelY,1158
46
45
  hindsight_client_api/docs/ReflectResponse.md,sha256=ziZtjLkXfX7RieaBtL5XC1JxgyG5_1rda-pZHHrQAaA,1019
47
46
  hindsight_client_api/docs/RetainRequest.md,sha256=u-IhxRJo2iFWtskDsRpBJJjOdm7mfLGE6j1W6iNTcKY,1090
48
47
  hindsight_client_api/docs/RetainResponse.md,sha256=2a3Wz7ilrnQ_BFf6YTqWDmA94gohs8kU9sCR3mJYrj8,1065
49
48
  hindsight_client_api/docs/UpdateDispositionRequest.md,sha256=C3Q9UcVts2wPjYQgy1JH2ch1jy0tP2xswGe8sUzkZ_8,1112
50
49
  hindsight_client_api/docs/ValidationError.md,sha256=moV1dyA1z8n2DSD18ri7x7GDJujHc6--fbwGr4u8cl4,1001
51
50
  hindsight_client_api/docs/ValidationErrorLocInner.md,sha256=WP7Zm2LNt2HZb6XHo0cLvLCrht-EGFKp0i4zD3jPMto,988
52
- hindsight_client_api/models/__init__.py,sha256=g6btads8VmPzX0iR0GlolIMcYtqoYhUfppAS-g6D3DA,3187
53
- hindsight_client_api/models/add_background_request.py,sha256=COPZvq7zixwiLXzqPTK7OStdSFpiQMm71_qw6v89YAU,2876
51
+ hindsight_client_api/models/__init__.py,sha256=QnZnxP-wbma-bJWn4i4_2Lt7-KUudat1S_aqUx9QSYg,3116
52
+ hindsight_client_api/models/add_background_request.py,sha256=tO7XeQke-CIU58bycL2CbRInsg9mQcQ_uPhitKaa-hU,2867
54
53
  hindsight_client_api/models/background_response.py,sha256=Bcywa1gGPSrwFgrY9PDXZ_lsx_sccFgfvzIZ_Hqo68M,3144
55
54
  hindsight_client_api/models/bank_list_item.py,sha256=nayJphSOSG1CuHXxri4fG7SBlCYhdjS-Dgu-zsq-6Fs,3681
56
55
  hindsight_client_api/models/bank_list_response.py,sha256=8ywzWZEJCj3_02-5twORc7sGWIC6T114G7aDDzOqOh4,2896
@@ -61,7 +60,7 @@ hindsight_client_api/models/chunk_include_options.py,sha256=uqlWWYPajjvDsfCouY8Y
61
60
  hindsight_client_api/models/chunk_response.py,sha256=nrwHLEaFTfcYaRhdf2eGa7YOV075fwG09C1sG7IwVUY,2888
62
61
  hindsight_client_api/models/create_bank_request.py,sha256=EJo3YcZXEPu1CWRhMiK1LmQLyA74r4f8TGRtqqHXbcQ,3668
63
62
  hindsight_client_api/models/delete_response.py,sha256=ruXyEg7cavfXXmVrWmh_k8Kabpo-ef1iTY_aiOehS5k,2436
64
- hindsight_client_api/models/disposition_traits.py,sha256=xJhcooC3ypTL6pcybE__V6cy2fpLOjp02MpMgRuzB6I,3892
63
+ hindsight_client_api/models/disposition_traits.py,sha256=0Z30N6Xr3yt5MreBkCNMwf92k2mD-T40iUjC7nszq7k,3055
65
64
  hindsight_client_api/models/document_response.py,sha256=HOJ0TTKF7Bkdii-UyfUOzMNcJhrzrgShSxDq6z2vFjE,3256
66
65
  hindsight_client_api/models/entity_detail_response.py,sha256=rHv59Hvk0U5GFw-n4FIT_GMypPNGAuOzzNXu8b7zvCU,4312
67
66
  hindsight_client_api/models/entity_include_options.py,sha256=qRo4gnHEKl8GugqNl24ugEV0nSusdEcZycxKU2YgHIM,2635
@@ -75,13 +74,12 @@ hindsight_client_api/models/include_options.py,sha256=jqNB_VdponAnlrY6vhRv54UOdB
75
74
  hindsight_client_api/models/list_documents_response.py,sha256=RACBMWojY9yVfQlTt600xG1AFOO20S3SKyh_R24kpzw,2675
76
75
  hindsight_client_api/models/list_memory_units_response.py,sha256=_B7-Aw-0VCny98lP3zt9VQomR6zEvSQ84q1CQIXb6Os,2684
77
76
  hindsight_client_api/models/memory_item.py,sha256=97_WLBTKBxtE37r39LO1Rv4AuS8SHHmvOqFydD0cVaM,3741
78
- hindsight_client_api/models/metadata_filter.py,sha256=DsQdItQamsavISgHL4QO8DCwPFCmeoCbvtVtQLU-OWk,3101
79
- hindsight_client_api/models/recall_request.py,sha256=ILhJEgnJG-Te4M8lrotE7dqpvkujTWPI2Y2qjGaMpS0,4856
77
+ hindsight_client_api/models/recall_request.py,sha256=OLGrGqhR4ZVl_dIWFjD_Cm-Ac4DbYTCs1uG9AEA5TFg,4053
80
78
  hindsight_client_api/models/recall_response.py,sha256=PlLOE1_ixkUcDSjKnNng2-8uoL3sGeFgHHQJ8CI-CNE,5103
81
79
  hindsight_client_api/models/recall_result.py,sha256=CmIN7BF6zBBwl8hpmce4rHVMB4GS0PwbzUMcQZn2QN0,5402
82
80
  hindsight_client_api/models/reflect_fact.py,sha256=PVXV3yTMrVIawv2HMLC-fBOEo4QxQGe0JAgiOsaigaU,3973
83
81
  hindsight_client_api/models/reflect_include_options.py,sha256=G1l38KRDvXhYLRTb-Yfwjzh6ETXdU0qX5iLwMSd1mIE,2584
84
- hindsight_client_api/models/reflect_request.py,sha256=fJ-6xSckV-XTMvM7g-oJVDdj-0InJv8pGIZTvgq6m54,4210
82
+ hindsight_client_api/models/reflect_request.py,sha256=5f0vYE9YX3Rotyiot_LwELG_P7Vjb5lO0FTkLMrs6Vk,3407
85
83
  hindsight_client_api/models/reflect_response.py,sha256=4pS5fgZa34wsdb4HmuSYOS8gu1-gS9akuRU-e77pxAM,3024
86
84
  hindsight_client_api/models/retain_request.py,sha256=t6uB_mIrjMsHm5zdwrhPzdqVjoVyqqNijcMRL0_a9iE,3178
87
85
  hindsight_client_api/models/retain_response.py,sha256=LmtP9CsPvsfLIYhmz0xsWFHI4AOg1C9CT49D-_Wfing,2796
@@ -90,18 +88,18 @@ hindsight_client_api/models/validation_error.py,sha256=iRhOO1MxLQvZiiM5xyMbJSrhJ
90
88
  hindsight_client_api/models/validation_error_loc_inner.py,sha256=YmggpQXbrX6V2q-s29sTsI59p72DXi2MoUZPfAVpMZ8,4812
91
89
  hindsight_client_api/test/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
92
90
  hindsight_client_api/test/test_add_background_request.py,sha256=IA47ZWFEfOItnGDF7_tCa9a6dSsC28osDUrPkqJKkmg,1463
93
- hindsight_client_api/test/test_background_response.py,sha256=sLJgFJIJfi_xgjwqidknwLUvCmXD5BIVQmBxL-8G7b0,1543
94
- hindsight_client_api/test/test_bank_list_item.py,sha256=-ClGjLjZrLhK5JIiPhF7aczQjNbInHblsK0uZOvgLEg,1794
95
- hindsight_client_api/test/test_bank_list_response.py,sha256=8qTEYrniqtm_fteklHWqVwX95bQW-54_TVb4vcgDLGI,2270
96
- hindsight_client_api/test/test_bank_profile_response.py,sha256=_tLVsjIyr2bHzwe_1F4TksJM60KTQgP3YcPPrgBYWfs,1812
91
+ hindsight_client_api/test/test_background_response.py,sha256=DRTlWBInOTPKNtlYsBMjozsqfnmr4mA5mQsts0Une0E,1472
92
+ hindsight_client_api/test/test_bank_list_item.py,sha256=_koXPeR0lZqis4cavbpg4WJpzVoEg_jQuj0WsWukZVs,1652
93
+ hindsight_client_api/test/test_bank_list_response.py,sha256=0FFwJM08vYuwIkdB60rTc2xQEpocWFRuajrbIyJe5zI,2128
94
+ hindsight_client_api/test/test_bank_profile_response.py,sha256=8a_JnxAG60KTJyAw9HXW4mTMVK2beVJnIOSuRG39dAY,1670
97
95
  hindsight_client_api/test/test_budget.py,sha256=QZBlqIwkAqbVs-Fe0DrG460XIuQcN4LWEG6mziRDrtY,587
98
96
  hindsight_client_api/test/test_chunk_data.py,sha256=KPi51APTLgtmR2_f5FSH3KQ_fHeC_zC1tEZvattugPE,1433
99
97
  hindsight_client_api/test/test_chunk_include_options.py,sha256=kF2kUuw_QhG9D7Rg1L_yJvUvz6QUcZA_yFzR7PwP8t0,1381
100
98
  hindsight_client_api/test/test_chunk_response.py,sha256=OOgrcSEef7G1qx17JQ9ApGLreeObocCMdhmirwgg7Uw,1665
101
- hindsight_client_api/test/test_create_bank_request.py,sha256=-f-67BI6JaXxV50XF6rnGKqOluVO81AHQem10uJZLRY,1526
99
+ hindsight_client_api/test/test_create_bank_request.py,sha256=n-S-GaPfpAFolzjobzdmYF7ymg1fekjUWBOYeXouqAk,1455
102
100
  hindsight_client_api/test/test_default_api.py,sha256=X4tiBGSZSxij2QN1aU_jvtLDlHVc3wWBrERqvw-0Fqo,3759
103
101
  hindsight_client_api/test/test_delete_response.py,sha256=Wb7j_7QvyeTdPMbybxHUdYnpr0Cqk-Rqw2nIdLNEkJY,1351
104
- hindsight_client_api/test/test_disposition_traits.py,sha256=OpYVjYHNVPRszzWcuqSGt_p0dQENlRw6ggscTcEB86s,1759
102
+ hindsight_client_api/test/test_disposition_traits.py,sha256=ixdLZPvy1jBqG36s8npHtI7Jbzema1LmEahw7FLLoH0,1521
105
103
  hindsight_client_api/test/test_document_response.py,sha256=PIGFqjTUslp9I5pKW9Ly0w325oax6cjDNzUf2hM28dk,1775
106
104
  hindsight_client_api/test/test_entity_detail_response.py,sha256=VpPyYpGYxtnTKspDbIeLtM4lC9j5hMW97pPUjKaZPjs,2186
107
105
  hindsight_client_api/test/test_entity_include_options.py,sha256=vEI63Q0Ejh7IRgH1TxXWVal08WYk1KwBo0n3tdpxBxY,1393
@@ -115,20 +113,19 @@ hindsight_client_api/test/test_include_options.py,sha256=nibccUakKvfSa_dLV7trlbn
115
113
  hindsight_client_api/test/test_list_documents_response.py,sha256=EwpI71z-8IdxmWdXIhfejfrg_9_ElaYQDXL0HXWa-js,1810
116
114
  hindsight_client_api/test/test_list_memory_units_response.py,sha256=TsNnYc_9aNcczAsSjMd4kFW2Zs7DLe4teWZh5BfLWTY,1835
117
115
  hindsight_client_api/test/test_memory_item.py,sha256=H82GmKPm-mmRk_PRY6lqv0QomZ5BV_-TbbgUsG_tp-E,1552
118
- hindsight_client_api/test/test_metadata_filter.py,sha256=y9zZ1CfVp8Xnfb3bmH-ySvCPgVmc6SIquuyG9TagZbw,1403
119
116
  hindsight_client_api/test/test_monitoring_api.py,sha256=_dDLZejJypyspVcTBLcQXFCAynf2fOTKM6IzBCIExpI,990
120
- hindsight_client_api/test/test_recall_request.py,sha256=dTxiICITLrert8NZoUkql3cD286_TjVV0RrhicJhm_E,2033
117
+ hindsight_client_api/test/test_recall_request.py,sha256=gkfYcqcOVtdRmk-ZN0pE_AsgpcZAQ8rdEhgzTYusIo0,1918
121
118
  hindsight_client_api/test/test_recall_response.py,sha256=K7IJXHOM8u21TOvsdn4jfTcbU7v7BvbNW17iOMQM2vw,3014
122
119
  hindsight_client_api/test/test_recall_result.py,sha256=ZDJaN1iQOs9q_mfBpJBTvpAQc-OUTMsCMymPsWV6W2c,1754
123
120
  hindsight_client_api/test/test_reflect_fact.py,sha256=dW_Y-0QITw80-XCYjzcmMcHIBNw7C6LVEKGQ97k3bIE,1459
124
121
  hindsight_client_api/test/test_reflect_include_options.py,sha256=C1rHezODwNC1u1iLXWnF2YLKInKoYpCEuiREQevq7HM,1469
125
- hindsight_client_api/test/test_reflect_request.py,sha256=s_bkT4efjMlgUmI_kKmGhjdIQ8hh4TqlZUnW3Q7rIqQ,1725
122
+ hindsight_client_api/test/test_reflect_request.py,sha256=qGKjWniAfPrmYpAppNhL0kCGDQk2Vwo96IjswPCRWOs,1610
126
123
  hindsight_client_api/test/test_reflect_response.py,sha256=m6ivE97QzgRZjxvlGDlfKOIcIcqfhyauLcu7CTQZvtE,1613
127
124
  hindsight_client_api/test/test_retain_request.py,sha256=4_-f9yQR37373t3p-2_FXq9KRWQa3kr0Gw3Z4w56GcQ,1839
128
125
  hindsight_client_api/test/test_retain_response.py,sha256=L_83q5aYZAb9mZhHwF7WAe4dkmrOCFe8mSCpCjS5ZLE,1547
129
- hindsight_client_api/test/test_update_disposition_request.py,sha256=5Cf-N6akREg0O_W-zsCMqBF6DOSBYdrP-g5DOSM6iYI,1692
126
+ hindsight_client_api/test/test_update_disposition_request.py,sha256=bHQG7SqMD_KESLs61kVOTknYH-flvX5UjW9yJ9UK3RI,1550
130
127
  hindsight_client_api/test/test_validation_error.py,sha256=FiG2lcCSznxrbqRk2rcKv1ctpin0gGM5YGReZWMRnkw,1549
131
128
  hindsight_client_api/test/test_validation_error_loc_inner.py,sha256=Cy-VdSn1aBCRzpiI-2OSCrK376C5eHDywvbF16KNhMQ,1398
132
- hindsight_client-0.0.20.dist-info/METADATA,sha256=MxeBwJxwpWUbUlkP-gnGzfDu0EFKuKyVZ1D-PoaxHEE,599
133
- hindsight_client-0.0.20.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
134
- hindsight_client-0.0.20.dist-info/RECORD,,
129
+ hindsight_client-0.1.0.dist-info/METADATA,sha256=31gVaZCCyDdtpL8PGjDeu5Rxv28TF0DFgTesRdu-TIo,598
130
+ hindsight_client-0.1.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
131
+ hindsight_client-0.1.0.dist-info/RECORD,,
@@ -54,7 +54,6 @@ __all__ = [
54
54
  "ListDocumentsResponse",
55
55
  "ListMemoryUnitsResponse",
56
56
  "MemoryItem",
57
- "MetadataFilter",
58
57
  "RecallRequest",
59
58
  "RecallResponse",
60
59
  "RecallResult",
@@ -110,7 +109,6 @@ from hindsight_client_api.models.include_options import IncludeOptions as Includ
110
109
  from hindsight_client_api.models.list_documents_response import ListDocumentsResponse as ListDocumentsResponse
111
110
  from hindsight_client_api.models.list_memory_units_response import ListMemoryUnitsResponse as ListMemoryUnitsResponse
112
111
  from hindsight_client_api.models.memory_item import MemoryItem as MemoryItem
113
- from hindsight_client_api.models.metadata_filter import MetadataFilter as MetadataFilter
114
112
  from hindsight_client_api.models.recall_request import RecallRequest as RecallRequest
115
113
  from hindsight_client_api.models.recall_response import RecallResponse as RecallResponse
116
114
  from hindsight_client_api.models.recall_result import RecallResult as RecallResult
@@ -647,7 +647,7 @@ class DefaultApi:
647
647
  ) -> DeleteResponse:
648
648
  """Clear memory bank memories
649
649
 
650
- Delete memory units for a memory bank. Optionally filter by type (world, experience, opinion) to delete only specific types. This is a destructive operation that cannot be undone. The bank profile (personality and background) will be preserved.
650
+ Delete memory units for a memory bank. Optionally filter by type (world, experience, opinion) to delete only specific types. This is a destructive operation that cannot be undone. The bank profile (disposition and background) will be preserved.
651
651
 
652
652
  :param bank_id: (required)
653
653
  :type bank_id: str
@@ -719,7 +719,7 @@ class DefaultApi:
719
719
  ) -> ApiResponse[DeleteResponse]:
720
720
  """Clear memory bank memories
721
721
 
722
- Delete memory units for a memory bank. Optionally filter by type (world, experience, opinion) to delete only specific types. This is a destructive operation that cannot be undone. The bank profile (personality and background) will be preserved.
722
+ Delete memory units for a memory bank. Optionally filter by type (world, experience, opinion) to delete only specific types. This is a destructive operation that cannot be undone. The bank profile (disposition and background) will be preserved.
723
723
 
724
724
  :param bank_id: (required)
725
725
  :type bank_id: str
@@ -791,7 +791,7 @@ class DefaultApi:
791
791
  ) -> RESTResponseType:
792
792
  """Clear memory bank memories
793
793
 
794
- Delete memory units for a memory bank. Optionally filter by type (world, experience, opinion) to delete only specific types. This is a destructive operation that cannot be undone. The bank profile (personality and background) will be preserved.
794
+ Delete memory units for a memory bank. Optionally filter by type (world, experience, opinion) to delete only specific types. This is a destructive operation that cannot be undone. The bank profile (disposition and background) will be preserved.
795
795
 
796
796
  :param bank_id: (required)
797
797
  :type bank_id: str
@@ -5705,7 +5705,7 @@ class DefaultApi:
5705
5705
  ) -> BankProfileResponse:
5706
5706
  """Update memory bank disposition
5707
5707
 
5708
- Update bank's Big Five disposition traits and bias strength
5708
+ Update bank's disposition traits (skepticism, literalism, empathy)
5709
5709
 
5710
5710
  :param bank_id: (required)
5711
5711
  :type bank_id: str
@@ -5777,7 +5777,7 @@ class DefaultApi:
5777
5777
  ) -> ApiResponse[BankProfileResponse]:
5778
5778
  """Update memory bank disposition
5779
5779
 
5780
- Update bank's Big Five disposition traits and bias strength
5780
+ Update bank's disposition traits (skepticism, literalism, empathy)
5781
5781
 
5782
5782
  :param bank_id: (required)
5783
5783
  :type bank_id: str
@@ -5849,7 +5849,7 @@ class DefaultApi:
5849
5849
  ) -> RESTResponseType:
5850
5850
  """Update memory bank disposition
5851
5851
 
5852
- Update bank's Big Five disposition traits and bias strength
5852
+ Update bank's disposition traits (skepticism, literalism, empathy)
5853
5853
 
5854
5854
  :param bank_id: (required)
5855
5855
  :type bank_id: str
@@ -7,7 +7,7 @@ Request model for adding/merging background information.
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
9
  **content** | **str** | New background information to add or merge |
10
- **update_disposition** | **bool** | If true, infer Big Five disposition traits from the merged background (default: true) | [optional] [default to True]
10
+ **update_disposition** | **bool** | If true, infer disposition traits from the merged background (default: true) | [optional] [default to True]
11
11
 
12
12
  ## Example
13
13
 
@@ -174,7 +174,7 @@ No authorization required
174
174
 
175
175
  Clear memory bank memories
176
176
 
177
- Delete memory units for a memory bank. Optionally filter by type (world, experience, opinion) to delete only specific types. This is a destructive operation that cannot be undone. The bank profile (personality and background) will be preserved.
177
+ Delete memory units for a memory bank. Optionally filter by type (world, experience, opinion) to delete only specific types. This is a destructive operation that cannot be undone. The bank profile (disposition and background) will be preserved.
178
178
 
179
179
  ### Example
180
180
 
@@ -1499,7 +1499,7 @@ No authorization required
1499
1499
 
1500
1500
  Update memory bank disposition
1501
1501
 
1502
- Update bank's Big Five disposition traits and bias strength
1502
+ Update bank's disposition traits (skepticism, literalism, empathy)
1503
1503
 
1504
1504
  ### Example
1505
1505
 
@@ -1,17 +1,14 @@
1
1
  # DispositionTraits
2
2
 
3
- Disposition traits based on Big Five model.
3
+ Disposition traits that influence how memories are formed and interpreted.
4
4
 
5
5
  ## Properties
6
6
 
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
- **openness** | **float** | Openness to experience (0-1) |
10
- **conscientiousness** | **float** | Conscientiousness (0-1) |
11
- **extraversion** | **float** | Extraversion (0-1) |
12
- **agreeableness** | **float** | Agreeableness (0-1) |
13
- **neuroticism** | **float** | Neuroticism (0-1) |
14
- **bias_strength** | **float** | How strongly disposition influences opinions (0-1) |
9
+ **skepticism** | **int** | How skeptical vs trusting (1=trusting, 5=skeptical) |
10
+ **literalism** | **int** | How literally to interpret information (1=flexible, 5=literal) |
11
+ **empathy** | **int** | How much to consider emotional context (1=detached, 5=empathetic) |
15
12
 
16
13
  ## Example
17
14
 
@@ -12,7 +12,6 @@ Name | Type | Description | Notes
12
12
  **max_tokens** | **int** | | [optional] [default to 4096]
13
13
  **trace** | **bool** | | [optional] [default to False]
14
14
  **query_timestamp** | **str** | | [optional]
15
- **filters** | [**List[MetadataFilter]**](MetadataFilter.md) | | [optional]
16
15
  **include** | [**IncludeOptions**](IncludeOptions.md) | Options for including additional data (entities are included by default) | [optional]
17
16
 
18
17
  ## Example
@@ -9,7 +9,6 @@ Name | Type | Description | Notes
9
9
  **query** | **str** | |
10
10
  **budget** | [**Budget**](Budget.md) | | [optional]
11
11
  **context** | **str** | | [optional]
12
- **filters** | [**List[MetadataFilter]**](MetadataFilter.md) | | [optional]
13
12
  **include** | [**ReflectIncludeOptions**](ReflectIncludeOptions.md) | Options for including additional data (disabled by default) | [optional]
14
13
 
15
14
  ## Example
@@ -38,7 +38,6 @@ from hindsight_client_api.models.include_options import IncludeOptions
38
38
  from hindsight_client_api.models.list_documents_response import ListDocumentsResponse
39
39
  from hindsight_client_api.models.list_memory_units_response import ListMemoryUnitsResponse
40
40
  from hindsight_client_api.models.memory_item import MemoryItem
41
- from hindsight_client_api.models.metadata_filter import MetadataFilter
42
41
  from hindsight_client_api.models.recall_request import RecallRequest
43
42
  from hindsight_client_api.models.recall_response import RecallResponse
44
43
  from hindsight_client_api.models.recall_result import RecallResult
@@ -27,7 +27,7 @@ class AddBackgroundRequest(BaseModel):
27
27
  Request model for adding/merging background information.
28
28
  """ # noqa: E501
29
29
  content: StrictStr = Field(description="New background information to add or merge")
30
- update_disposition: Optional[StrictBool] = Field(default=True, description="If true, infer Big Five disposition traits from the merged background (default: true)")
30
+ update_disposition: Optional[StrictBool] = Field(default=True, description="If true, infer disposition traits from the merged background (default: true)")
31
31
  __properties: ClassVar[List[str]] = ["content", "update_disposition"]
32
32
 
33
33
  model_config = ConfigDict(
@@ -18,22 +18,19 @@ import re # noqa: F401
18
18
  import json
19
19
 
20
20
  from pydantic import BaseModel, ConfigDict, Field
21
- from typing import Any, ClassVar, Dict, List, Union
21
+ from typing import Any, ClassVar, Dict, List
22
22
  from typing_extensions import Annotated
23
23
  from typing import Optional, Set
24
24
  from typing_extensions import Self
25
25
 
26
26
  class DispositionTraits(BaseModel):
27
27
  """
28
- Disposition traits based on Big Five model.
28
+ Disposition traits that influence how memories are formed and interpreted.
29
29
  """ # noqa: E501
30
- openness: Union[Annotated[float, Field(le=1.0, strict=True, ge=0.0)], Annotated[int, Field(le=1, strict=True, ge=0)]] = Field(description="Openness to experience (0-1)")
31
- conscientiousness: Union[Annotated[float, Field(le=1.0, strict=True, ge=0.0)], Annotated[int, Field(le=1, strict=True, ge=0)]] = Field(description="Conscientiousness (0-1)")
32
- extraversion: Union[Annotated[float, Field(le=1.0, strict=True, ge=0.0)], Annotated[int, Field(le=1, strict=True, ge=0)]] = Field(description="Extraversion (0-1)")
33
- agreeableness: Union[Annotated[float, Field(le=1.0, strict=True, ge=0.0)], Annotated[int, Field(le=1, strict=True, ge=0)]] = Field(description="Agreeableness (0-1)")
34
- neuroticism: Union[Annotated[float, Field(le=1.0, strict=True, ge=0.0)], Annotated[int, Field(le=1, strict=True, ge=0)]] = Field(description="Neuroticism (0-1)")
35
- bias_strength: Union[Annotated[float, Field(le=1.0, strict=True, ge=0.0)], Annotated[int, Field(le=1, strict=True, ge=0)]] = Field(description="How strongly disposition influences opinions (0-1)")
36
- __properties: ClassVar[List[str]] = ["openness", "conscientiousness", "extraversion", "agreeableness", "neuroticism", "bias_strength"]
30
+ skepticism: Annotated[int, Field(le=5, strict=True, ge=1)] = Field(description="How skeptical vs trusting (1=trusting, 5=skeptical)")
31
+ literalism: Annotated[int, Field(le=5, strict=True, ge=1)] = Field(description="How literally to interpret information (1=flexible, 5=literal)")
32
+ empathy: Annotated[int, Field(le=5, strict=True, ge=1)] = Field(description="How much to consider emotional context (1=detached, 5=empathetic)")
33
+ __properties: ClassVar[List[str]] = ["skepticism", "literalism", "empathy"]
37
34
 
38
35
  model_config = ConfigDict(
39
36
  populate_by_name=True,
@@ -86,12 +83,9 @@ class DispositionTraits(BaseModel):
86
83
  return cls.model_validate(obj)
87
84
 
88
85
  _obj = cls.model_validate({
89
- "openness": obj.get("openness"),
90
- "conscientiousness": obj.get("conscientiousness"),
91
- "extraversion": obj.get("extraversion"),
92
- "agreeableness": obj.get("agreeableness"),
93
- "neuroticism": obj.get("neuroticism"),
94
- "bias_strength": obj.get("bias_strength")
86
+ "skepticism": obj.get("skepticism"),
87
+ "literalism": obj.get("literalism"),
88
+ "empathy": obj.get("empathy")
95
89
  })
96
90
  return _obj
97
91
 
@@ -21,7 +21,6 @@ from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, Strict
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.include_options import IncludeOptions
24
- from hindsight_client_api.models.metadata_filter import MetadataFilter
25
24
  from typing import Optional, Set
26
25
  from typing_extensions import Self
27
26
 
@@ -35,9 +34,8 @@ class RecallRequest(BaseModel):
35
34
  max_tokens: Optional[StrictInt] = 4096
36
35
  trace: Optional[StrictBool] = False
37
36
  query_timestamp: Optional[StrictStr] = None
38
- filters: Optional[List[MetadataFilter]] = None
39
37
  include: Optional[IncludeOptions] = Field(default=None, description="Options for including additional data (entities are included by default)")
40
- __properties: ClassVar[List[str]] = ["query", "types", "budget", "max_tokens", "trace", "query_timestamp", "filters", "include"]
38
+ __properties: ClassVar[List[str]] = ["query", "types", "budget", "max_tokens", "trace", "query_timestamp", "include"]
41
39
 
42
40
  model_config = ConfigDict(
43
41
  populate_by_name=True,
@@ -78,13 +76,6 @@ class RecallRequest(BaseModel):
78
76
  exclude=excluded_fields,
79
77
  exclude_none=True,
80
78
  )
81
- # override the default output from pydantic by calling `to_dict()` of each item in filters (list)
82
- _items = []
83
- if self.filters:
84
- for _item_filters in self.filters:
85
- if _item_filters:
86
- _items.append(_item_filters.to_dict())
87
- _dict['filters'] = _items
88
79
  # override the default output from pydantic by calling `to_dict()` of include
89
80
  if self.include:
90
81
  _dict['include'] = self.include.to_dict()
@@ -98,11 +89,6 @@ class RecallRequest(BaseModel):
98
89
  if self.query_timestamp is None and "query_timestamp" in self.model_fields_set:
99
90
  _dict['query_timestamp'] = None
100
91
 
101
- # set to None if filters (nullable) is None
102
- # and model_fields_set contains the field
103
- if self.filters is None and "filters" in self.model_fields_set:
104
- _dict['filters'] = None
105
-
106
92
  return _dict
107
93
 
108
94
  @classmethod
@@ -121,7 +107,6 @@ class RecallRequest(BaseModel):
121
107
  "max_tokens": obj.get("max_tokens") if obj.get("max_tokens") is not None else 4096,
122
108
  "trace": obj.get("trace") if obj.get("trace") is not None else False,
123
109
  "query_timestamp": obj.get("query_timestamp"),
124
- "filters": [MetadataFilter.from_dict(_item) for _item in obj["filters"]] if obj.get("filters") is not None else None,
125
110
  "include": IncludeOptions.from_dict(obj["include"]) if obj.get("include") is not None else None
126
111
  })
127
112
  return _obj
@@ -20,7 +20,6 @@ import json
20
20
  from pydantic import BaseModel, ConfigDict, Field, StrictStr
21
21
  from typing import Any, ClassVar, Dict, List, Optional
22
22
  from hindsight_client_api.models.budget import Budget
23
- from hindsight_client_api.models.metadata_filter import MetadataFilter
24
23
  from hindsight_client_api.models.reflect_include_options import ReflectIncludeOptions
25
24
  from typing import Optional, Set
26
25
  from typing_extensions import Self
@@ -32,9 +31,8 @@ class ReflectRequest(BaseModel):
32
31
  query: StrictStr
33
32
  budget: Optional[Budget] = None
34
33
  context: Optional[StrictStr] = None
35
- filters: Optional[List[MetadataFilter]] = None
36
34
  include: Optional[ReflectIncludeOptions] = Field(default=None, description="Options for including additional data (disabled by default)")
37
- __properties: ClassVar[List[str]] = ["query", "budget", "context", "filters", "include"]
35
+ __properties: ClassVar[List[str]] = ["query", "budget", "context", "include"]
38
36
 
39
37
  model_config = ConfigDict(
40
38
  populate_by_name=True,
@@ -75,13 +73,6 @@ class ReflectRequest(BaseModel):
75
73
  exclude=excluded_fields,
76
74
  exclude_none=True,
77
75
  )
78
- # override the default output from pydantic by calling `to_dict()` of each item in filters (list)
79
- _items = []
80
- if self.filters:
81
- for _item_filters in self.filters:
82
- if _item_filters:
83
- _items.append(_item_filters.to_dict())
84
- _dict['filters'] = _items
85
76
  # override the default output from pydantic by calling `to_dict()` of include
86
77
  if self.include:
87
78
  _dict['include'] = self.include.to_dict()
@@ -90,11 +81,6 @@ class ReflectRequest(BaseModel):
90
81
  if self.context is None and "context" in self.model_fields_set:
91
82
  _dict['context'] = None
92
83
 
93
- # set to None if filters (nullable) is None
94
- # and model_fields_set contains the field
95
- if self.filters is None and "filters" in self.model_fields_set:
96
- _dict['filters'] = None
97
-
98
84
  return _dict
99
85
 
100
86
  @classmethod
@@ -110,7 +96,6 @@ class ReflectRequest(BaseModel):
110
96
  "query": obj.get("query"),
111
97
  "budget": obj.get("budget"),
112
98
  "context": obj.get("context"),
113
- "filters": [MetadataFilter.from_dict(_item) for _item in obj["filters"]] if obj.get("filters") is not None else None,
114
99
  "include": ReflectIncludeOptions.from_dict(obj["include"]) if obj.get("include") is not None else None
115
100
  })
116
101
  return _obj
@@ -36,7 +36,7 @@ class TestBackgroundResponse(unittest.TestCase):
36
36
  if include_optional:
37
37
  return BackgroundResponse(
38
38
  background = '',
39
- disposition = {agreeableness=0.7, bias_strength=0.7, conscientiousness=0.6, extraversion=0.5, neuroticism=0.3, openness=0.8}
39
+ disposition = {empathy=3, literalism=3, skepticism=3}
40
40
  )
41
41
  else:
42
42
  return BackgroundResponse(
@@ -37,7 +37,7 @@ class TestBankListItem(unittest.TestCase):
37
37
  return BankListItem(
38
38
  bank_id = '',
39
39
  name = '',
40
- disposition = {agreeableness=0.7, bias_strength=0.7, conscientiousness=0.6, extraversion=0.5, neuroticism=0.3, openness=0.8},
40
+ disposition = {empathy=3, literalism=3, skepticism=3},
41
41
  background = '',
42
42
  created_at = '',
43
43
  updated_at = ''
@@ -46,7 +46,7 @@ class TestBankListItem(unittest.TestCase):
46
46
  return BankListItem(
47
47
  bank_id = '',
48
48
  name = '',
49
- disposition = {agreeableness=0.7, bias_strength=0.7, conscientiousness=0.6, extraversion=0.5, neuroticism=0.3, openness=0.8},
49
+ disposition = {empathy=3, literalism=3, skepticism=3},
50
50
  background = '',
51
51
  )
52
52
  """
@@ -39,7 +39,7 @@ class TestBankListResponse(unittest.TestCase):
39
39
  hindsight_client_api.models.bank_list_item.BankListItem(
40
40
  bank_id = '',
41
41
  name = '',
42
- disposition = {agreeableness=0.7, bias_strength=0.7, conscientiousness=0.6, extraversion=0.5, neuroticism=0.3, openness=0.8},
42
+ disposition = {empathy=3, literalism=3, skepticism=3},
43
43
  background = '',
44
44
  created_at = '',
45
45
  updated_at = '', )
@@ -51,7 +51,7 @@ class TestBankListResponse(unittest.TestCase):
51
51
  hindsight_client_api.models.bank_list_item.BankListItem(
52
52
  bank_id = '',
53
53
  name = '',
54
- disposition = {agreeableness=0.7, bias_strength=0.7, conscientiousness=0.6, extraversion=0.5, neuroticism=0.3, openness=0.8},
54
+ disposition = {empathy=3, literalism=3, skepticism=3},
55
55
  background = '',
56
56
  created_at = '',
57
57
  updated_at = '', )
@@ -37,14 +37,14 @@ class TestBankProfileResponse(unittest.TestCase):
37
37
  return BankProfileResponse(
38
38
  bank_id = '',
39
39
  name = '',
40
- disposition = {agreeableness=0.7, bias_strength=0.7, conscientiousness=0.6, extraversion=0.5, neuroticism=0.3, openness=0.8},
40
+ disposition = {empathy=3, literalism=3, skepticism=3},
41
41
  background = ''
42
42
  )
43
43
  else:
44
44
  return BankProfileResponse(
45
45
  bank_id = '',
46
46
  name = '',
47
- disposition = {agreeableness=0.7, bias_strength=0.7, conscientiousness=0.6, extraversion=0.5, neuroticism=0.3, openness=0.8},
47
+ disposition = {empathy=3, literalism=3, skepticism=3},
48
48
  background = '',
49
49
  )
50
50
  """
@@ -36,7 +36,7 @@ class TestCreateBankRequest(unittest.TestCase):
36
36
  if include_optional:
37
37
  return CreateBankRequest(
38
38
  name = '',
39
- disposition = {agreeableness=0.7, bias_strength=0.7, conscientiousness=0.6, extraversion=0.5, neuroticism=0.3, openness=0.8},
39
+ disposition = {empathy=3, literalism=3, skepticism=3},
40
40
  background = ''
41
41
  )
42
42
  else:
@@ -35,21 +35,15 @@ class TestDispositionTraits(unittest.TestCase):
35
35
  model = DispositionTraits()
36
36
  if include_optional:
37
37
  return DispositionTraits(
38
- openness = 0.0,
39
- conscientiousness = 0.0,
40
- extraversion = 0.0,
41
- agreeableness = 0.0,
42
- neuroticism = 0.0,
43
- bias_strength = 0.0
38
+ skepticism = 1.0,
39
+ literalism = 1.0,
40
+ empathy = 1.0
44
41
  )
45
42
  else:
46
43
  return DispositionTraits(
47
- openness = 0.0,
48
- conscientiousness = 0.0,
49
- extraversion = 0.0,
50
- agreeableness = 0.0,
51
- neuroticism = 0.0,
52
- bias_strength = 0.0,
44
+ skepticism = 1.0,
45
+ literalism = 1.0,
46
+ empathy = 1.0,
53
47
  )
54
48
  """
55
49
 
@@ -43,9 +43,6 @@ class TestRecallRequest(unittest.TestCase):
43
43
  max_tokens = 56,
44
44
  trace = True,
45
45
  query_timestamp = '',
46
- filters = [
47
- {key=source, match_unset=true, value=slack}
48
- ],
49
46
  include = hindsight_client_api.models.include_options.IncludeOptions(
50
47
  entities = hindsight_client_api.models.entity_include_options.EntityIncludeOptions(
51
48
  max_tokens = 56, ),
@@ -38,9 +38,6 @@ class TestReflectRequest(unittest.TestCase):
38
38
  query = '',
39
39
  budget = 'low',
40
40
  context = '',
41
- filters = [
42
- {key=source, match_unset=true, value=slack}
43
- ],
44
41
  include = hindsight_client_api.models.reflect_include_options.ReflectIncludeOptions(
45
42
  facts = hindsight_client_api.models.facts_include_options.FactsIncludeOptions(), )
46
43
  )
@@ -35,11 +35,11 @@ class TestUpdateDispositionRequest(unittest.TestCase):
35
35
  model = UpdateDispositionRequest()
36
36
  if include_optional:
37
37
  return UpdateDispositionRequest(
38
- disposition = {agreeableness=0.7, bias_strength=0.7, conscientiousness=0.6, extraversion=0.5, neuroticism=0.3, openness=0.8}
38
+ disposition = {empathy=3, literalism=3, skepticism=3}
39
39
  )
40
40
  else:
41
41
  return UpdateDispositionRequest(
42
- disposition = {agreeableness=0.7, bias_strength=0.7, conscientiousness=0.6, extraversion=0.5, neuroticism=0.3, openness=0.8},
42
+ disposition = {empathy=3, literalism=3, skepticism=3},
43
43
  )
44
44
  """
45
45
 
@@ -1,32 +0,0 @@
1
- # MetadataFilter
2
-
3
- Filter for metadata fields. Matches records where (key=value) OR (key not set) when match_unset=True.
4
-
5
- ## Properties
6
-
7
- Name | Type | Description | Notes
8
- ------------ | ------------- | ------------- | -------------
9
- **key** | **str** | Metadata key to filter on |
10
- **value** | **str** | | [optional]
11
- **match_unset** | **bool** | If True, also match records where this metadata key is not set | [optional] [default to True]
12
-
13
- ## Example
14
-
15
- ```python
16
- from hindsight_client_api.models.metadata_filter import MetadataFilter
17
-
18
- # TODO update the JSON string below
19
- json = "{}"
20
- # create an instance of MetadataFilter from a JSON string
21
- metadata_filter_instance = MetadataFilter.from_json(json)
22
- # print the JSON string representation of the object
23
- print(MetadataFilter.to_json())
24
-
25
- # convert the object into a dict
26
- metadata_filter_dict = metadata_filter_instance.to_dict()
27
- # create an instance of MetadataFilter from a dict
28
- metadata_filter_from_dict = MetadataFilter.from_dict(metadata_filter_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,96 +0,0 @@
1
- # coding: utf-8
2
-
3
- """
4
- Hindsight HTTP API
5
-
6
- HTTP API for Hindsight
7
-
8
- The version of the OpenAPI document: 1.0.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, StrictBool, 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 MetadataFilter(BaseModel):
26
- """
27
- Filter for metadata fields. Matches records where (key=value) OR (key not set) when match_unset=True.
28
- """ # noqa: E501
29
- key: StrictStr = Field(description="Metadata key to filter on")
30
- value: Optional[StrictStr] = None
31
- match_unset: Optional[StrictBool] = Field(default=True, description="If True, also match records where this metadata key is not set")
32
- __properties: ClassVar[List[str]] = ["key", "value", "match_unset"]
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 MetadataFilter 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
- # set to None if value (nullable) is None
74
- # and model_fields_set contains the field
75
- if self.value is None and "value" in self.model_fields_set:
76
- _dict['value'] = None
77
-
78
- return _dict
79
-
80
- @classmethod
81
- def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
82
- """Create an instance of MetadataFilter from a dict"""
83
- if obj is None:
84
- return None
85
-
86
- if not isinstance(obj, dict):
87
- return cls.model_validate(obj)
88
-
89
- _obj = cls.model_validate({
90
- "key": obj.get("key"),
91
- "value": obj.get("value"),
92
- "match_unset": obj.get("match_unset") if obj.get("match_unset") is not None else True
93
- })
94
- return _obj
95
-
96
-
@@ -1,54 +0,0 @@
1
- # coding: utf-8
2
-
3
- """
4
- Hindsight HTTP API
5
-
6
- HTTP API for Hindsight
7
-
8
- The version of the OpenAPI document: 1.0.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
10
-
11
- Do not edit the class manually.
12
- """ # noqa: E501
13
-
14
-
15
- import unittest
16
-
17
- from hindsight_client_api.models.metadata_filter import MetadataFilter
18
-
19
- class TestMetadataFilter(unittest.TestCase):
20
- """MetadataFilter unit test stubs"""
21
-
22
- def setUp(self):
23
- pass
24
-
25
- def tearDown(self):
26
- pass
27
-
28
- def make_instance(self, include_optional) -> MetadataFilter:
29
- """Test MetadataFilter
30
- include_optional is a boolean, when False only required
31
- params are included, when True both required and
32
- optional params are included """
33
- # uncomment below to create an instance of `MetadataFilter`
34
- """
35
- model = MetadataFilter()
36
- if include_optional:
37
- return MetadataFilter(
38
- key = '',
39
- value = '',
40
- match_unset = True
41
- )
42
- else:
43
- return MetadataFilter(
44
- key = '',
45
- )
46
- """
47
-
48
- def testMetadataFilter(self):
49
- """Test MetadataFilter"""
50
- # inst_req_only = self.make_instance(include_optional=False)
51
- # inst_req_and_optional = self.make_instance(include_optional=True)
52
-
53
- if __name__ == '__main__':
54
- unittest.main()