add response text to memory.