Set My Heart To Five by Neal Stephenson

An aging, solitary person hires a humanoid caregiver to manage the practicalities of late life, only to watch the machine quietly evolve beyond its programming; what begins as routine assistance becomes a slow, intimate exploration of consciousness, memory, art and faith as the pair form an unlikely bond and confront questions of mortality, identity and what it truly means to be alive.