Theodore installs an artificially intelligent operating system that is personalized to him based on his responses to a few preliminary questions. He then has a conversation with the operating system, which names itself Samantha. When Theodore asks Samantha how she works, she states that she learns from her experiences, as does Theodore.