ask
Ask a question and get an answer in words from the memory only, with the memories behind it.
answer = mem.ask("When can I call Devika?")
print(answer.answer or answer.message)
for m in answer.memories:
print(m.text)const { answer, message, memories } = await mem.ask("When can I call Devika?");
console.log(answer ?? message);answer is the answer, from this memory only. memories are the memories it rests on, best first.
Last updated October 5, 2026