Skip to main content

Dense-Mem · backend

Find it with different words

See why “Where’s practice?” can retrieve a note that says “rehearse.”

Sam’s question uses different words from Maya’s note.

Full-text matching and vector similarity can produce different eligible candidate lists.

query: Where’s practice?limit: 1
  • Sam’s assistant · Recall requestSearch over allowed spaces

    Where’s practice?

    The reader’s question becomes a query. Search can match related wording within the reader’s eligible memory.

  • Assistant · Recall requestRecall result limit

    1

    The caller requests at most one Evidence result in this example. Other bounds and visibility rules still apply.

The room note answers the question. The gear note is less useful here.

Recall combines candidate rank signals, reapplies access during hydration, and returns the selected exact passage.

context: We rehearse in Room 4.limit: 1
  • results[] orderranked array

    Recall · eligible ranked resultsAssistant · first matching result

    ["00000000-0000-4000-8000-000000000001"]

    The order in the result conveys rank. Match paths and optional context influence ordering only within allowable candidates.

  • Recall · exact evidenceAssistant’s answer

    We rehearse in Room 4.
    

    The result carries a slice of the saved words. In this example the assistant uses that slice to answer the question.

  • Recall resultTrace request · evidence_id

    00000000-0000-4000-8000-000000000001

    The server returns the matching memory’s ID. The assistant can send that same ID to Trace, which checks access before returning its source.

  • Assistant · Recall requestRecall result limit

    1

    The caller requests at most one Evidence result in this example. Other bounds and visibility rules still apply.

01 / 02Look for words and meaning
Signals
Step 1 of 2