hindsight-api 0.4.0__py3-none-any.whl → 0.4.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- hindsight_api/__init__.py +1 -1
- hindsight_api/api/http.py +3 -2
- hindsight_api/config.py +114 -1
- hindsight_api/daemon.py +4 -1
- hindsight_api/engine/consolidation/consolidator.py +145 -49
- hindsight_api/engine/consolidation/prompts.py +21 -13
- hindsight_api/engine/cross_encoder.py +43 -109
- hindsight_api/engine/embeddings.py +35 -99
- hindsight_api/engine/memory_engine.py +11 -5
- hindsight_api/engine/reflect/tools.py +1 -1
- hindsight_api/engine/retain/fact_extraction.py +16 -0
- hindsight_api/extensions/builtin/tenant.py +8 -5
- hindsight_api/main.py +26 -2
- {hindsight_api-0.4.0.dist-info → hindsight_api-0.4.2.dist-info}/METADATA +1 -1
- {hindsight_api-0.4.0.dist-info → hindsight_api-0.4.2.dist-info}/RECORD +17 -17
- {hindsight_api-0.4.0.dist-info → hindsight_api-0.4.2.dist-info}/WHEEL +0 -0
- {hindsight_api-0.4.0.dist-info → hindsight_api-0.4.2.dist-info}/entry_points.txt +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
hindsight_api/__init__.py,sha256=
|
|
1
|
+
hindsight_api/__init__.py,sha256=SkMHa_uH21mNyfFm0-90uFJhMK45y1dJtD54LbxbXGU,1197
|
|
2
2
|
hindsight_api/banner.py,sha256=BXn-jhkXe4xi-YV4JeuaVvjYhTMs96O43XoOMv4Cd28,4591
|
|
3
|
-
hindsight_api/config.py,sha256=
|
|
4
|
-
hindsight_api/daemon.py,sha256=
|
|
5
|
-
hindsight_api/main.py,sha256=
|
|
3
|
+
hindsight_api/config.py,sha256=rD-00bhB0k9wz4q7TKTVd9bEuqFmzNQ_PpUtZ9Gn94Q,31526
|
|
4
|
+
hindsight_api/daemon.py,sha256=yqMtalX0tlNz7KUpMjsRpC0r8T0WwHGvVKPxuO_Ye40,6111
|
|
5
|
+
hindsight_api/main.py,sha256=aqMjsUVbB3D910kkgMPnAIt8HOTDNb9CPdNdrl1-yIc,15074
|
|
6
6
|
hindsight_api/mcp_local.py,sha256=fJnCxMBc79GlBZrma94Ux6g-GVuh-W66194cqQdkKJQ,5613
|
|
7
7
|
hindsight_api/mcp_tools.py,sha256=KGzgDeRoChwgt3HB-OoUHcWgHz6ELequLIkw6u7kkyo,19669
|
|
8
8
|
hindsight_api/metrics.py,sha256=go3X7wyFAPkc55HFvu7esiaJXDrUsrSrC8Pq5NjcqU0,20692
|
|
@@ -39,24 +39,24 @@ hindsight_api/alembic/versions/t5o6p7q8r9s0_rename_mental_models_to_observations
|
|
|
39
39
|
hindsight_api/alembic/versions/u6p7q8r9s0t1_mental_models_text_id.py,sha256=uvil81f-4ag2dIxBXUGKZ5vxkqdNQRpxCWj_iVih09w,1355
|
|
40
40
|
hindsight_api/alembic/versions/v7q8r9s0t1u2_add_max_tokens_to_mental_models.py,sha256=Mw68uW8PK-SaHcYcqb41vWI0R22t70SSasNS2Myeoec,1656
|
|
41
41
|
hindsight_api/api/__init__.py,sha256=npF0AAy8WJhHF5a9ehkNn9_iYLk7RQOk2gdkdFb49Hk,3840
|
|
42
|
-
hindsight_api/api/http.py,sha256=
|
|
42
|
+
hindsight_api/api/http.py,sha256=5YFLGWDILApMf4lLxpc72S9EtnOIOvuu8c3K124THPc,133363
|
|
43
43
|
hindsight_api/api/mcp.py,sha256=zV0TmkxKEqwhLIfNAdezYgsZ1PF9Lo8j5_lD73ULpKU,6707
|
|
44
44
|
hindsight_api/engine/__init__.py,sha256=-BwaSwG9fTT_BBO0c_2MBkxG6-tGdclSzIqsgHw4cnw,1633
|
|
45
|
-
hindsight_api/engine/cross_encoder.py,sha256=
|
|
45
|
+
hindsight_api/engine/cross_encoder.py,sha256=ecfpFB5zxDxQD6rqVzVE6L3XWb69pcvHKJCFVSFc94c,32365
|
|
46
46
|
hindsight_api/engine/db_budget.py,sha256=1OmZiuszpuEaYz355QlOqwaupXPd9FrnbyENsFboBkg,8642
|
|
47
47
|
hindsight_api/engine/db_utils.py,sha256=Fq1pXETt8ZPhkWYjrcGbgL6glrwmCGWh3_lYJgHqQPo,3067
|
|
48
|
-
hindsight_api/engine/embeddings.py,sha256=
|
|
48
|
+
hindsight_api/engine/embeddings.py,sha256=SjX00-D-8PzsmgJaq17mtxkNqXt0q-UVl7JYKnXv2Es,27012
|
|
49
49
|
hindsight_api/engine/entity_resolver.py,sha256=qVvWJHnbGEfh0iUFtc1dbM3IUNwPMsQsmg2rMgiX2DY,23794
|
|
50
50
|
hindsight_api/engine/interface.py,sha256=rldxkBmp_bqEeTBD713uZeXvrqJB9Ix1L62gazlNEi0,16899
|
|
51
51
|
hindsight_api/engine/llm_wrapper.py,sha256=Mh38zSlNGhsbN0f2VA1JGZ52HRab_ndcKqvEhyajgK0,68084
|
|
52
|
-
hindsight_api/engine/memory_engine.py,sha256=
|
|
52
|
+
hindsight_api/engine/memory_engine.py,sha256=lYWrQYzHib0UPiGNFxe_5QXxkJv14DjiG93SZ1sHo7c,231906
|
|
53
53
|
hindsight_api/engine/query_analyzer.py,sha256=7APe0MjBcUxjivcMlM03PmMk_w5FjWvlEe20yAJlHlc,19741
|
|
54
54
|
hindsight_api/engine/response_models.py,sha256=1fNAFPztlmYfOaoRfwYyrhzdPBO9UL8QHFNXW6Lmjgg,16322
|
|
55
55
|
hindsight_api/engine/task_backend.py,sha256=zDH24tTwIH_59eFpQzepv0KkZXOIVMpmDkrg1Y5khDA,8172
|
|
56
56
|
hindsight_api/engine/utils.py,sha256=OtEFDViKcCpFmKN3Qir8YV4zp0kv7iaREcgDXCkwShw,2089
|
|
57
57
|
hindsight_api/engine/consolidation/__init__.py,sha256=qEUPy0R7akNoAooQL1TAt2rVasjvnXTcNzh2zpN0flc,160
|
|
58
|
-
hindsight_api/engine/consolidation/consolidator.py,sha256=
|
|
59
|
-
hindsight_api/engine/consolidation/prompts.py,sha256=
|
|
58
|
+
hindsight_api/engine/consolidation/consolidator.py,sha256=c8dHmGGG2XhHYXjXGpSn_dBs_8IwdvZnQx9EWMwzxdc,34471
|
|
59
|
+
hindsight_api/engine/consolidation/prompts.py,sha256=UgJJvXeG7bH0h-N0AWlUsmWoYxfJY2gIP_3f9xjCvSc,3422
|
|
60
60
|
hindsight_api/engine/directives/__init__.py,sha256=5ZxaRqZVyJckbGElaI2DMRMBtnj-qYkxRKdnOHBwovA,118
|
|
61
61
|
hindsight_api/engine/directives/models.py,sha256=PKxvmhW1-fjBITAOBu7RKX5Lj61c2jdsTaX8ADelKag,1523
|
|
62
62
|
hindsight_api/engine/mental_models/__init__.py,sha256=TU6dSPyIsevFDgY6PLYctDsk5K4SA4pFSQnmQvbdRlA,488
|
|
@@ -66,7 +66,7 @@ hindsight_api/engine/reflect/agent.py,sha256=mr0rUrwdnDISt9iyuspI_ZhL4qfyLTWAzJO
|
|
|
66
66
|
hindsight_api/engine/reflect/models.py,sha256=ZnMCi4sta5bSVGRRNatTA2jNSun59mWEVVq6Dkmjq1Q,5185
|
|
67
67
|
hindsight_api/engine/reflect/observations.py,sha256=TMivY5ujrJAOhG3OFFTGEuwbW27AOjyD5l0JlDfbyJM,6777
|
|
68
68
|
hindsight_api/engine/reflect/prompts.py,sha256=AewEMBJ_fk0pAVtWQagPMY_0lR9mHNJQ7kF4I5ruWmg,18442
|
|
69
|
-
hindsight_api/engine/reflect/tools.py,sha256=
|
|
69
|
+
hindsight_api/engine/reflect/tools.py,sha256=tD5l3ODhtQ3bcD5dvbsRipWz902H7tz4M_TDEZhpazU,14550
|
|
70
70
|
hindsight_api/engine/reflect/tools_schema.py,sha256=cdRmRwge5aHlVY19Y0Tlp5zEcFCnvxUc2GAXmwaNcMU,9944
|
|
71
71
|
hindsight_api/engine/retain/__init__.py,sha256=t6q3-_kf4iYTl9j2PVB6laqMSs6UuPeXBSYMW6HT1sA,1152
|
|
72
72
|
hindsight_api/engine/retain/bank_utils.py,sha256=LsFiB5rqyI1deL4rePAmPdmxMBb4paDA8UqMvY2Y40g,7696
|
|
@@ -75,7 +75,7 @@ hindsight_api/engine/retain/deduplication.py,sha256=kqs7I7eIc_ppvgAF9GlzL6fSGuEE
|
|
|
75
75
|
hindsight_api/engine/retain/embedding_processing.py,sha256=R35oyKYIKjuqC-yZl5Ru56F8xRe0N6KW_9p5PZ9CBi0,1649
|
|
76
76
|
hindsight_api/engine/retain/embedding_utils.py,sha256=uulXIBiA7XNsj16K1VGawR3s5jV-hsAmvmoCi-IodpU,1565
|
|
77
77
|
hindsight_api/engine/retain/entity_processing.py,sha256=0x5b48Im7pWjeqg3xTMIRVhrzd4otc4rSkFBjxgOL9Y,3632
|
|
78
|
-
hindsight_api/engine/retain/fact_extraction.py,sha256=
|
|
78
|
+
hindsight_api/engine/retain/fact_extraction.py,sha256=NuuKC0GrCoSjDx0J5p2ejw0UQKXke9io-_kBLoclOac,63943
|
|
79
79
|
hindsight_api/engine/retain/fact_storage.py,sha256=PUdMfNWaGuDA-DodeT3hs8ft81ldzXZedCMXys-sFf4,6690
|
|
80
80
|
hindsight_api/engine/retain/link_creation.py,sha256=KP2kGU2VCymJptgw0hjaSdsjvncBgNp3P_A4OB_qx-w,3082
|
|
81
81
|
hindsight_api/engine/retain/link_utils.py,sha256=eKa9Ecf7Mpqjl4laAEtRilQgu4fbsGWAjg98kdMDsDc,33078
|
|
@@ -102,11 +102,11 @@ hindsight_api/extensions/loader.py,sha256=UwGM0XH7zHGng_xfHUY0VbOQemj9DmjuDaMst1
|
|
|
102
102
|
hindsight_api/extensions/operation_validator.py,sha256=ciXvTtlX4c5VcLze5cVbuaD6B-10IxnfgnNhbY8LGLc,13360
|
|
103
103
|
hindsight_api/extensions/tenant.py,sha256=0LraksQ1gzsOYLEGrx2q2F0or596Ywfo_MqD1FJMNRM,2617
|
|
104
104
|
hindsight_api/extensions/builtin/__init__.py,sha256=hLx2oFYZ1JtZhTWfab6AYcR02SWP2gIdbEqnZezT8ek,526
|
|
105
|
-
hindsight_api/extensions/builtin/tenant.py,sha256=
|
|
105
|
+
hindsight_api/extensions/builtin/tenant.py,sha256=R7jfNR41deGWqQB5P8Qk5njy1bZgvemcTpkXDRiAZBA,1835
|
|
106
106
|
hindsight_api/worker/__init__.py,sha256=hzpMLvOfgL2KKrrik_9ouvEzCdvJSrH-pj5UdFK63J0,256
|
|
107
107
|
hindsight_api/worker/main.py,sha256=1OrQdHL-6u-311W0XMAoLHOXCu8MOETiQkR0TQ23qh8,9547
|
|
108
108
|
hindsight_api/worker/poller.py,sha256=l-y8xpekKZ7zcGo83osOsbFd_tBi49LqrAJsN-mxiMY,19306
|
|
109
|
-
hindsight_api-0.4.
|
|
110
|
-
hindsight_api-0.4.
|
|
111
|
-
hindsight_api-0.4.
|
|
112
|
-
hindsight_api-0.4.
|
|
109
|
+
hindsight_api-0.4.2.dist-info/METADATA,sha256=FNkrW-Qzm3SeAeKVkhV2UAR6yEz6OI0drI7M-aKm_g8,5760
|
|
110
|
+
hindsight_api-0.4.2.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
111
|
+
hindsight_api-0.4.2.dist-info/entry_points.txt,sha256=1-mxPbRGL_Byf9ZrHYkPW-TEgLYFcwCiSFCxOgI_3vM,206
|
|
112
|
+
hindsight_api-0.4.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|