Dense-Mem
← Inside the backend

Find it with different words

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

Look for words and meaning

  1. Sam asks

    Where’s practice?

  2. Maya wrote

    We rehearse in Room 4.

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

  1. Query

    Where’s practice?

  2. Words

    Look for overlapping terms

  3. Meaning

    Look for a similar idea

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

querystring
Sam’s assistant · Recall request
"Where’s practice?"
Search over allowed spaces
"Where’s practice?"

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

recall_memory request · Optional · Up to 512 characters

limitinteger
Assistant · Recall request
1
Recall result limit
1

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

recall_memory request · Optional

Return the best match

  1. Best match

    We rehearse in Room 4.

  2. Another note

    Bring headphones.

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

  1. Eligible candidates

    Room and gear notes

  2. Ranked first

    We rehearse in Room 4.

  3. Outside this result limit

    Bring headphones.

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

results[] orderranked array
Recall · eligible ranked results
["00000000-0000-4000-8000-000000000001"]
Assistant · 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.

results[0].contextstring
Recall · exact evidence
"We rehearse in Room 4.\n"
Assistant’s answer
"We rehearse in Room 4.\n"

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

recall_memory result · Required · Up to 16384 characters

results[0].evidence_idUUID
Recall result
"00000000-0000-4000-8000-000000000001"
Trace 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.

recall_memory result · Required · Up to 128 characters

limitinteger
Assistant · Recall request
1
Recall result limit
1

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

recall_memory request · Optional

Read the reference