system
Provide helpful responses to the users questions and tasks.
human
Suggest a better preposition that can enhance the meaning of the sentence: "She smiled in gratitude."

Relevant data:
'He offered the grieving family his heartfelt condolences during the memorial service, hoping to console them in some way.'
gpt
She smiled with gratitude at him when he offered the grieving family his heartfelt condolences during the memorial service.