Skip to content

recall: end the reply with what to try when the hits miss - #245

Merged
dacorvo merged 1 commit into
mainfrom
recall-miss-hint
Oct 15, 2026
Merged

dacorvo merged 1 commit into
mainfrom
recall-miss-hint

Conversation

@dacorvo

@dacorvo dacorvo commented Oct 15, 2026 •

Copy link
Copy Markdown
Collaborator

After a miss, agents typically:

  • rephrase,
  • raise k (number of candidates),
  • follow get lines to get the turns surrounding a hit,
  • or read whole sessions.

Nothing in the reply says which pays, but we measured all four strategies on the 116 misses of the 244-question recall benchmark (huggingface/funes-memory in funes-recall-benchmark), as answers found and tokens per follow-up:

  • rephrase in the hits' words, k=8: 51 found, ~3.5k tokens
  • raise k to 16: 37 found, ~6.6k tokens (the first 8 come back)
  • follow all 8 get lines: 8 found, ~30k tokens
  • get the session most hits come from: 40 found, ~180k tokens

So the reply now closes with one line: rephrase first, then raise --k, and a get line only reads around its own hit. "no results" keeps its first line and adds the advice to rephrase. ask's prompt is unchanged, since it renders the bare hits for an agent with no tools.

After a miss, agents rephrase, raise k, follow get lines or read whole
sessions, and nothing in the reply says which pays. Measured on the 116
misses of the 244-question recall benchmark (huggingface/funes-memory at
347686a), as answers found and tokens per follow-up:

- rephrase in the hits' words, k=8: 51 found, ~3.5k tokens
- raise k to 16: 37 found, ~6.6k tokens (the first 8 come back)
- follow all 8 get lines: 8 found, ~30k tokens
- get the session most hits come from: 40 found, ~180k tokens

So the reply now closes with one line: rephrase first, then raise --k,
and a get line only reads around its own hit. "no results" keeps its
first line and adds the advice to rephrase. ask's prompt is unchanged,
since it renders the bare hits for an agent with no tools.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dacorvo dacorvo changed the title feat(recall): end the reply with what to try when the hits miss recall: end the reply with what to try when the hits miss Oct 15, 2026
@dacorvo
dacorvo merged commit c45a41f into main Oct 15, 2026
12 checks passed
@dacorvo
dacorvo deleted the recall-miss-hint branch October 15, 2026 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant