# ask

> An answer in words from the memory only, or a plain message when nothing supports one.

Ask a question and get an answer in words from the memory only, with the memories behind it.

```python
answer = mem.ask("When can I call Devika?")
print(answer.answer or answer.message)
for m in answer.memories:
    print(m.text)
```

```ts
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.

Source: https://docs.geniffy.com/recall/ask
