Add the learning data document.
Add the logic to save data for learning data document.