GeniffyDocs
Log In Get a key

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)

answer is the answer, from this memory only. memories are the memories it rests on, best first.

Last updated October 5, 2026