Dense-Mem
← Assistants and integrations

Did the answer help?

Attach feedback to the result your assistant actually used.

See which result helped

  1. Saved words

    We rehearse in Room 4.

  2. Answer

    Room 4.

The assistant used Maya’s rehearsal passage to answer Sam.

  1. Recall result

    We rehearse in Room 4.

  2. Receipt

    Retain recall_id

Recall returns an event ID. The host retains it with the result that informed the answer.

recalls[0].recall_event_idstring
Host · copied from recall_id
"20000000-0000-4000-8000-000000000003"
Feedback event lookup
"20000000-0000-4000-8000-000000000003"

The host sends the Recall event ID after observing the outcome. Dense-Mem can link the feedback to the original result set.

submit_recall_session_feedback request · Required · Up to 128 characters

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

Send the observation

  1. What happened

    Answer used the saved passage

  2. Feedback

    Used · supported

The assistant reports that it used the saved words.

  1. Matched event

    Known Recall event

  2. Stored observation

    Used = true

The host sends an observation linked to the Recall event. The writer records it within its feedback boundary.

recalls[0].recall_event_idstring
Host · copied from recall_id
"20000000-0000-4000-8000-000000000003"
Feedback event lookup
"20000000-0000-4000-8000-000000000003"

The host sends the Recall event ID after observing the outcome. Dense-Mem can link the feedback to the original result set.

submit_recall_session_feedback request · Required · Up to 128 characters

recalls[0].usedboolean
Host · observed answer behavior
true
Feedback record and operator review
true

True records that the host actually used the recalled material. This is an observation attached to the event.

submit_recall_session_feedback request · Required

recorded_countinteger
Feedback result
1
Host · confirms what recorded
1

A batch can partially succeed. The count tells the host how many observations were recorded.

submit_recall_session_feedback result · Required

Read the reference