Repository navigation
docs(recall): correct the default salience/recency weights (#1408) - #1409
Merged
Merged
Conversation
The default weight is 0.1 in the CLI and in uteke-serve; the configured [recall] weight (0.15) only applies with an explicit --salience/--recency. Also notes that scores drift up as a memory is recalled. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
🔍 Cora AI Code Review✅ No issues found. Code looks good! Review powered by cora-code · BYOK · MIT |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Fixes the statement added in #1406 that the CLI weights default to 0.15 and the server to 0.1. The default is 0.1 in both; the configured
[recall]weight (default 0.15) is used only when--salience/--recencyare passed explicitly. Corrects the two flag rows for the same reason and adds a note that scores drift up slightly as a memory is recalled.Why
Closes #1408. My claim was wrong:
crates/uteke-cli/src/commands/recall.rsfalls back to the engine default (0.1) when the flag is absent, and measuring the same store through the CLI and through the server gave the same 0.1 recency boost.Testing
--explainrecalls gavesalience_boost0.025, 0.02676, 0.02977, which is the drift the new note quotes.recall.rs; I did not test--saliencewith a non-default configured weight.🤖 Generated with Claude Code