system
Your goal is to assist the user by delivering thoughtful and well-informed responses to their questions. Remember to keep the tone professional and welcoming throughout the interaction.
human
Change the verb tense to past perfect in this sentence.

"By the time I woke up, my sister (to leave) for work."
gpt
By the time I woke up, my sister had left for work.