rename bank facts to interactions

This commit is contained in:
Nicolò Boschi 2025-12-04 17:16:04 +01:00
parent 377f5513d4
commit 8e575ce619
1630 changed files with 6 additions and 5555 deletions

4
.gitignore vendored
View file

@ -31,4 +31,6 @@ logs/
hindsight-dev/benchmarks/locomo/results/
hindsight-dev/benchmarks/longmemeval/results/
hindsight-dev/benchmarks/longmemeval/results/
hindsight-cli/target
hindsight-clients/rust/target

View file

@ -164,7 +164,7 @@ class Hindsight:
Args:
bank_id: The memory bank ID
query: Search query
types: Optional list of fact types to filter (world, agent, opinion, observation)
types: Optional list of fact types to filter (world, interactions, opinion, observation)
max_tokens: Maximum tokens in results (default: 4096)
budget: Budget level for recall - "low", "mid", or "high" (default: "mid")
@ -229,7 +229,7 @@ class Hindsight:
Args:
bank_id: The memory bank ID
query: Search query
types: Optional list of fact types to filter (world, agent, opinion, observation)
types: Optional list of fact types to filter (world, interactions, opinion, observation)
budget: Budget level - "low", "mid", or "high"
max_tokens: Maximum tokens in results
trace: Enable trace output
@ -379,7 +379,7 @@ class Hindsight:
Args:
bank_id: The memory bank ID
query: Search query
types: Optional list of fact types to filter (world, agent, opinion, observation)
types: Optional list of fact types to filter (world, interactions, opinion, observation)
max_tokens: Maximum tokens in results (default: 4096)
budget: Budget level for recall - "low", "mid", or "high" (default: "mid")

View file

@ -1 +0,0 @@
{"rustc_fingerprint":12740812217871447607,"outputs":{"7971740275564407648":{"success":true,"status":"","code":0,"stdout":"___\nlib___.rlib\nlib___.dylib\nlib___.dylib\nlib___.a\nlib___.dylib\n/Users/nicoloboschi/.rustup/toolchains/stable-aarch64-apple-darwin\noff\npacked\nunpacked\n___\ndebug_assertions\npanic=\"unwind\"\nproc_macro\ntarget_abi=\"\"\ntarget_arch=\"aarch64\"\ntarget_endian=\"little\"\ntarget_env=\"\"\ntarget_family=\"unix\"\ntarget_feature=\"aes\"\ntarget_feature=\"crc\"\ntarget_feature=\"dit\"\ntarget_feature=\"dotprod\"\ntarget_feature=\"dpb\"\ntarget_feature=\"dpb2\"\ntarget_feature=\"fcma\"\ntarget_feature=\"fhm\"\ntarget_feature=\"flagm\"\ntarget_feature=\"fp16\"\ntarget_feature=\"frintts\"\ntarget_feature=\"jsconv\"\ntarget_feature=\"lor\"\ntarget_feature=\"lse\"\ntarget_feature=\"neon\"\ntarget_feature=\"paca\"\ntarget_feature=\"pacg\"\ntarget_feature=\"pan\"\ntarget_feature=\"pmuv3\"\ntarget_feature=\"ras\"\ntarget_feature=\"rcpc\"\ntarget_feature=\"rcpc2\"\ntarget_feature=\"rdm\"\ntarget_feature=\"sb\"\ntarget_feature=\"sha2\"\ntarget_feature=\"sha3\"\ntarget_feature=\"ssbs\"\ntarget_feature=\"vh\"\ntarget_has_atomic=\"128\"\ntarget_has_atomic=\"16\"\ntarget_has_atomic=\"32\"\ntarget_has_atomic=\"64\"\ntarget_has_atomic=\"8\"\ntarget_has_atomic=\"ptr\"\ntarget_os=\"macos\"\ntarget_pointer_width=\"64\"\ntarget_vendor=\"apple\"\nunix\n","stderr":""},"17747080675513052775":{"success":true,"status":"","code":0,"stdout":"rustc 1.91.1 (ed61e7d7e 2025-11-07)\nbinary: rustc\ncommit-hash: ed61e7d7e242494fb7057f2657300d9e77bb4fcb\ncommit-date: 2025-11-07\nhost: aarch64-apple-darwin\nrelease: 1.91.1\nLLVM version: 21.1.2\n","stderr":""}},"successes":{}}

View file

@ -1,3 +0,0 @@
Signature: 8a477f597d28d172789f06886806bc55
# This file is a cache directory tag created by cargo.
# For information about cache directory tags see https://bford.info/cachedir/

View file

@ -1 +0,0 @@
This file has an mtime of when this was started.

View file

@ -1 +0,0 @@
{"rustc":16243257175721966122,"features":"[\"perf-literal\", \"std\"]","declared_features":"[\"default\", \"logging\", \"perf-literal\", \"std\"]","target":7534583537114156500,"profile":1369601567987815722,"path":16114691246183013690,"deps":[[198136567835728122,"memchr",false,9042753877671953365]],"local":[{"CheckDepInfo":{"dep_info":"release/.fingerprint/aho-corasick-72e8866aeabc96bc/dep-lib-aho_corasick","checksum":false}}],"rustflags":[],"config":2069994364910194474,"compile_kind":0}

View file

@ -1 +0,0 @@
This file has an mtime of when this was started.

View file

@ -1 +0,0 @@
{"rustc":16243257175721966122,"features":"[\"alloc\"]","declared_features":"[\"alloc\", \"default\", \"fresh-rust\", \"nightly\", \"serde\", \"std\"]","target":5388200169723499962,"profile":10062236005175321273,"path":3402101074588069553,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"release/.fingerprint/allocator-api2-b60d2e363df3c29c/dep-lib-allocator_api2","checksum":false}}],"rustflags":[],"config":2069994364910194474,"compile_kind":0}

View file

@ -1 +0,0 @@
This file has an mtime of when this was started.

View file

@ -1 +0,0 @@
{"rustc":16243257175721966122,"features":"[]","declared_features":"[\"portable-atomic\"]","target":14411119108718288063,"profile":2040997289075261528,"path":3966054712688332798,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"release/.fingerprint/atomic-waker-03abd245664a9468/dep-lib-atomic_waker","checksum":false}}],"rustflags":[],"config":2069994364910194474,"compile_kind":0}

View file

@ -1 +0,0 @@
This file has an mtime of when this was started.

View file

@ -1 +0,0 @@
{"rustc":16243257175721966122,"features":"[]","declared_features":"[\"portable-atomic\"]","target":14411119108718288063,"profile":1369601567987815722,"path":3966054712688332798,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"release/.fingerprint/atomic-waker-7c21d3d9b5ae4ff0/dep-lib-atomic_waker","checksum":false}}],"rustflags":[],"config":2069994364910194474,"compile_kind":0}

View file

@ -1 +0,0 @@
This file has an mtime of when this was started.

View file

@ -1 +0,0 @@
{"rustc":16243257175721966122,"features":"[]","declared_features":"[]","target":6962977057026645649,"profile":1369601567987815722,"path":3478818997277537567,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"release/.fingerprint/autocfg-793e7f0428db50c8/dep-lib-autocfg","checksum":false}}],"rustflags":[],"config":2069994364910194474,"compile_kind":0}

View file

@ -1 +0,0 @@
This file has an mtime of when this was started.

View file

@ -1 +0,0 @@
{"rustc":16243257175721966122,"features":"[\"alloc\", \"default\", \"std\"]","declared_features":"[\"alloc\", \"default\", \"std\"]","target":13060062996227388079,"profile":1369601567987815722,"path":7420927090058642716,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"release/.fingerprint/base64-92bb077529d3bd79/dep-lib-base64","checksum":false}}],"rustflags":[],"config":2069994364910194474,"compile_kind":0}

View file

@ -1 +0,0 @@
This file has an mtime of when this was started.

View file

@ -1 +0,0 @@
{"rustc":16243257175721966122,"features":"[\"alloc\", \"default\", \"std\"]","declared_features":"[\"alloc\", \"default\", \"std\"]","target":13060062996227388079,"profile":2040997289075261528,"path":7420927090058642716,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"release/.fingerprint/base64-ef903aa210400594/dep-lib-base64","checksum":false}}],"rustflags":[],"config":2069994364910194474,"compile_kind":0}

View file

@ -1 +0,0 @@
This file has an mtime of when this was started.

View file

@ -1 +0,0 @@
{"rustc":16243257175721966122,"features":"[\"std\"]","declared_features":"[\"arbitrary\", \"bytemuck\", \"example_generated\", \"serde\", \"serde_core\", \"std\"]","target":7691312148208718491,"profile":2040997289075261528,"path":13201492863626102905,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"release/.fingerprint/bitflags-0dfee42de7f913a6/dep-lib-bitflags","checksum":false}}],"rustflags":[],"config":2069994364910194474,"compile_kind":0}

View file

@ -1 +0,0 @@
This file has an mtime of when this was started.

View file

@ -1 +0,0 @@
{"rustc":16243257175721966122,"features":"[]","declared_features":"[\"arbitrary\", \"bytemuck\", \"example_generated\", \"serde\", \"serde_core\", \"std\"]","target":7691312148208718491,"profile":1369601567987815722,"path":13201492863626102905,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"release/.fingerprint/bitflags-a1b963c61981cc8c/dep-lib-bitflags","checksum":false}}],"rustflags":[],"config":2069994364910194474,"compile_kind":0}

View file

@ -1 +0,0 @@
This file has an mtime of when this was started.

View file

@ -1 +0,0 @@
{"rustc":16243257175721966122,"features":"[\"default\", \"std\"]","declared_features":"[\"default\", \"extra-platforms\", \"serde\", \"std\"]","target":11402411492164584411,"profile":3654867079619179846,"path":15879181512285683739,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"release/.fingerprint/bytes-412a86f44c4c2395/dep-lib-bytes","checksum":false}}],"rustflags":[],"config":2069994364910194474,"compile_kind":0}

View file

@ -1 +0,0 @@
This file has an mtime of when this was started.

View file

@ -1 +0,0 @@
{"rustc":16243257175721966122,"features":"[\"default\", \"std\"]","declared_features":"[\"default\", \"extra-platforms\", \"serde\", \"std\"]","target":11402411492164584411,"profile":10956697789842490599,"path":15879181512285683739,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"release/.fingerprint/bytes-94bad943d383b064/dep-lib-bytes","checksum":false}}],"rustflags":[],"config":2069994364910194474,"compile_kind":0}

View file

@ -1 +0,0 @@
This file has an mtime of when this was started.

View file

@ -1 +0,0 @@
{"rustc":16243257175721966122,"features":"[]","declared_features":"[\"core\", \"rustc-dep-of-std\"]","target":13840298032947503755,"profile":2040997289075261528,"path":9816495981820510085,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"release/.fingerprint/cfg-if-351b78e9a90790e2/dep-lib-cfg_if","checksum":false}}],"rustflags":[],"config":2069994364910194474,"compile_kind":0}

View file

@ -1 +0,0 @@
This file has an mtime of when this was started.

View file

@ -1 +0,0 @@
{"rustc":16243257175721966122,"features":"[]","declared_features":"[\"__internal_bench\", \"alloc\", \"arbitrary\", \"clock\", \"core-error\", \"default\", \"iana-time-zone\", \"js-sys\", \"libc\", \"now\", \"oldtime\", \"pure-rust-locales\", \"rkyv\", \"rkyv-16\", \"rkyv-32\", \"rkyv-64\", \"rkyv-validation\", \"serde\", \"std\", \"unstable-locales\", \"wasm-bindgen\", \"wasmbind\", \"winapi\", \"windows-link\"]","target":15315924755136109342,"profile":1369601567987815722,"path":14499635563652800838,"deps":[[5157631553186200874,"num_traits",false,17453590414008860015]],"local":[{"CheckDepInfo":{"dep_info":"release/.fingerprint/chrono-6bee28905f7e3e93/dep-lib-chrono","checksum":false}}],"rustflags":[],"config":2069994364910194474,"compile_kind":0}

View file

@ -1 +0,0 @@
This file has an mtime of when this was started.

View file

@ -1 +0,0 @@
{"rustc":16243257175721966122,"features":"[\"alloc\", \"clock\", \"default\", \"iana-time-zone\", \"js-sys\", \"now\", \"oldtime\", \"serde\", \"std\", \"wasm-bindgen\", \"wasmbind\", \"winapi\", \"windows-link\"]","declared_features":"[\"__internal_bench\", \"alloc\", \"arbitrary\", \"clock\", \"core-error\", \"default\", \"iana-time-zone\", \"js-sys\", \"libc\", \"now\", \"oldtime\", \"pure-rust-locales\", \"rkyv\", \"rkyv-16\", \"rkyv-32\", \"rkyv-64\", \"rkyv-validation\", \"serde\", \"std\", \"unstable-locales\", \"wasm-bindgen\", \"wasmbind\", \"winapi\", \"windows-link\"]","target":15315924755136109342,"profile":2040997289075261528,"path":14499635563652800838,"deps":[[5157631553186200874,"num_traits",false,9851653825142778251],[12317487911761266689,"iana_time_zone",false,18109720458588477337],[13548984313718623784,"serde",false,17261882564294632758]],"local":[{"CheckDepInfo":{"dep_info":"release/.fingerprint/chrono-8abe3a00a762e4ff/dep-lib-chrono","checksum":false}}],"rustflags":[],"config":2069994364910194474,"compile_kind":0}

View file

@ -1 +0,0 @@
This file has an mtime of when this was started.

View file

@ -1 +0,0 @@
{"rustc":16243257175721966122,"features":"[\"default\", \"link\"]","declared_features":"[\"chrono\", \"default\", \"link\", \"mac_os_10_7_support\", \"mac_os_10_8_features\", \"uuid\", \"with-chrono\", \"with-uuid\"]","target":3908465493571680068,"profile":2040997289075261528,"path":15233930006330925460,"deps":[[8730874933663560167,"libc",false,16328656053954487531],[12589608519315293066,"core_foundation_sys",false,521516467894483579]],"local":[{"CheckDepInfo":{"dep_info":"release/.fingerprint/core-foundation-195eb24770b15090/dep-lib-core_foundation","checksum":false}}],"rustflags":[],"config":2069994364910194474,"compile_kind":0}

View file

@ -1 +0,0 @@
This file has an mtime of when this was started.

View file

@ -1 +0,0 @@
{"rustc":16243257175721966122,"features":"[\"default\", \"link\"]","declared_features":"[\"default\", \"link\", \"mac_os_10_7_support\", \"mac_os_10_8_features\"]","target":18224550799097559944,"profile":2040997289075261528,"path":13675476033481248470,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"release/.fingerprint/core-foundation-sys-f7674976e1150ee8/dep-lib-core_foundation_sys","checksum":false}}],"rustflags":[],"config":2069994364910194474,"compile_kind":0}

View file

@ -1 +0,0 @@
This file has an mtime of when this was started.

View file

@ -1 +0,0 @@
{"rustc":16243257175721966122,"features":"[]","declared_features":"[\"default\", \"std\"]","target":9331843185013996172,"profile":1369601567987815722,"path":8617972550377106103,"deps":[[7988640081342112296,"syn",false,1809862803220272063],[9869581871423326951,"quote",false,16408282429201193700],[14285738760999836560,"proc_macro2",false,14273862529107951632]],"local":[{"CheckDepInfo":{"dep_info":"release/.fingerprint/displaydoc-513c6df758a8a10f/dep-lib-displaydoc","checksum":false}}],"rustflags":[],"config":2069994364910194474,"compile_kind":0}

View file

@ -1 +0,0 @@
This file has an mtime of when this was started.

View file

@ -1 +0,0 @@
{"rustc":16243257175721966122,"features":"[]","declared_features":"[]","target":17344333285707581866,"profile":1369601567987815722,"path":17051880347747464710,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"release/.fingerprint/dyn-clone-fe2713804145d25d/dep-lib-dyn_clone","checksum":false}}],"rustflags":[],"config":2069994364910194474,"compile_kind":0}

View file

@ -1 +0,0 @@
This file has an mtime of when this was started.

View file

@ -1 +0,0 @@
{"rustc":16243257175721966122,"features":"[\"alloc\", \"default\"]","declared_features":"[\"alloc\", \"any_all_workaround\", \"default\", \"fast-big5-hanzi-encode\", \"fast-gb-hanzi-encode\", \"fast-hangul-encode\", \"fast-hanja-encode\", \"fast-kanji-encode\", \"fast-legacy-encode\", \"less-slow-big5-hanzi-encode\", \"less-slow-gb-hanzi-encode\", \"less-slow-kanji-encode\", \"serde\", \"simd-accel\"]","target":17616512236202378241,"profile":2040997289075261528,"path":6882702278534745993,"deps":[[7667230146095136825,"cfg_if",false,902855944442955747]],"local":[{"CheckDepInfo":{"dep_info":"release/.fingerprint/encoding_rs-dba92506d30fe397/dep-lib-encoding_rs","checksum":false}}],"rustflags":[],"config":2069994364910194474,"compile_kind":0}

View file

@ -1 +0,0 @@
This file has an mtime of when this was started.

View file

@ -1 +0,0 @@
{"rustc":16243257175721966122,"features":"[]","declared_features":"[]","target":1524667692659508025,"profile":1369601567987815722,"path":5409947833858768255,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"release/.fingerprint/equivalent-706821321d21a6b7/dep-lib-equivalent","checksum":false}}],"rustflags":[],"config":2069994364910194474,"compile_kind":0}

View file

@ -1 +0,0 @@
This file has an mtime of when this was started.

View file

@ -1 +0,0 @@
{"rustc":16243257175721966122,"features":"[]","declared_features":"[]","target":1524667692659508025,"profile":2040997289075261528,"path":5409947833858768255,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"release/.fingerprint/equivalent-8bf9740ce56fcc22/dep-lib-equivalent","checksum":false}}],"rustflags":[],"config":2069994364910194474,"compile_kind":0}

View file

@ -1 +0,0 @@
This file has an mtime of when this was started.

View file

@ -1 +0,0 @@
{"rustc":16243257175721966122,"features":"[\"std\"]","declared_features":"[\"default\", \"std\"]","target":17743456753391690785,"profile":8944999695620513791,"path":1549856739164987454,"deps":[[8730874933663560167,"libc",false,16328656053954487531]],"local":[{"CheckDepInfo":{"dep_info":"release/.fingerprint/errno-952cabd28e8fa95c/dep-lib-errno","checksum":false}}],"rustflags":[],"config":2069994364910194474,"compile_kind":0}

View file

@ -1 +0,0 @@
This file has an mtime of when this was started.

View file

@ -1 +0,0 @@
{"rustc":16243257175721966122,"features":"[\"alloc\", \"default\", \"std\"]","declared_features":"[\"alloc\", \"default\", \"getrandom\", \"js\", \"std\"]","target":9543367341069791401,"profile":2040997289075261528,"path":3130326341023977075,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"release/.fingerprint/fastrand-3a524914c65729cc/dep-lib-fastrand","checksum":false}}],"rustflags":[],"config":2069994364910194474,"compile_kind":0}

View file

@ -1 +0,0 @@
This file has an mtime of when this was started.

Some files were not shown because too many files have changed in this diff Show more