@mysten-incubation/memwal 0.1.8-dev.5 → 0.1.8-dev.6

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 (2) hide show
  1. package/README.md +5 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -52,11 +52,15 @@ await memwal.rememberAndWait(
52
52
  const memories = await memwal.recall({
53
53
  query: "What are the user's preferences?",
54
54
  topK: 10,
55
- maxDistance: 0.7,
55
+ maxDistance: 0.8,
56
56
  });
57
57
  await memwal.restore("demo");
58
58
  ```
59
59
 
60
+ `0.8` is a starting point for the distance cutoff. Calibrate `maxDistance`
61
+ against your own memories and query phrasing: lower values reduce noise, while
62
+ higher values preserve more relevant matches.
63
+
60
64
  If you are self-hosting the relayer and do not have an account ID yet, see [Self-Hosting](../../docs/relayer/self-hosting.md) for the account creation and delegate key setup flow.
61
65
 
62
66
  ## Offline tests and CI
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mysten-incubation/memwal",
3
- "version": "0.1.8-dev.5",
3
+ "version": "0.1.8-dev.6",
4
4
  "description": "Walrus Memory — Privacy-first AI memory SDK with Ed25519 delegate key auth",
5
5
  "type": "module",
6
6
  "engines": {