Coram AI interview question

How would you implement this full-stack feature?